/* ════════════════════════════════════════════════════
   UNCLAIMED v6 — Production CSS
   Light mode removed. Dark is the brand.
   ════════════════════════════════════════════════════ */

:root {
  --bg:        #060606;
  --fg:        #ece9e3;
  /* FIX: raised from 0.5/0.24 — previous values created muddy gray-on-black */
  --fg-dim:    rgba(236,233,227,0.62);
  --fg-muted:  rgba(236,233,227,0.38);
  --fg-ghost:  rgba(236,233,227,0.07);
  --border:    rgba(236,233,227,0.09);
  --border-md: rgba(236,233,227,0.22);

  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'Space Grotesk', 'Helvetica Neue', sans-serif;
  --gothic: 'Cinzel Decorative', 'Palatino Linotype', serif;

  --ease:        cubic-bezier(0.16, 1, 0.3, 1);
  --ease-hard:   cubic-bezier(0.76, 0, 0.24, 1);
  --ease-in:     cubic-bezier(0.55, 0, 1, 0.45);
  /* Spring ease — for interactive elements that need physicality */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --pad-x:     clamp(20px, 5vw, 80px);
  --section-y: clamp(64px, 10vw, 140px);
  --nav-h:     clamp(56px, 8vw, 72px);

  --t-xs:  clamp(0.52rem,  0.85vw,  0.62rem);
  --t-sm:  clamp(0.7rem,   1.1vw,   0.82rem);
  --t-md:  clamp(0.9rem,   1.5vw,   1.05rem);
  --t-lg:  clamp(1.4rem,   3vw,     2.4rem);
  --t-xl:  clamp(2rem,     5vw,     5rem);
}

/* ─── RESET ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 16px;
  overflow-x: hidden;
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
@media (hover: hover) and (pointer: fine) { html { cursor: none; } }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: env(safe-area-inset-bottom);
  text-rendering: geometricPrecision;
}
a { color: inherit; text-decoration: none; }
button { background: none; border: none; font-family: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: var(--fg); color: var(--bg); }
a, button, [tabindex] { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
input, select, textarea { font-size: 16px; -webkit-appearance: none; border-radius: 0; }
@media (hover: hover) and (pointer: fine) { a, button { cursor: none; } }
/* Keyboard focus — visible outline without disrupting mouse UX */
:focus { outline: none; }
:focus-visible { outline: 1px solid rgba(236,233,227,.38); outline-offset: 3px; }


/* ─── GRAIN ──────────────────────────────────────── */
.grain {
  position: fixed; inset: -60%; width: 220%; height: 220%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='500' height='500'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='500' height='500' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.055; pointer-events: none; z-index: 9990;
  animation: grain 7s steps(10) infinite; will-change: transform;
}
@keyframes grain {
  0%{transform:translate(0,0)}10%{transform:translate(-4%,-8%)}20%{transform:translate(-12%,4%)}
  30%{transform:translate(5%,-20%)}40%{transform:translate(-4%,20%)}50%{transform:translate(-10%,7%)}
  60%{transform:translate(10%,-1%)}70%{transform:translate(0,10%)}80%{transform:translate(2%,28%)}
  90%{transform:translate(-7%,8%)}100%{transform:translate(0,0)}
}


/* ─── CURSOR ─────────────────────────────────────── */
.cursor, .cursor-ring { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor, .cursor-ring {
    display: block; position: fixed; border-radius: 50%;
    pointer-events: none; transform: translate(-50%,-50%); z-index: 9999; transition: opacity 0.3s;
  }
  .cursor { width: 6px; height: 6px; background: var(--fg); z-index: 10000; }
  .cursor-ring {
    width: 28px; height: 28px; border: 1px solid rgba(236,233,227,0.28);
    transition: width 0.4s var(--ease), height 0.4s var(--ease), border-color 0.3s;
  }
  .cursor-ring.hover { width: 52px; height: 52px; border-color: rgba(236,233,227,0.5); }
  .cursor-ring.click { width: 14px; height: 14px; }
}

.cursor-trail-dot { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor-trail-dot {
    display: block; position: fixed; width: 3px; height: 3px;
    border-radius: 50%; background: var(--fg);
    pointer-events: none; z-index: 9997;
    transform: translate(-50%,-50%); will-change: transform;
  }
}


/* ─── SITE VEIL ──────────────────────────────────── */
#site-veil {
  position: fixed; inset: 0; background: #000;
  z-index: 9995; pointer-events: none;
}


/* ─── ACCESS GRANTED ─────────────────────────────── */
#ag-overlay {
  position: fixed; inset: 0; background: #000;
  z-index: 9996; display: none; align-items: center; justify-content: center;
}
#ag-overlay.visible { display: flex; }
#ag-text {
  font-family: var(--sans);
  font-size: clamp(0.6rem, 1.8vw, 0.84rem);
  letter-spacing: 0.52em; color: rgba(236,233,227,0.65);
  text-transform: uppercase; text-align: center;
  padding: 0 clamp(24px,5vw,60px);
}
.ag-word { display: inline-block; }


/* ─── LOADER ─────────────────────────────────────── */
#loader {
  position: fixed; inset: 0; background: #000;
  z-index: 9998; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.loader-phase {
  position: absolute; display: flex; flex-direction: column;
  align-items: center; justify-content: center; opacity: 0;
  padding: 0 clamp(24px, 8vw, 60px); width: 100%;
}

/* Phase 1: Logo — fills the screen on mobile, stays controlled on desktop */
.loader-logo-img {
  width: clamp(240px, 72vw, 440px);
  height: auto; display: block;
}

/* Phase 2: Tagline — reads at every size, wraps gracefully on phones */
.loader-tagline {
  font-family: var(--sans);
  font-size: clamp(0.6rem, 3.8vw, 0.76rem);
  letter-spacing: 0.38em;
  color: rgba(236,233,227,0.62);
  text-transform: uppercase; text-align: center; opacity: 0;
  line-height: 2.1;
  max-width: min(88vw, 560px);
  /* Slightly reduce tracking on mobile so words don't orphan badly */
}
@media (max-width: 480px) {
  .loader-tagline { letter-spacing: 0.28em; font-size: clamp(0.62rem, 4.5vw, 0.72rem); }
}
.tl-word { display: inline-block; }

/* Loading bar — wider on mobile, gradient fill */
.loader-bar-wrap {
  position: absolute; bottom: clamp(44px, 7vh, 72px);
  width: clamp(100px, 28vw, 240px); height: 1px;
  background: rgba(236,233,227,0.08); overflow: hidden; opacity: 0;
}
.loader-bar-fill {
  height: 100%; width: 0%;
  background: linear-gradient(to right, rgba(236,233,227,0.3), rgba(236,233,227,0.65));
  transition: width 2.4s var(--ease-hard);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ─── ACCESS GATE ────────────────────────────────── */
#gate {
  position: fixed; inset: 0; background: #000;
  z-index: 9997; display: none;
  align-items: center; justify-content: center;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
}
#gate.visible { display: flex; }

.gate-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 80vmax; height: 80vmax;
  background: radial-gradient(ellipse at center, rgba(236,233,227,0.04) 0%, transparent 60%);
  pointer-events: none; animation: gateBreathe 4s ease-in-out infinite alternate;
}
@keyframes gateBreathe {
  from { opacity: 0.5; transform: translate(-50%,-50%) scale(1); }
  to   { opacity: 1;   transform: translate(-50%,-50%) scale(1.1); }
}

.gate-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: clamp(16px, 2.5vh, 30px);
  width: min(440px, 88vw);
  padding: max(48px,6vh) 0 max(36px,4vh);
}
@media (min-width: 640px)  { .gate-inner { width: min(480px, 72vw); } }
@media (min-width: 1024px) { .gate-inner { width: min(520px, 44vw); gap: clamp(22px,2.8vh,38px); } }

.gate-logo-img {
  display: block; height: auto;
  width: clamp(130px, 44vw, 200px);
}
@media (min-width: 640px)  { .gate-logo-img { width: clamp(160px,24vw,240px); } }
@media (min-width: 1024px) { .gate-logo-img { width: clamp(200px,18vw,300px); } }

.gate-tag {
  font-size: clamp(0.52rem, 1.6vw, 0.68rem);
  letter-spacing: 0.44em; color: rgba(236,233,227,0.62); text-transform: uppercase;
}
@media (min-width: 1024px) { .gate-tag { font-size: 0.72rem; } }

.gate-copy { display: flex; flex-direction: column; gap: 5px; }
.gate-copy p {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(0.98rem, 2.8vw, 1.18rem);
  color: rgba(236,233,227,0.52); line-height: 1.75;
}
@media (min-width: 1024px) { .gate-copy p { font-size: clamp(1.05rem,1.2vw,1.25rem); } }
.gate-copy-em { color: rgba(236,233,227,0.76) !important; }

.gate-form { width: 100%; display: flex; flex-direction: column; }

.gate-field-group {
  border: 1px solid rgba(236,233,227,0.14);
  border-bottom: none;
}

.gate-input {
  width: 100%;
  background: rgba(236,233,227,0.02);
  border: none;
  padding: clamp(15px,2vh,19px) clamp(16px,3vw,22px);
  font-family: var(--sans); font-size: 16px; letter-spacing: 0.16em;
  color: var(--fg); caret-color: var(--fg); outline: none;
  min-height: clamp(50px,6vh,58px);
  transition: background 0.3s;
}
.gate-input:focus {
  background: rgba(236,233,227,0.05);
  /* Directional underline — premium focus indicator */
  box-shadow: inset 0 -1px 0 rgba(236,233,227,0.28);
}
.gate-input::placeholder { color: rgba(236,233,227,0.22); }
.gate-input + .gate-input[style*="block"],
.gate-input + .gate-input:not([style*="none"]) {
  border-top: 1px solid rgba(236,233,227,0.08);
}

.gate-error {
  font-size: var(--t-xs); letter-spacing: 0.26em; color: rgba(236,233,227,0.45);
  padding: 8px 0 0; text-align: left; min-height: 26px;
  opacity: 0; transform: translateY(3px);
  transition: opacity 0.4s, transform 0.4s;
}
.gate-error.show { opacity: 1; transform: translateY(0); }

.gate-btn {
  width: 100%;
  min-height: clamp(52px,6.5vh,62px);
  padding: 16px 24px;
  border: 1px solid rgba(236,233,227,0.14);
  border-top: 1px solid rgba(236,233,227,0.08);
  background: var(--fg); color: var(--bg);
  font-family: var(--sans); font-size: clamp(0.62rem,1.2vw,0.72rem); letter-spacing: 0.4em;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  transition: background 0.3s, transform 0.15s var(--ease);
}
.gate-btn:hover { background: #fff; }
/* Tactile press — physically moves inward */
.gate-btn:active { transform: scale(0.985); transition-duration: 0.08s; }
.gate-arrow { transition: transform 0.3s var(--ease); }
.gate-btn:hover .gate-arrow { transform: translateX(4px); }

/* Waitlist position — revealed after email capture */
.gate-position {
  display: flex; align-items: baseline; gap: 8px;
  opacity: 0; pointer-events: none;
}
#gate-position-num {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 300; letter-spacing: -0.02em;
  color: var(--fg);
}
.gate-position-label {
  font-size: var(--t-xs); letter-spacing: 0.36em;
  color: var(--fg-muted); text-transform: uppercase;
}

/* Resend code button — appears in code mode after email submission */
.gate-resend {
  font-family: var(--sans);
  font-size: clamp(0.58rem,1vw,0.66rem);
  letter-spacing: 0.2em; color: var(--fg-muted);
  background: none; border: none; padding: 0;
  cursor: pointer; text-align: left;
  border-bottom: 1px solid rgba(236,233,227,0.12);
  padding-bottom: 1px;
  transition: color 0.3s, border-color 0.3s;
  min-height: 36px; display: inline-flex; align-items: center;
}
.gate-resend:hover:not(.gate-resend--cooling) { color: var(--fg-dim); border-color: rgba(236,233,227,0.28); }
.gate-resend--cooling { color: rgba(236,233,227,0.2); cursor: not-allowed; border-color: transparent; }

.gate-code-toggle {
  font-family: var(--sans);
  font-size: clamp(0.66rem,1.2vw,0.76rem);
  letter-spacing: 0.24em; color: rgba(236,233,227,0.5);
  border-bottom: 1px solid rgba(236,233,227,0.18);
  padding-bottom: 2px; min-height: 44px;
  display: inline-flex; align-items: center;
  transition: color 0.3s, border-color 0.3s;
  text-transform: uppercase;
}
.gate-code-toggle:hover  { color: var(--fg-dim); border-color: rgba(236,233,227,0.38); }
.gate-code-toggle:active { opacity: 0.7; transition-duration: 0.08s; }

.gate-foot {
  font-size: clamp(0.56rem,1vw,0.62rem);
  letter-spacing: 0.32em; color: rgba(236,233,227,0.32); text-transform: uppercase;
}

@keyframes gateShake {
  0%,100%{transform:translateX(0)}15%{transform:translateX(-9px)}30%{transform:translateX(9px)}
  45%{transform:translateX(-6px)}60%{transform:translateX(6px)}75%{transform:translateX(-3px)}90%{transform:translateX(3px)}
}
.gate-form.shake { animation: gateShake 0.5s cubic-bezier(0.36,0.07,0.19,0.97) both; }


/* ─── NAV ────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad-x);
  padding-top: max(0px, env(safe-area-inset-top));
  transition: background 0.5s, border-color 0.5s, transform 0.4s var(--ease-hard);
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(6,6,6,0.92); backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px); border-color: var(--border);
}
#nav.hide { transform: translateY(-100%); }

.nav-logo-link {
  font-family: var(--gothic);
  font-size: clamp(0.72rem, 1.5vw, 1rem);
  font-weight: 700; letter-spacing: 0.14em; color: var(--fg);
  opacity: 0; transform: translateY(-6px);
  min-height: 44px; display: flex; align-items: center; white-space: nowrap;
}

.nav-links { display: none; gap: clamp(20px,2.5vw,44px); align-items: center; }
@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-link {
  font-size: var(--t-xs); letter-spacing: 0.26em;
  color: var(--fg-dim); opacity: 0; position: relative;
  min-height: 44px; display: flex; align-items: center;
  transition: color 0.3s;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 8px; left: 0;
  width: 100%; height: 1px; background: var(--fg);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav-link:hover { color: var(--fg); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-burger {
  display: flex; flex-direction: column; gap: 7px;
  width: 44px; min-height: 44px; justify-content: center; align-items: flex-end;
  opacity: 0;
}
.nav-burger span { display: block; height: 1px; background: var(--fg); transition: transform 0.4s var(--ease); }
.nav-burger.open span:first-child { transform: translateY(8px) rotate(45deg); }
.nav-burger.open span:last-child  { transform: translateY(-8px) rotate(-45deg); }
@media (min-width: 768px) { .nav-burger { display: none; } }

.mob-nav {
  position: fixed; inset: 0; background: var(--bg); z-index: 850;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--pad-x);
  padding-top: max(0px, env(safe-area-inset-top));
  padding-bottom: max(0px, env(safe-area-inset-bottom));
  opacity: 0; pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.mob-nav.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mob-nav-links { display: flex; flex-direction: column; gap: clamp(14px,3vh,30px); }
.mob-link {
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 4rem); font-weight: 300; color: var(--fg);
  min-height: 52px; display: flex; align-items: center;
  opacity: 0; transform: translateX(-22px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.mob-nav.open .mob-link              { opacity: 1; transform: translateX(0); }
.mob-nav.open .mob-link:nth-child(2) { transition-delay: .06s; }
.mob-nav.open .mob-link:nth-child(3) { transition-delay: .12s; }
.mob-nav.open .mob-link:nth-child(4) { transition-delay: .18s; }
.mob-tagline {
  position: absolute; bottom: max(28px, env(safe-area-inset-bottom, 28px)); left: var(--pad-x);
  font-size: 0.54rem; letter-spacing: 0.36em; color: var(--fg-muted);
}


/* ─── HERO ───────────────────────────────────────── */
#hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--nav-h) var(--pad-x) 0; overflow: hidden;
}
/* Enhanced atmosphere — ambient glow creates depth around the logo */
#hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(236,233,227,0.022) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(236,233,227,0.038) 0%, transparent 58%);
  pointer-events: none;
}
/* Center the hero content — the logo mark needs to dominate */
.hero-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
}

/* Logo hero — large, centered, cinematic entry */
.hero-logo-wrap {
  display: flex; align-items: center; justify-content: center;
  width: 100%; margin-bottom: clamp(16px, 2.5vh, 28px);
}
.hero-logo-img {
  width: min(82vw, 960px);
  height: auto; display: block;
  opacity: 0;
  will-change: opacity, transform;
  /* Better kerning on retina */
  image-rendering: -webkit-optimize-contrast;
}

.hero-sub {
  /* vw-only fallback collapses on phones — use responsive clamp with phone floor */
  font-size: clamp(0.58rem, 3.2vw, 0.72rem); letter-spacing: 0.42em;
  color: var(--fg-muted); text-transform: uppercase; opacity: 0;
  text-align: center;
}
.hero-meta {
  position: absolute; bottom: clamp(18px,3vh,44px); right: var(--pad-x);
  font-size: clamp(0.5rem, 2vw, 0.56rem); letter-spacing: 0.34em; color: var(--fg-muted);
  display: flex; gap: 8px; align-items: center; z-index: 2; opacity: 0;
}
.hm-sep { color: var(--fg-ghost); }
.hero-scroll { position: absolute; bottom: clamp(18px,3vh,44px); left: var(--pad-x); z-index: 2; opacity: 0; }
.hs-line {
  width: 1px; height: 42px;
  background: linear-gradient(to bottom, var(--fg-dim), transparent);
  animation: hs 2.4s var(--ease-hard) infinite; transform-origin: top;
}
@keyframes hs {
  0%  { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  46% { transform: scaleY(1); transform-origin: bottom; }
  100%{ transform: scaleY(0); transform-origin: bottom; }
}


/* ─── MARQUEE ────────────────────────────────────── */
.marquee {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden; padding: 13px 0; white-space: nowrap;
  contain: layout style;
  mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
}
.mq-track {
  display: inline-flex; gap: 30px;
  animation: mq 28s linear infinite; will-change: transform;
}
.mq-track span { font-size: var(--t-xs); letter-spacing: 0.34em; color: var(--fg-muted); text-transform: uppercase; flex-shrink: 0; }
.mq-dot { color: var(--fg-ghost) !important; font-size: 0.38rem !important; }
@keyframes mq { to { transform: translateX(-50%); } }
.marquee:hover .mq-track { animation-play-state: paused; }


/* ─── TRUST STRIP ────────────────────────────────── */
.trust-strip {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(14px, 2vh, 20px) var(--pad-x);
  border-bottom: 1px solid var(--border);
}
.ts-item {
  font-size: clamp(0.48rem, 0.75vw, 0.56rem);
  letter-spacing: 0.42em; color: var(--fg-muted);
  text-transform: uppercase; white-space: nowrap;
}
.ts-rule {
  width: 1px; height: 12px;
  background: var(--border-md); flex-shrink: 0;
}
@media (max-width: 480px) {
  .trust-strip { flex-wrap: wrap; row-gap: 10px; column-gap: 24px; }
  .ts-rule { display: none; }
}




/* ─── COLLECTION ─────────────────────────────────── */
#collection { padding: var(--section-y) var(--pad-x); border-top: 1px solid var(--border); }
.col-header { margin-bottom: clamp(24px,4vw,60px); }
.col-sub {
  margin-top: 12px;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(0.85rem,1.6vw,1rem); color: var(--fg-muted); line-height: 1.7;
}
.eyebrow { font-size: var(--t-xs); letter-spacing: 0.44em; color: var(--fg-muted); text-transform: uppercase; }

/* Drop countdown */
.drop-countdown {
  display: flex; align-items: baseline; gap: clamp(10px,2vw,20px);
  margin-top: clamp(14px,2vh,22px); flex-wrap: wrap;
}
.dc-label {
  font-size: var(--t-xs); letter-spacing: 0.38em;
  color: var(--fg-muted); text-transform: uppercase;
}
.dc-timer {
  font-family: var(--serif); font-size: clamp(0.9rem,2vw,1.4rem);
  font-weight: 300; letter-spacing: 0.06em; color: var(--fg);
}
.drop-countdown.dc--live .dc-label { color: rgba(110,210,130,0.7); }
.drop-countdown.dc--live .dc-timer { color: rgba(110,210,130,0.85); }

/* Product grid */
.products { display: grid; grid-template-columns: 1fr; gap: 3px; }
@media (min-width: 560px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .products { grid-template-columns: repeat(4, 1fr); } }

.pc { position: relative; overflow: hidden; background: var(--bg); }
.pc-visual {
  position: relative; aspect-ratio: 3/4;
  overflow: hidden; transition: transform 0.9s var(--ease);
}
@media (max-width: 559px) { .pc-visual { aspect-ratio: 4/5; } }
@media (hover: hover) { .pc:hover .pc-visual { transform: scale(1.04); } }

/* Directional studio lighting — each card has a distinct light source angle */
.pv-1 { background:
  radial-gradient(ellipse 55% 70% at 22% 14%, rgba(255,255,255,0.13) 0%, rgba(255,255,255,0.02) 38%, transparent 65%),
  radial-gradient(ellipse at 80% 88%, rgba(255,255,255,0.03) 0%, transparent 40%),
  linear-gradient(158deg, #1e1e1e 0%, #0c0c0c 40%, #060606 100%); }

.pv-2 { background:
  radial-gradient(ellipse 65% 55% at 72% 18%, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.02) 42%, transparent 68%),
  radial-gradient(ellipse at 20% 80%, rgba(220,215,208,0.04) 0%, transparent 40%),
  linear-gradient(142deg, #1a1a1a 0%, #111111 45%, #0c0c0c 100%); }

.pv-3 { background:
  radial-gradient(ellipse 38% 75% at 88% 38%, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.01) 45%, transparent 70%),
  radial-gradient(ellipse at 12% 72%, rgba(200,194,186,0.04) 0%, transparent 42%),
  linear-gradient(196deg, #161616 0%, #0d0d0d 55%, #080808 100%); }

.pv-4 { background:
  radial-gradient(ellipse 60% 60% at 38% 12%, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.03) 38%, transparent 62%),
  radial-gradient(ellipse at 82% 70%, rgba(255,255,255,0.05) 0%, transparent 38%),
  radial-gradient(ellipse at 52% 52%, rgba(4,3,2,0.45) 0%, transparent 62%),
  linear-gradient(168deg, #1d1d1d 0%, #0f0f0f 38%, #070707 100%); }

/* Bottom gradient — transitions visual into info panel */
.pc-visual::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 45%;
  background: linear-gradient(to top, rgba(6,6,6,0.62) 0%, transparent 100%);
  pointer-events: none; z-index: 0;
}

/* Ghost product number watermark — editorial depth */
.pc-visual::after {
  position: absolute; bottom: -0.06em; right: 0.04em;
  font-family: var(--serif);
  font-size: clamp(5rem, 8vw, 8rem);
  color: rgba(236,233,227,0.038);
  line-height: 1; pointer-events: none; z-index: 0;
  letter-spacing: -0.04em; user-select: none;
}
.pc:nth-child(1) .pc-visual::after { content: '01'; }
.pc:nth-child(2) .pc-visual::after { content: '02'; }
.pc:nth-child(3) .pc-visual::after { content: '03'; }
.pc:nth-child(4) .pc-visual::after { content: '04'; }

.pc-tag {
  position: absolute; top: 13px; left: 13px;
  font-size: 0.48rem; letter-spacing: 0.3em; color: var(--fg);
  border: 1px solid rgba(236,233,227,0.18); padding: 5px 9px;
  background: rgba(6,6,6,0.6); backdrop-filter: blur(8px);
}
.pc-tag--low { color: rgba(110,210,130,0.85); border-color: rgba(110,210,130,0.25); }
.pc-tag--ltd { border-color: rgba(236,233,227,0.35); }
.pc-tag--out { color: rgba(236,233,227,0.3); border-color: rgba(236,233,227,0.08); }

.pc-reveal {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.48); opacity: 0; transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  z-index: 2;
}
.pc-reveal span { font-size: 0.56rem; letter-spacing: 0.34em; color: var(--fg); border-bottom: 1px solid rgba(236,233,227,0.35); padding-bottom: 3px; }
@media (hover: hover) { .pc:hover .pc-reveal { opacity: 1; transform: translateY(0); } }
.pc.tapped .pc-reveal { opacity: 1; transform: translateY(0); }

/* COMING SOON — static label, no animation noise */
.pc-coming-soon {
  position: absolute;
  top: 38%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1; pointer-events: none;
  font-family: var(--sans);
  font-size: clamp(0.38rem, 0.68vw, 0.48rem);
  letter-spacing: 0.52em; text-transform: uppercase; white-space: nowrap;
  color: rgba(236,233,227,0.44);
  border: 1px solid rgba(236,233,227,0.14);
  padding: 10px 18px;
  background: rgba(6,6,6,0.55);
  transition: opacity 0.35s var(--ease);
}
@media (hover: hover) { .pc:hover .pc-coming-soon { opacity: 0; } }
.pc.tapped .pc-coming-soon { opacity: 0; }

.pc-info {
  padding: clamp(16px,2vw,22px) clamp(14px,1.6vw,20px) clamp(18px,2.2vw,24px);
  border: 1px solid var(--border); border-top: 1px solid rgba(236,233,227,0.08);
  background: #0a0a0a;
  transition: border-color 0.35s;
}
@media (hover: hover) { .pc:hover .pc-info { border-color: var(--border-md); } }

/* Name — impossible to miss */
.pc-name {
  font-family: var(--sans);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 400; letter-spacing: 0.06em; line-height: 1.1;
  color: var(--fg); margin-bottom: 5px;
  text-rendering: optimizeLegibility;
}

/* Price row */
.pc-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; gap: 8px; }
.pc-price {
  font-size: clamp(0.7rem, 0.95vw, 0.8rem);
  letter-spacing: 0.06em; color: var(--fg-dim); white-space: nowrap;
}

/* Material spec */
.pc-detail {
  font-size: clamp(0.58rem, 0.84vw, 0.64rem);
  letter-spacing: 0.1em; color: var(--fg-muted);
  line-height: 1.65; margin-bottom: 10px;
}

/* Philosophy — italic serif below the spec */
.pc-philosophy {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(0.74rem, 1vw, 0.84rem);
  color: rgba(236,233,227,0.42); line-height: 1.5;
  margin-bottom: 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(236,233,227,0.06);
}

/* Live inventory */
.pc-units {
  font-size: clamp(0.48rem, 0.7vw, 0.54rem);
  letter-spacing: 0.28em; color: var(--fg-muted);
  text-transform: uppercase; margin-bottom: 14px;
}
.pc-units--low { color: rgba(110,210,130,0.7); }
.pc-units--out { color: rgba(236,233,227,0.22); text-decoration: line-through; text-decoration-color: rgba(236,233,227,0.12); }

.pc-add {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 44px; padding: 11px 16px;
  border: 1px solid rgba(236,233,227,0.18);
  font-size: clamp(0.52rem, 0.8vw, 0.6rem); letter-spacing: 0.32em;
  color: var(--fg-dim); text-align: center;
  transition: background 0.3s var(--ease), color 0.3s, border-color 0.3s, transform 0.15s var(--ease);
}
.pc-add:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pc-add:active { transform: scale(0.98); transition-duration: 0.08s; }

.col-footer { margin-top: clamp(28px,5vw,64px); text-align: center; }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: var(--t-xs); letter-spacing: 0.34em;
  color: var(--fg-dim); border: 1px solid var(--border);
  padding: clamp(14px,1.5vw,18px) clamp(28px,3.5vw,44px); min-height: 52px;
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}
.btn-ghost:hover  { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn-ghost:active { transform: scale(0.98); transition-duration: 0.08s; }




/* ─── NEWSLETTER ─────────────────────────────────── */
#newsletter { padding: var(--section-y) var(--pad-x); border-top: 1px solid var(--border); text-align: center; }
.nl-inner { max-width: 580px; margin: 0 auto; }
.nl-title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 8vw, 6.5rem); font-weight: 300;
  letter-spacing: -0.03em; line-height: 0.93;
  margin: 8px 0 clamp(18px, 2.5vh, 28px);
  text-rendering: optimizeLegibility;
}
.nl-sub {
  font-size: var(--t-sm); color: var(--fg-dim);
  line-height: 1.8; margin-bottom: clamp(24px,3.5vh,40px);
}
.nl-note {
  margin-top: 16px;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(0.72rem,1.2vw,0.82rem);
  color: rgba(236,233,227,0.38);
}

.nl-form { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.nl-wrap { display: flex; flex-direction: column; width: 100%; max-width: 500px; border: 1px solid var(--border); transition: border-color 0.4s; }
@media (min-width: 540px) { .nl-wrap { flex-direction: row; } }
.nl-wrap:focus-within { border-color: var(--border-md); }
.nl-wrap input {
  flex: 1; background: transparent; border: none; outline: none;
  padding: clamp(15px,2vh,18px) clamp(16px,2.5vw,22px);
  font-family: var(--sans); font-size: 16px; letter-spacing: 0.16em;
  color: var(--fg); caret-color: var(--fg); min-height: 52px;
}
.nl-wrap input::placeholder { color: var(--fg-muted); }
.nl-wrap button {
  padding: clamp(15px,2vh,18px) clamp(18px,2.5vw,24px);
  border-top: 1px solid var(--border);
  font-family: var(--sans); font-size: clamp(0.56rem,0.9vw,0.62rem); letter-spacing: 0.26em;
  color: var(--fg-dim); white-space: nowrap; min-height: 52px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background 0.4s, color 0.4s;
}
@media (min-width: 540px) { .nl-wrap button { border-top: none; border-left: 1px solid var(--border); } }
.nl-wrap button:hover  { background: var(--fg); color: var(--bg); }
.nl-wrap button:active { transform: scale(0.98); transition-duration: 0.08s; }
.nl-arrow { transition: transform 0.3s var(--ease); }
.nl-wrap button:hover .nl-arrow { transform: translateX(4px); }
.nl-confirm {
  font-size: var(--t-xs); letter-spacing: 0.22em; color: var(--fg-dim);
  min-height: 18px;
  /* Smooth reveal when JS sets text content */
  transition: opacity 0.5s var(--ease);
}


/* ─── FOOTER ─────────────────────────────────────── */
#footer { padding: var(--section-y) var(--pad-x) max(40px, env(safe-area-inset-bottom, 40px)); border-top: 1px solid var(--border); }
.ft-logo-wrap { margin-bottom: clamp(14px,2.5vw,32px); display: inline-block; }
.ft-logo-img { width: min(260px, 44vw); height: auto; display: block; opacity: 0.78; }
.ft-tagline {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(0.78rem,1.8vw,1.3rem); font-weight: 300;
  color: var(--fg-muted); letter-spacing: 0.04em;
  margin-bottom: clamp(28px,4vw,64px);
}
.ft-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-bottom: clamp(24px,3.5vw,48px); }
.ft-link {
  font-size: clamp(0.62rem,0.9vw,0.7rem); color: var(--fg-dim); letter-spacing: 0.08em;
  min-height: 44px; display: inline-flex; align-items: center; transition: color 0.3s;
}
.ft-link:hover { color: var(--fg); }
.ft-bottom {
  display: flex; flex-direction: column; gap: 10px;
  padding-top: 22px; border-top: 1px solid var(--border);
}
@media (min-width: 600px) { .ft-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.ft-bottom p { font-size: clamp(0.5rem,0.75vw,0.58rem); letter-spacing: 0.24em; color: var(--fg-muted); text-transform: uppercase; }
.ft-legal { display: flex; gap: 18px; }
.ft-legal .ft-link { font-size: 0.58rem; letter-spacing: 0.16em; }


/* ─── DISCOUNT POPUP ────────────────────────────── */
.dp-overlay {
  position: fixed; inset: 0; z-index: 9500;
  background: rgba(0,0,0,.86);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity .5s var(--ease);
}
.dp-overlay.visible { opacity: 1; pointer-events: auto; }
.dp-card {
  position: relative; max-width: 420px; width: 100%;
  background: #0c0c0c; border: 1px solid rgba(236,233,227,.1);
  padding: clamp(32px,6vw,52px);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0;
  /* Entry motion — card rises into view, feels grounded not abrupt */
  transform: translateY(20px);
  transition: transform 0.6s var(--ease);
}
.dp-overlay.visible .dp-card { transform: translateY(0); }
.dp-close {
  position: absolute; top: 16px; right: 20px;
  font-size: 1.2rem; line-height: 1; color: rgba(236,233,227,.28);
  transition: color .3s; background: none; border: none; cursor: pointer;
}
.dp-close:hover { color: var(--fg); }
.dp-eyebrow { font-size: .44rem; letter-spacing: .5em; color: rgba(236,233,227,.38); text-transform: uppercase; margin-bottom: 14px; }
.dp-title {
  font-family: var(--serif); font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 300;
  letter-spacing: -.02em; line-height: 1.1; color: var(--fg); margin-bottom: 16px;
}
.dp-title em { font-style: italic; color: rgba(236,233,227,.72); }
.dp-sub { font-size: .6rem; letter-spacing: .08em; color: rgba(236,233,227,.44); line-height: 1.75; margin-bottom: 28px; }
.dp-form { width: 100%; display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.dp-input {
  width: 100%; background: rgba(236,233,227,.04); border: 1px solid rgba(236,233,227,.12);
  padding: 15px 18px; font-family: var(--sans); font-size: 16px; letter-spacing: .12em;
  color: var(--fg); caret-color: var(--fg); outline: none; transition: border-color .3s; -webkit-appearance: none;
}
.dp-input:focus { border-color: rgba(236,233,227,.28); }
.dp-input::placeholder { color: rgba(236,233,227,.2); }
.dp-btn {
  width: 100%; padding: 16px 24px; background: var(--fg); color: var(--bg);
  font-family: var(--sans); font-size: .58rem; letter-spacing: .4em; text-transform: uppercase;
  border: none; cursor: pointer;
  transition: background .3s, transform .12s var(--ease);
}
.dp-btn:hover  { background: #fff; }
.dp-btn:active { transform: scale(0.985); transition-duration: .08s; }
.dp-note { font-size: .46rem; letter-spacing: .1em; color: rgba(236,233,227,.26); line-height: 1.7; }

/* ─── REDUCED MOTION ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .grain, .hs-line { animation: none; }
  html { scroll-behavior: auto; }
}
