/*
Theme Name: CYPRXSS
Theme URI: https://cyprxss.com
Author: CYPRXSS Studios
Description: Dark, restrained streetwear storefront. NOWHERE · MMXXVI. Custom WooCommerce theme — two typefaces, hairlines never shadows.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cyprxss
WC requires at least: 8.0
*/

/* ============================================================
   CYPRXSS — design system
   Two typefaces. Two moods. Hairlines, never shadows.
   ============================================================ */

:root {
  --sans: "Hanken Grotesk", "Helvetica Neue", sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;

  /* ink mode (default) */
  --bg: #0b0b0c;
  --bg-rgb: 11, 11, 12;
  --bg-2: #0f0f11;
  --surface: #141416;
  --line: #232328;
  --line-rgb: 35, 35, 40;
  --line-strong: #3a3a41;
  --text: #e8e4db;
  --text-rgb: 232, 228, 219;
  --text-2: #8b8780;
  --text-3: #55524c;
  --accent: #6d7a63;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="bone"] {
  --bg: #f4f2ec;
  --bg-rgb: 244, 242, 236;
  --bg-2: #eeebe2;
  --surface: #e9e5db;
  --line: #dcd7ca;
  --line-rgb: 220, 215, 202;
  --line-strong: #b4aea0;
  --text: #17171a;
  --text-rgb: 23, 23, 26;
  --text-2: #6f6b62;
  --text-3: #a9a499;
  --accent: #505c46;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.5s ease, color 0.5s ease;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea { font: inherit; color: inherit; background: none; border: none; outline: none; }
::selection { background: var(--text); color: var(--bg); }

/* ---------- grain ---------- */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- helpers ---------- */
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); }
.label {
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text-2);
  font-weight: 400;
}
.serif { font-family: var(--serif); font-weight: 400; }

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.55s; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 68px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background-color 0.5s ease, border-color 0.5s ease;
}
.nav-inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}
.nav-links { display: flex; gap: clamp(20px, 3vw, 44px); list-style: none; }
.nav-links a {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-2);
  font-weight: 400;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.4s ease, border-color 0.4s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); border-color: var(--text); }
.nav-tools { display: flex; align-items: center; gap: 20px; }

/* theme toggle — an eclipse */
.theme-toggle {
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
}
.theme-toggle span {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1px solid var(--text);
  background: var(--text);
  transition: background-color 0.45s ease, transform 0.45s var(--ease);
}
html[data-theme="bone"] .theme-toggle span { background: transparent; transform: rotate(180deg); }

/* mobile menu */
.menu-btn { display: none; width: 30px; height: 30px; position: relative; z-index: 210; }
.menu-btn i {
  position: absolute; left: 4px; right: 4px;
  height: 1px; background: var(--text);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease), opacity 0.3s;
}
.menu-btn i:nth-child(1) { top: 11px; }
.menu-btn i:nth-child(2) { top: 19px; }
body.menu-open .menu-btn i:nth-child(1) { top: 15px; transform: rotate(45deg); }
body.menu-open .menu-btn i:nth-child(2) { top: 15px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 0 clamp(24px, 8vw, 80px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s ease;
}
body.menu-open .mobile-menu { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 8vw, 3.4rem);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
body.menu-open .mobile-menu a { opacity: 1; transform: none; }
body.menu-open .mobile-menu a:nth-child(1) { transition-delay: 0.1s; }
body.menu-open .mobile-menu a:nth-child(2) { transition-delay: 0.17s; }
body.menu-open .mobile-menu a:nth-child(3) { transition-delay: 0.24s; }
body.menu-open .mobile-menu a:nth-child(4) { transition-delay: 0.31s; }
body.menu-open .mobile-menu a:nth-child(5) { transition-delay: 0.38s; }
body.menu-open .mobile-menu a:nth-child(6) { transition-delay: 0.45s; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(120% 70% at 50% -10%, var(--bg-2) 0%, var(--bg) 60%);
  /* the hero is always night — photo + bone text in both themes */
  color: #e8e4db;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroDrift 36s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11,11,12,0.62) 0%, rgba(11,11,12,0.30) 45%, rgba(11,11,12,0.72) 100%);
}
.hero > .hero-word, .hero > .hero-line, .hero > .hero-cta, .hero > .hero-scroll { position: relative; z-index: 2; }
.hero .hero-line { color: rgba(232, 228, 219, 0.65); }
.hero .btn { border-color: #e8e4db; color: #e8e4db; }
.hero .btn::before { background: #e8e4db; }
.hero .btn:hover { color: #0b0b0c; }
.hero-trees {
  position: absolute;
  bottom: -2px; left: 50%;
  transform: translateX(-50%);
  width: max(1400px, 110vw);
  opacity: 0.55;
  pointer-events: none;
}
.hero-trees path { fill: var(--surface); }
.hero-word {
  font-size: clamp(2.6rem, 9vw, 7rem);
  font-weight: 200;
  letter-spacing: 0.42em;
  padding-left: 0.42em;
  text-transform: uppercase;
  line-height: 1.1;
  animation: heroIn 1.6s var(--ease) both;
}
.hero-line {
  margin-top: 26px;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-2);
  animation: heroIn 1.6s var(--ease) 0.35s both;
}
.hero-cta {
  margin-top: 54px;
  animation: heroIn 1.6s var(--ease) 0.6s both;
}
.hero-scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  width: 1px; height: 56px;
  background: var(--line-strong);
  overflow: hidden;
}
.hero-scroll::after {
  content: "";
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--text);
  animation: drip 2.4s var(--ease) infinite;
}
@keyframes drip {
  0% { top: -100%; }
  60%, 100% { top: 100%; }
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(24px); letter-spacing: 0.55em; }
  to { opacity: 1; transform: none; }
}
@media (max-width: 640px) {
  .hero-word { font-size: clamp(1.9rem, 10vw, 3rem); letter-spacing: 0.3em; padding-left: 0.3em; animation: none; opacity: 1; }
  .hero-line { letter-spacing: 0.28em; }
}

/* ---------- marquee ---------- */
.marquee {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 14px 0;
  white-space: nowrap;
  position: relative;
}
.marquee-track {
  display: inline-block;
  animation: marquee 40s linear infinite;
}
.marquee span {
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-2);
  padding-right: 3.2em;
}
.marquee span i { font-style: normal; color: var(--text-3); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- editorial split ---------- */
.editorial {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.editorial-img {
  min-height: 520px;
  overflow: hidden;
  border-right: 1px solid var(--line);
}
.editorial-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease);
}
.editorial:hover .editorial-img img { transform: scale(1.03); }
.editorial-copy {
  padding: clamp(48px, 6vw, 90px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
}
.editorial-copy h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
}
.editorial-copy p { color: var(--text-2); font-size: 13.5px; line-height: 1.9; max-width: 42ch; }
@media (max-width: 860px) {
  .editorial { grid-template-columns: 1fr; }
  .editorial-img { border-right: none; border-bottom: 1px solid var(--line); min-height: 380px; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 400;
  padding: 17px 46px;
  border: 1px solid var(--text);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.45s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--text);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s var(--ease);
  z-index: -1;
}
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: scaleY(1); }
.btn-quiet {
  border-color: var(--line-strong);
  color: var(--text-2);
}
.btn-quiet:hover { color: var(--bg); }
.btn-block { display: block; width: 100%; text-align: center; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: clamp(90px, 12vw, 150px) 0; }
.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.15;
}
.section-head .row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.view-all {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-2);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: color 0.4s, border-color 0.4s;
  white-space: nowrap;
}
.view-all:hover { color: var(--text); border-color: var(--text); }

/* ---------- product grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px);
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1060px) { .grid, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid, .grid-3 { grid-template-columns: 1fr; gap: 48px; } }

.card { position: relative; }
.card-img {
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(90% 70% at 50% 20%, var(--bg-2) 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  transition: border-color 0.5s ease;
}
.card:hover .card-img { border-color: var(--line-strong); }
.card-img svg {
  width: 52%;
  height: auto;
  stroke: var(--text-2);
  fill: none;
  stroke-width: 1.1;
  opacity: 0.85;
  transition: transform 1.1s var(--ease), stroke 0.5s ease;
}
.card:hover .card-img svg { transform: scale(1.04) translateY(-4px); stroke: var(--text); }
.card-img.has-photo img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), opacity 0.7s ease;
}
.card:hover .card-img.has-photo img { transform: scale(1.03); }
.card-img.has-photo img.alt { opacity: 0; }
.card:hover .card-img.has-photo img.alt { opacity: 1; }
.card-img.has-photo .card-tag { z-index: 2; }
.card-tag {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 8px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-2);
  border: 1px solid var(--line-strong);
  padding: 5px 10px;
  background: var(--bg);
}
.card-meta { padding: 18px 2px 0; display: flex; flex-direction: column; gap: 3px; }
.card-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  font-weight: 400;
  text-transform: lowercase;
}
.card-sub {
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-3);
}
.card-price {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-2);
  margin-top: 4px;
}
.card-price s { color: var(--text-3); margin-left: 8px; }

/* ============================================================
   COLLECTION PANELS  (curtains)
   ============================================================ */
.panels { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(44px, 7vw, 84px) clamp(20px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  transition: background-color 0.6s ease;
}
.panel::before, .panel::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  left: 50%;
  background: var(--line);
  opacity: 0;
  transition: transform 1s var(--ease), opacity 0.6s ease;
}
.panel:hover { background: var(--bg-2); }
.panel:hover::before { opacity: 1; transform: translateX(min(-24vw, -180px)); }
.panel:hover::after { opacity: 1; transform: translateX(max(24vw, 180px)); }
.panel-num {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--text-3);
  width: 60px;
  flex-shrink: 0;
}
.panel-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 5.4vw, 4rem);
  line-height: 1.05;
  transition: letter-spacing 0.8s var(--ease), font-style 0.4s;
}
.panel:hover .panel-name { letter-spacing: 0.06em; }
.panel-desc {
  max-width: 300px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--text-2);
  text-align: right;
}
.panel-arrow {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--text-3);
  transition: transform 0.6s var(--ease), color 0.4s;
  flex-shrink: 0;
}
.panel:hover .panel-arrow { transform: translateX(10px); color: var(--text); }
@media (max-width: 760px) {
  .panel { flex-wrap: wrap; }
  .panel-desc { display: none; }
}

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 34px;
  align-items: center;
}
.manifesto p {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  line-height: 1.75;
  font-weight: 400;
  color: var(--text);
}
.manifesto p em { font-style: italic; color: var(--text-2); }
.manifesto-rule { width: 1px; height: 64px; background: var(--line-strong); }

/* ============================================================
   REVIEWS
   ============================================================ */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.quote {
  background: var(--bg);
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: space-between;
  transition: background-color 0.5s ease;
}
.quote:hover { background: var(--bg-2); }
.quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.65;
}
.quote cite {
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-2);
}
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.newsletter h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3rem);
}
.newsletter > p { color: var(--text-2); font-size: 13px; max-width: 400px; }
.news-form {
  display: flex;
  width: 100%;
  margin-top: 20px;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.4s;
}
.news-form:focus-within { border-color: var(--text); }
.news-form input {
  flex: 1;
  padding: 14px 4px;
  font-size: 13px;
  letter-spacing: 0.06em;
}
.news-form input::placeholder { color: var(--text-3); }
.news-form button {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 0 8px;
  transition: color 0.4s;
}
.news-form button:hover { color: var(--text); }
.news-note { font-size: 11px; color: var(--accent); letter-spacing: 0.08em; min-height: 18px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: clamp(56px, 7vw, 90px) 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 70px;
}
.footer-brand {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-tag { font-size: 12px; color: var(--text-2); max-width: 240px; line-height: 1.8; }
.footer h4 {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 400;
  margin-bottom: 18px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a {
  font-size: 12px;
  color: var(--text-2);
  transition: color 0.35s;
}
.footer ul a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-3);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   PAGE HEADER (interior pages)
   ============================================================ */
.page-head {
  padding: clamp(140px, 18vw, 220px) 0 clamp(40px, 6vw, 70px);
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  line-height: 1.05;
  margin-top: 18px;
}
.page-head .sub { margin-top: 18px; color: var(--text-2); font-size: 13px; max-width: 440px; }

/* ---------- shop filters ---------- */
.filters {
  display: flex;
  gap: clamp(18px, 2.6vw, 36px);
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
.filters button {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
  transition: color 0.35s, border-color 0.35s;
}
.filters button:hover { color: var(--text); }
.filters button.active { color: var(--text); border-color: var(--text); }
.shop-count { font-size: 10px; letter-spacing: 0.2em; color: var(--text-3); text-transform: uppercase; }

/* ============================================================
   PRODUCT PAGE
   ============================================================ */
.product-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  padding-top: clamp(110px, 14vw, 160px);
  align-items: start;
}
.product-stage {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  background: radial-gradient(90% 70% at 50% 20%, var(--bg-2) 0%, var(--surface) 100%);
  display: grid;
  place-items: center;
  position: sticky;
  top: 100px;
}
.product-stage svg {
  width: 50%;
  stroke: var(--text);
  fill: none;
  stroke-width: 1;
  opacity: 0.9;
}
.product-stage img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.stage-wrap { position: sticky; top: 100px; }
.stage-wrap .product-stage { position: static; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumb {
  width: 72px;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  overflow: hidden;
  padding: 0;
  opacity: 0.55;
  transition: opacity 0.35s, border-color 0.35s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.active, .thumb:hover { opacity: 1; border-color: var(--line-strong); }

/* colorway dots */
.color-dots { display: flex; gap: 12px; align-items: center; }
.dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  position: relative;
}
.dot.active::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid var(--text);
}
.color-name { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-2); margin-left: 4px; }
.product-info { display: flex; flex-direction: column; gap: 26px; padding-bottom: 80px; }
.product-info .crumb { font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-3); }
.product-info h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.1;
  text-transform: lowercase;
  font-style: italic;
}
.product-price { font-size: 15px; letter-spacing: 0.16em; color: var(--text-2); }
.product-price s { margin-left: 10px; color: var(--text-3); }
.product-desc { color: var(--text-2); font-size: 13.5px; line-height: 1.9; max-width: 46ch; }

.size-block h4, .product-info h4 {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 400;
  margin-bottom: 14px;
}
.sizes { display: flex; gap: 10px; flex-wrap: wrap; }
.size {
  min-width: 52px;
  padding: 13px 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  border: 1px solid var(--line);
  transition: border-color 0.3s, background-color 0.3s, color 0.3s;
}
.size:hover { border-color: var(--line-strong); }
.size.selected { background: var(--text); color: var(--bg); border-color: var(--text); }

.purchase-note { font-size: 11px; color: var(--accent); letter-spacing: 0.06em; min-height: 18px; }

.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}
.acc summary:hover { color: var(--text); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-family: var(--serif); font-size: 18px; transition: transform 0.4s var(--ease); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .acc-body { padding: 0 0 22px; font-size: 13px; color: var(--text-2); line-height: 1.9; max-width: 46ch; }

@media (max-width: 900px) {
  .product-layout { grid-template-columns: 1fr; }
  .product-stage { position: static; }
}

/* ============================================================
   ABOUT / CONTACT
   ============================================================ */
.prose {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.prose p {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.85;
}
.prose p.quiet { color: var(--text-2); }
.prose .rule { width: 1px; height: 56px; background: var(--line-strong); margin: 14px auto; }

.contact-form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 34px;
}
.field { display: flex; flex-direction: column; gap: 10px; }
.field label { font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-3); }
.field input, .field textarea {
  border-bottom: 1px solid var(--line-strong);
  padding: 10px 2px;
  font-size: 14px;
  transition: border-color 0.4s;
  resize: vertical;
}
.field input:focus, .field textarea:focus { border-color: var(--text); }

/* facts strip (about) */
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
}
.fact { background: var(--bg); padding: clamp(30px, 4vw, 50px); text-align: center; transition: background-color .5s ease; }
.fact .big { font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.fact .small { font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-3); margin-top: 10px; }
@media (max-width: 700px) { .facts { grid-template-columns: 1fr; } }

/* ============================================================
   COMMERCE + CHROME  (added for store build)
   ============================================================ */

/* announcement bar — floats as words over hero, becomes a bar on scroll */
.announce {
  text-align: center;
  font-size: 9.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  padding: 9px 16px;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 120;
  color: #e8e4db;
  background: transparent;
  transition: background-color 0.5s ease, color 0.5s ease;
}
.announce a { border-bottom: 1px solid currentColor; padding-bottom: 1px; }
body { --announce-h: 34px; }
.nav { top: var(--announce-h); }

/* home: hero fills the whole first screen; fixed chrome overlays its top,
   so the pinned marquee lands exactly on the bottom edge of the viewport */
body.home .hero { margin-top: 0; }

/* HOME: chrome fades in GRADUALLY, driven by --navp (0 over hero → 1 at New Arrivals).
   --navp is set by JS on scroll. Interior pages keep their solid nav (navp unused). */
body.home .nav {
  background: rgba(var(--bg-rgb), calc(var(--navp, 0) * 0.9));
  backdrop-filter: blur(calc(var(--navp, 0) * 14px));
  -webkit-backdrop-filter: blur(calc(var(--navp, 0) * 14px));
  border-bottom: 1px solid rgba(var(--line-rgb), var(--navp, 0));
  transition: none; /* driven continuously by scroll, no lag */
}
/* the announcement fades to the WHITE/bone inverted bar (matches interior pages) */
body.home .announce {
  background: rgba(var(--text-rgb), var(--navp, 0));
  color: color-mix(in srgb, #e8e4db, var(--bg) calc(var(--navp, 0) * 100%));
  transition: none;
}
body.home .nav-brand,
body.home .nav-links a,
body.home .icon-btn { color: color-mix(in srgb, #e8e4db, var(--text-2) calc(var(--navp, 0) * 100%)); }
body.home .nav-links a { border-bottom-color: transparent; }
body.home .nav-links a.active { color: color-mix(in srgb, #e8e4db, var(--text) calc(var(--navp, 0) * 100%)); }
body.home .menu-btn i { background: color-mix(in srgb, #e8e4db, var(--text-2) calc(var(--navp, 0) * 100%)); }
/* interior pages: solid inverted announcement bar */
body:not(.home) .announce { background: var(--text); color: var(--bg); }

/* nav icon cluster */
.nav-tools { display: flex; align-items: center; gap: 16px; }
.icon-btn {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  color: var(--text-2);
  position: relative;
  transition: color 0.3s;
}
.icon-btn:hover { color: var(--text); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.bag-btn.pulse { animation: bagpulse 0.5s var(--ease); }
@keyframes bagpulse { 40% { transform: scale(1.22); } }
.bag-count {
  position: absolute;
  top: -3px; right: -4px;
  min-width: 15px; height: 15px;
  padding: 0 3px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  font-size: 8.5px;
  letter-spacing: 0;
  display: none;
  place-items: center;
  font-weight: 500;
}

/* ---------- drawers shared ---------- */
.drawer-scrim, .settings-scrim, .search-scrim {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,0.5);
  opacity: 0; pointer-events: none;
  transition: opacity 0.55s ease;
  backdrop-filter: blur(2px);
}
body.cart-open .drawer-scrim,
body.settings-open .settings-scrim,
body.search-open .search-scrim { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(420px, 100vw);
  background: var(--bg);
  border-left: 1px solid var(--line);
  z-index: 301;
  transform: translateX(100%);
  transition: transform 1.15s var(--ease);
  display: flex; flex-direction: column;
}
body.cart-open .cart-drawer,
body.settings-open .settings-drawer { transform: none; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.drawer-head h3 {
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 400;
}
.drawer-close { font-size: 22px; line-height: 1; color: var(--text-2); transition: color 0.3s; }
.drawer-close:hover { color: var(--text); }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 26px; }

/* cart */
.cart-empty { color: var(--text-3); font-family: var(--serif); font-style: italic; font-size: 20px; padding: 40px 0; text-align: center; }
.cart-line { display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { aspect-ratio: 4/5; border: 1px solid var(--line); overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-info { display: flex; flex-direction: column; gap: 8px; }
.cart-line-top { display: flex; justify-content: space-between; gap: 10px; }
.cart-name { font-family: var(--serif); font-style: italic; font-size: 17px; }
.cart-x { color: var(--text-3); font-size: 18px; line-height: 1; transition: color 0.3s; }
.cart-x:hover { color: var(--text); }
.cart-size { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); }
.cart-line-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); }
.qty button { width: 28px; height: 28px; color: var(--text-2); transition: color 0.3s; }
.qty button:hover { color: var(--text); }
.qty span { min-width: 26px; text-align: center; font-size: 12px; }
.cart-price { font-size: 12px; letter-spacing: 0.1em; color: var(--text-2); }
.drawer-foot { border-top: 1px solid var(--line); padding: 20px 26px; flex-shrink: 0; }
.ship-bar { height: 2px; background: var(--line); margin: 6px 0 10px; overflow: hidden; }
.ship-bar-fill { height: 100%; background: var(--accent); width: 0; transition: width 0.6s var(--ease); }
.ship-msg { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); text-align: center; display: block; margin-bottom: 16px; }
.cart-subtotal { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.cart-subtotal .k { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-2); }
.cart-subtotal .v { font-size: 18px; }

/* settings sidebar */
.settings-drawer { width: min(360px, 100vw); }
.set-group { padding: 24px 0; border-bottom: 1px solid var(--line); }
.set-group:last-child { border-bottom: none; }
.set-group h4 { font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; font-weight: 400; }
.set-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.set-opt {
  padding: 9px 16px;
  border: 1px solid var(--line);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-2);
  transition: all 0.3s;
}
.set-opt:hover { border-color: var(--line-strong); color: var(--text); }
.set-opt.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.set-note { font-size: 10px; color: var(--text-3); margin-top: 12px; line-height: 1.6; }

/* search overlay */
.search-overlay {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 301;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transform: translateY(-100%);
  transition: transform 1.15s var(--ease);
  max-height: 88vh; overflow-y: auto;
}
body.search-open .search-overlay { transform: none; }
.search-inner { max-width: 900px; margin: 0 auto; padding: 40px clamp(20px,4vw,56px); }
.search-field { display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--text); padding-bottom: 14px; }
.search-field svg { width: 20px; height: 20px; stroke: var(--text-2); fill: none; stroke-width: 1.4; }
#search-input { flex: 1; font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.4rem); }
#search-input::placeholder { color: var(--text-3); }
.search-hint { font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-3); margin: 24px 0 18px; }
.search-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 20px; padding-bottom: 20px; }
.sr { display: flex; gap: 14px; align-items: center; }
.sr-img { width: 60px; aspect-ratio: 4/5; border: 1px solid var(--line); overflow: hidden; flex-shrink: 0; }
.sr-img img { width: 100%; height: 100%; object-fit: cover; }
.sr-name { font-family: var(--serif); font-style: italic; font-size: 18px; }
.sr-sub { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); margin-top: 3px; }

/* ---------- card upgrades: wishlist + quick add ---------- */
.card { position: relative; }
.card-link { display: block; }
.wish {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  color: var(--text-2);
  opacity: 0; transform: translateY(-4px);
  transition: opacity 0.3s, transform 0.3s, color 0.3s;
}
.card:hover .wish { opacity: 1; transform: none; }
.wish svg { width: 19px; height: 19px; }
.wish:hover { color: var(--text); }
.wish.saved { opacity: 1; transform: none; color: var(--accent); }
.wish.saved svg { fill: var(--accent); }
.quick-add {
  position: absolute;
  left: 10px; right: 10px;
  bottom: 84px;
  z-index: 3;
  display: flex; gap: 5px; justify-content: center;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  pointer-events: none;
}
.card:hover .quick-add { opacity: 1; transform: none; pointer-events: auto; }
.qa-size {
  flex: 1; max-width: 46px;
  padding: 9px 0;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  font-size: 9.5px; letter-spacing: 0.08em;
  color: var(--text-2);
  transition: all 0.25s;
}
.qa-size:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
@media (hover: none) { .quick-add { display: none; } .wish { opacity: 1; } }

/* ---------- hero: always the dark visual, both themes ---------- */
.hero-bg img { object-position: 50% 34%; }

/* ---------- product page: add-to-cart row ---------- */
.pdp-actions { display: flex; flex-direction: column; gap: 12px; }
.stock-line { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); }

/* ---------- account ---------- */
.account-layout { display: grid; grid-template-columns: 264px 1fr; gap: clamp(40px,6vw,90px); padding-top: clamp(130px,16vw,190px); align-items: start; }
.acct-side { display: flex; flex-direction: column; gap: 8px; position: sticky; top: 120px; }
.acct-side .label { margin-bottom: 2px; }
.acct-hello { font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2rem); margin-bottom: 6px; }
.acct-rule { width: 1px; height: 40px; background: var(--line-strong); margin: 22px 0 26px; }
.acct-signout { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-2); border-bottom: 1px solid var(--line-strong); align-self: flex-start; margin-bottom: 28px; padding-bottom: 2px; cursor: pointer; transition: color 0.3s; }
.acct-signout:hover { color: var(--text); }
.acct-nav { display: flex; flex-direction: column; }
.acct-nav button { text-align: left; padding: 15px 2px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-2); border-bottom: 1px solid var(--line); transition: color 0.35s, border-color 0.35s, padding 0.35s; }
.acct-nav button:hover { color: var(--text); }
.acct-nav button.active { color: var(--text); border-color: var(--line-strong); padding-left: 10px; }
.acct-panel { min-height: 300px; }
.acct-panel h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.1rem,4vw,3rem); margin-bottom: 34px; }
.acct-card { border: 1px solid var(--line); padding: clamp(26px,3vw,42px); margin-bottom: 20px; transition: background-color 0.5s ease, border-color 0.5s ease; }
.acct-card:hover { background: var(--bg-2); border-color: var(--line-strong); }
.acct-card .k { font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.acct-empty { color: var(--text-2); font-family: var(--serif); font-style: italic; font-size: 19px; }
.wish-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 24px; }
@media (max-width: 760px) { .account-layout { grid-template-columns: 1fr; } .acct-side { position: static; } }

/* ---------- editorial full-bleed / about ---------- */
.bleed { position: relative; min-height: 78vh; display: grid; place-items: center; text-align: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.bleed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bleed .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,12,0.5), rgba(11,11,12,0.7)); }
.bleed .bleed-in { position: relative; z-index: 2; color: #e8e4db; max-width: 640px; padding: 0 24px; }
.bleed .bleed-in h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem,6vw,4rem); line-height: 1.1; }
.bleed .bleed-in p { margin-top: 20px; font-size: 13px; letter-spacing: 0.1em; line-height: 1.9; color: rgba(232,228,219,0.8); }
.pullquote { text-align: center; max-width: 780px; margin: 0 auto; padding: clamp(70px,10vw,130px) 24px; }
.pullquote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem,3.4vw,2.4rem); line-height: 1.5; }
.pullquote cite { display: block; margin-top: 24px; font-style: normal; font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-3); }

/* ---------- contact split ---------- */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.contact-split .cs-img { min-height: 560px; overflow: hidden; border-right: 1px solid var(--line); position: relative; }
.contact-split .cs-img img { width: 100%; height: 100%; object-fit: cover; }
.contact-split .cs-form { padding: clamp(50px,7vw,100px); display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 860px) { .contact-split { grid-template-columns: 1fr; } .contact-split .cs-img { min-height: 340px; border-right: none; border-bottom: 1px solid var(--line); } }

/* mobile settings access */
@media (max-width: 860px) {
  .account-layout { padding-top: 130px; }
}

/* marquee: two identical groups, seamless -50% loop */
.marquee-track { display: inline-flex; white-space: nowrap; will-change: transform; }
.marquee-group { display: inline-block; padding-right: 0; }

/* ---------- hero marquee pinned to bottom of first screen ---------- */
.hero-marquee {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  border-top: 1px solid rgba(232,228,219,0.14);
  border-bottom: none;
  background: rgba(11,11,12,0.28);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hero-marquee .marquee-group { color: rgba(232,228,219,0.75); }
.hero-marquee .marquee-group i { color: rgba(232,228,219,0.4); }
.hero-scroll { display: none; }

/* subtle vine motif — a whisper, theme-aware, never tiled loud */
.vine-edge {
  position: absolute; pointer-events: none; z-index: 0;
  width: clamp(140px, 18vw, 300px);
  opacity: 0.05;
  color: var(--text);
}
.vine-edge svg { width: 100%; height: auto; stroke: currentColor; fill: none; stroke-width: 1; }
.section, .editorial, .manifesto, .newsletter { position: relative; }
.vine-divider {
  display: flex; justify-content: center; padding: 10px 0;
  opacity: 0.18; color: var(--text-2);
}
.vine-divider svg { width: 180px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1; }

@media (max-width: 640px) {
  .vine-edge { display: none; }
}

/* ============================================================
   PAGE TRANSITIONS — three distinct triggers, see site.js
   1) AWAY    — first time you leave index.html via the hero CTA
                or a header/mobile nav link. Full placeholder video.
   2) HOME    — every time you navigate back to index.html. Reuses
                the fade + wordmark cutscene, nav-logo/hero typeface.
   3) REQUEST — first time you click "Request yours" in the
                announcement bar. Separate placeholder video.
   ============================================================ */
.page-transition {
  position: fixed; inset: 0; z-index: 500;
  background: var(--bg);
  opacity: 0; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.9s ease;
  overflow: hidden;
}
.page-transition.active { opacity: 1; pointer-events: auto; }

.pt-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.6;
}
.pt-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(var(--bg-rgb),0.55) 0%, rgba(var(--bg-rgb),0.92) 100%);
}
.pt-placeholder-text {
  position: relative; z-index: 2;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.8s var(--ease) 0.2s;
}
.page-transition.active .pt-placeholder-text { opacity: 1; }
.pt-placeholder-text span {
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--line-strong);
  padding: 11px 24px;
}
.pt-placeholder-text em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* HOME cutscene (source page) — dark + bone mark, matching the hero's own
   fixed always-dark identity so the two phases hand off without a color
   jump. Same typeface as the nav logo / hero title. */
.transition-home {
  background: #0b0b0c;
}
.transition-home .pt-mark {
  position: relative; z-index: 2;
  font-family: var(--sans);
  font-weight: 200;
  font-size: clamp(1.8rem, 5vw, 3rem);
  text-transform: uppercase;
  color: #e8e4db;
  opacity: 0;
  letter-spacing: 0.55em;
  padding-left: 0.55em;
  transform: translateY(14px);
  transition: opacity 0.8s var(--ease) 0.2s, transform 0.8s var(--ease) 0.2s, letter-spacing 0.8s var(--ease) 0.2s;
}
.transition-home.active .pt-mark { opacity: 1; transform: none; letter-spacing: 0.32em; padding-left: 0.32em; }

/* ---------- HOME cutscene morph (destination page: index.html) ----------
   Instant solid-black safety net rendered from the very first paint via
   the html.cutscene-incoming class (set in a head script, before body
   renders), so there's never a flash of the raw page before site.js runs
   the actual morph. */
html.cutscene-safety body::before {
  content: "";
  position: fixed; inset: 0; z-index: 499;
  background: #0b0b0c;
}
.transition-home-morph {
  position: fixed; inset: 0; z-index: 500;
  background: #0b0b0c;
  pointer-events: none;
  transition: background-color 1.15s var(--ease) 0.15s;
}
.transition-home-morph.opening { background-color: transparent; }
.pt-mark-morph {
  position: fixed;
  transform: translate(-50%, -50%);
  font-family: var(--sans);
  font-weight: 200;
  text-transform: uppercase;
  color: #e8e4db;
  white-space: nowrap;
  z-index: 2;
  transition: top 1s var(--ease), left 1s var(--ease), font-size 1s var(--ease), letter-spacing 1s var(--ease), padding-left 1s var(--ease);
}

/* hero title suppression while the cutscene owns the reveal — prevents the
   real .hero-word from playing its own entrance underneath the morph */
html.cutscene-incoming .hero-word { animation: none !important; opacity: 0 !important; }
.hero-word.settled { animation: none; opacity: 1; transform: none; letter-spacing: 0.42em; padding-left: 0.42em; }

/* ============================================================
   WOOCOMMERCE ADDITIONS
   Rules the WP/Woo markup needs that the static build didn't,
   plus a restyle of stock WooCommerce chrome (notices, cart,
   checkout, account) into the CYPRXSS design language.
   ============================================================ */

/* filters + pagination are links here, not buttons */
.filters a,
.filters .page-numbers {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 4px 0;
  margin: 0 10px;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
  transition: color 0.35s, border-color 0.35s;
}
.filters a:hover, .filters .page-numbers:hover { color: var(--text); }
.filters a.active,
.filters .page-numbers.current { color: var(--text); border-color: var(--text); }
.filters .nav-links { display: flex; gap: 0; list-style: none; }

/* sold-out variants stay visible but clearly unavailable */
.size.soldout, .size:disabled {
  opacity: 0.32;
  cursor: not-allowed;
  text-decoration: line-through;
}
.size.soldout:hover, .size:disabled:hover { border-color: var(--line); }
.qa-size:disabled { opacity: 0.3; cursor: not-allowed; }
.qa-size:disabled:hover { background: var(--bg); color: var(--text-2); border-color: var(--line-strong); }

/* rich text from the editor */
.rte p, .product-desc p { margin-bottom: 1.3em; }
.rte p:last-child, .product-desc p:last-child { margin-bottom: 0; }
.rte a { border-bottom: 1px solid var(--line-strong); }
.rte a:hover { border-color: var(--text); }
.rte h2, .rte h3 { font-family: var(--serif); font-weight: 400; margin: 1.6em 0 0.6em; }
.rte ul, .rte ol { margin: 0 0 1.4em 1.2em; }
.rte li { margin-bottom: 0.4em; }
.rte img { margin: 1.6em 0; }

/* ---------- WooCommerce notices ---------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
  padding: 18px 22px;
  margin: 0 0 28px;
  font-size: 12px;
  letter-spacing: 0.08em;
  list-style: none;
  color: var(--text-2);
}
.woocommerce-error { border-color: #6b3a3a; }
.woocommerce-message a, .woocommerce-info a, .woocommerce-error a {
  border-bottom: 1px solid var(--line-strong);
  color: var(--text);
}

/* ---------- WooCommerce cart / checkout / account pages ----------
   Stock Woo markup restyled so checkout doesn't break the spell. */
.woocommerce-page .wrap,
.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content,
.woocommerce-account .entry-content {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

.woocommerce table.shop_table {
  border: 1px solid var(--line);
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 40px;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-bottom: 1px solid var(--line);
  padding: 18px;
  font-size: 13px;
  text-align: left;
}
.woocommerce table.shop_table th {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 400;
}

.woocommerce form .form-row { margin-bottom: 22px; display: flex; flex-direction: column; gap: 8px; }
.woocommerce form .form-row label {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-3);
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection {
  border: none;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  padding: 11px 2px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text);
  border-radius: 0;
  transition: border-color 0.4s;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus { border-color: var(--text); outline: none; }

/* every Woo button inherits our button language */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 400;
  padding: 17px 46px;
  border: 1px solid var(--text);
  background: transparent;
  color: var(--text);
  border-radius: 0;
  transition: background-color 0.45s var(--ease), color 0.45s var(--ease);
}
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background: var(--text);
  color: var(--bg);
}

.woocommerce-checkout #payment {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 0;
}
.woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid var(--line); padding: 22px; }
.woocommerce-checkout #payment div.form-row { padding: 22px; }
.woocommerce-checkout #payment ul.payment_methods li { list-style: none; margin-bottom: 12px; }

.woocommerce-order-received .woocommerce-order,
.woocommerce-account .woocommerce-MyAccount-content { padding-top: 20px; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color 0.35s;
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { color: var(--text); }

/* give Woo's own pages our page-head spacing since they render via the_content */
.woocommerce-cart .site-main,
.woocommerce-checkout .site-main,
.woocommerce-account .site-main,
body.woocommerce-cart main,
body.woocommerce-checkout main,
body.woocommerce-account main { padding-top: clamp(130px, 16vw, 190px); padding-bottom: 100px; }

.woocommerce-cart h1, .woocommerce-checkout h1, .woocommerce-account h1,
.woocommerce-cart h2, .woocommerce-checkout h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 28px;
}
