/*
Theme Name: WEARHR
Theme URI: https://wearhr.in
Author: WEARHR
Description: Editorial, motion-led WooCommerce theme for WEARHR — Wear Your Ambition.
Version: 1.0.3
Requires at least: 6.4
Requires PHP: 8.0
WC requires at least: 8.0
Text Domain: wearhr
License: Proprietary
*/

/* ================================================================
   WEARHR — design system
   Monochrome editorial: ink black, bone white, one ember accent.
   ================================================================ */

:root {
  --ink: #050505;
  --ink-2: #0d0d0c;
  --ink-3: #161614;
  --line: rgba(245, 245, 240, 0.12);
  --line-strong: rgba(245, 245, 240, 0.28);
  --bone: #f5f5f0;
  --bone-2: rgba(245, 245, 240, 0.72);
  --bone-3: rgba(245, 245, 240, 0.48);
  --ember: #ff4d2e;

  --serif: "Bodoni Moda", Georgia, "Times New Roman", serif;
  --sans: Manrope, system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1600px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--bone); color: var(--ink); }
:focus-visible { outline: 1px solid var(--bone); outline-offset: 3px; }
[hidden] { display: none !important; }

/* film grain — subtle */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- type ---------- */
.mono, .eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; }
.eyebrow { color: var(--bone-3); }
.h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(44px, 8vw, 132px); line-height: 0.9; letter-spacing: -0.03em; margin: 0; }
.h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(34px, 5vw, 76px); line-height: 0.95; letter-spacing: -0.025em; margin: 0; }
.h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.05; letter-spacing: -0.015em; margin: 0; }
.italic { font-style: italic; }
.lede { font-size: clamp(16px, 1.4vw, 19px); color: var(--bone-2); max-width: 56ch; }
.muted { color: var(--bone-3); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 11vw, 160px) 0; }
.section-tight { padding: clamp(48px, 7vw, 96px) 0; }
.row-between { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.page-top { padding-top: calc(var(--header-h) + clamp(40px, 7vw, 96px)); }
.sr-only, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 54px; padding: 0 30px; border: 1px solid var(--bone); border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease), opacity 0.3s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bone); border-radius: inherit; transform: translateY(101%); transition: transform 0.55s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--ink); }
.btn-solid { background: var(--bone); color: var(--ink); }
.btn-solid::before { background: var(--ink-3); }
.btn-solid:hover { color: var(--bone); border-color: var(--ink-3); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }
.btn .arrow { transition: transform 0.5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.link-u { position: relative; display: inline-block; }
.link-u::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.6s var(--ease); }
.link-u:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); border-bottom: 1px solid transparent; transition: background 0.5s var(--ease), border-color 0.5s var(--ease), transform 0.6s var(--ease); }
.header.scrolled { background: rgba(5, 5, 5, 0.72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-color: var(--line); }
.header.hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.nav { display: flex; gap: 28px; white-space: nowrap; }
.nav a, .header-actions button, .header-actions a { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.logo { font-family: var(--serif); font-weight: 900; font-size: 26px; letter-spacing: -0.02em; line-height: 1; }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 22px; }
.count-pill { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: 999px; background: var(--bone); color: var(--ink); font-size: 10px; letter-spacing: 0; }
.burger { display: none; width: 28px; height: 28px; position: relative; }
.burger span { position: absolute; left: 3px; right: 3px; height: 1px; background: var(--bone); transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.burger span:nth-child(1) { top: 10px; }
.burger span:nth-child(2) { top: 17px; }
.burger.open span:nth-child(1) { top: 14px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { top: 14px; transform: rotate(-45deg); }
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .logo { justify-self: center; font-size: 22px; }
  .hide-sm { display: none !important; }
  .header-actions { gap: 16px; }
}
.menu-sheet { position: fixed; inset: 0; z-index: 90; background: var(--ink); padding: calc(var(--header-h) + 32px) var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; }
.menu-sheet a.big { display: block; font-family: var(--serif); font-weight: 700; font-size: clamp(40px, 11vw, 64px); line-height: 1.02; letter-spacing: -0.02em; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; display: flex; align-items: flex-end; }
.hero-media { position: absolute; inset: -6% 0 0 0; will-change: transform; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(5,5,5,0.55) 0%, rgba(5,5,5,0) 28%, rgba(5,5,5,0) 50%, rgba(5,5,5,0.9) 100%), radial-gradient(120% 80% at 20% 100%, rgba(5,5,5,0.6), transparent 60%); }
.hero-content { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(32px, 6vw, 72px); }
.hero-title { font-family: var(--serif); font-weight: 900; font-size: clamp(64px, 17vw, 300px); line-height: 0.8; letter-spacing: -0.05em; margin: 0; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero-title .line > span { display: inline-block; }
.hero-meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: clamp(20px, 3vw, 40px); flex-wrap: wrap; }
.scroll-cue { display: flex; align-items: center; gap: 12px; }
.scroll-cue i { display: block; width: 1px; height: 44px; background: var(--line-strong); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--bone); animation: cue 2.2s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 48px; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 48px; font-family: var(--serif); font-size: clamp(28px, 4vw, 56px); font-weight: 700; letter-spacing: -0.02em; }
.marquee-item .star { font-size: 0.5em; color: var(--ember); }
.marquee.small { padding: 10px 0; }
.marquee.small .marquee-item { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; gap: 32px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- product grid & card ---------- */
.grid-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px) clamp(10px, 1.4vw, 20px); list-style: none; padding: 0; margin: 0; }
@media (max-width: 1100px) { .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card { position: relative; display: block; overflow: hidden; border-radius: var(--radius); }
.card-media { display: block; position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--ink-3); border-radius: var(--radius); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity 0.7s var(--ease); }
.card-media img.alt { opacity: 0; }
.card:hover .card-media img { transform: scale(1.05); }
.card:hover .card-media img.alt { opacity: 1; }
.card-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 2; }
.badge { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: rgba(5,5,5,0.7); backdrop-filter: blur(8px); border: 1px solid var(--line); }
.badge.ember { background: var(--ember); border-color: var(--ember); color: var(--ink); }
.card-wish { position: absolute; top: 10px; right: 10px; z-index: 3; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(5,5,5,0.55); backdrop-filter: blur(8px); opacity: 0; transform: translateY(-6px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.card:hover .card-wish, .card-wish.on { opacity: 1; transform: none; }
@media (hover: none) { .card-wish { opacity: 1; transform: none; } }
.card-quick { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3; height: 44px; border-radius: 999px; background: var(--bone); color: var(--ink); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; display: grid; place-items: center; transform: translateY(calc(100% + 14px)); transition: transform 0.6s var(--ease); }
.card:hover .card-quick { transform: none; }
@media (hover: none) { .card-quick { display: none; } }
.card-info { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; align-items: baseline; }
.card-name { font-size: 14px; font-weight: 500; line-height: 1.35; }
.card-cat { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone-3); margin-top: 4px; }
.price { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em; white-space: nowrap; }
.price del { color: var(--bone-3); margin-right: 8px; text-decoration: line-through; }
.price ins { text-decoration: none; color: var(--ember); }
.ph { position: absolute; inset: 0; display: grid; place-content: center; gap: 10px; text-align: center; background: radial-gradient(120% 90% at 30% 20%, #1d1d1a, var(--ink-3) 60%); }
.ph span { font-family: var(--serif); font-weight: 900; font-size: clamp(28px, 4vw, 56px); letter-spacing: -0.03em; color: var(--bone-3); }
.ph small { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-3); }

/* ---------- category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.4vw, 20px); }
.cat-tile { position: relative; height: 100%; overflow: hidden; border-radius: var(--radius); background: var(--ink-3); display: block; }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5,5,5,0.75)); }
.cat-tile .label { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; }
.cat-tile .label h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(28px, 3.2vw, 52px); letter-spacing: -0.02em; line-height: 0.95; margin: 0; }
.cat-a { grid-column: span 7; aspect-ratio: 7 / 6; }
.cat-b { grid-column: span 5; aspect-ratio: 5 / 6; }
.cat-c { grid-column: span 4; aspect-ratio: 4 / 5; }
@media (max-width: 760px) { .cat-a, .cat-b, .cat-c { grid-column: span 12; aspect-ratio: 4 / 5; } }

/* ---------- editorial ---------- */
.manifesto { font-family: var(--serif); font-weight: 700; font-size: clamp(32px, 5.2vw, 88px); line-height: 1.02; letter-spacing: -0.025em; margin: 0; max-width: 18ch; }
.manifesto .w { display: inline-block; opacity: 0.14; transition: opacity 0.25s linear; }
.manifesto .w.on { opacity: 1; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 96px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.frame { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink-3); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stats > div { padding: 28px 16px 28px 0; border-right: 1px solid var(--line); }
.stats > div:last-child { border-right: 0; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } .stats > div:nth-child(2) { border-right: 0; } }
.rail { display: flex; gap: clamp(12px, 1.6vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { flex: 0 0 clamp(240px, 30vw, 460px); scroll-snap-align: start; }

/* ---------- shop ---------- */
.shop-head { display: grid; gap: 28px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s; }
.chip:hover { border-color: var(--bone); }
.chip.on { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-block: 1px solid var(--line); flex-wrap: wrap; }
.woocommerce-result-count, .woocommerce-ordering { margin: 0; }
.woocommerce-ordering select.orderby {
  appearance: none; background-color: transparent !important; border: 0 !important; color: var(--bone); padding: 0 20px 0 0 !important; min-height: 0 !important; width: auto !important;
  font-family: var(--mono); font-size: 11px !important; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--bone) 50%), linear-gradient(135deg, var(--bone) 50%, transparent 50%);
  background-position: calc(100% - 7px) 55%, calc(100% - 2px) 55%; background-size: 5px 5px; background-repeat: no-repeat;
}
.woocommerce-ordering select option { background: var(--ink-2); }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); }
@media (max-width: 960px) { .pdp { grid-template-columns: 1fr; } }
.pdp-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pdp-gallery .g { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; background: var(--ink-3); border-radius: var(--radius); cursor: zoom-in; }
.pdp-gallery .g:first-child { grid-column: span 2; aspect-ratio: 4 / 5; }
.pdp-gallery .g img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease-out; }
@media (max-width: 960px) {
  .pdp-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: none; }
  .pdp-gallery::-webkit-scrollbar { display: none; }
  .pdp-gallery .g, .pdp-gallery .g:first-child { flex: 0 0 86%; aspect-ratio: 3 / 4; scroll-snap-align: center; }
}
.pdp-info { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; display: grid; gap: 28px; }
@media (max-width: 960px) { .pdp-info { position: static; } }
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 8px; }
.size { height: 50px; border: 1px solid var(--line-strong); border-radius: var(--radius); font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s; }
.size:hover { border-color: var(--bone); }
.size.on { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.size:disabled { opacity: 0.3; text-decoration: line-through; cursor: not-allowed; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; height: 54px; }
.qty button { width: 46px; height: 100%; font-size: 18px; }
.qty span { min-width: 26px; text-align: center; font-family: var(--mono); }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 16px; transition: transform 0.4s var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .body { padding: 0 0 22px; color: var(--bone-2); }
.error { color: var(--ember); font-size: 14px; }
.mobile-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(5,5,5,0.92); border-top: 1px solid var(--line); display: none; align-items: center; gap: 14px; }
@media (max-width: 960px) { .mobile-buy { display: flex; } }
.pdp-info .stock { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-3); }

/* ---------- prose (posts, pages, product descriptions) ---------- */
.prose { color: var(--bone-2); font-size: 16px; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { font-family: var(--serif); color: var(--bone); letter-spacing: -0.015em; line-height: 1.1; margin-top: 1.8em; }
.prose h2 { font-size: clamp(28px, 3vw, 40px); }
.prose h3 { font-size: clamp(22px, 2.2vw, 28px); }
.prose a { color: var(--bone); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius); margin: 2em 0; }
.prose blockquote { border-left: 1px solid var(--bone); margin-left: 0; padding-left: 24px; font-family: var(--serif); font-size: 1.4em; color: var(--bone); font-style: italic; }
.prose ul, .prose ol { padding-left: 1.2em; }
.page-content { max-width: 860px; }
.alignwide { max-width: var(--max); }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }

/* ---------- overlays ---------- */
.scrim { position: fixed; inset: 0; z-index: 140; background: rgba(0,0,0,0.6); opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0.5s; }
.cart-open .scrim { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 150; width: min(480px, 100vw); background: var(--ink-2); border-left: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden; transition: transform 0.7s var(--ease-in-out), visibility 0.7s; }
.cart-open .drawer { transform: none; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px var(--gutter); border-bottom: 1px solid var(--line); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px var(--gutter); overscroll-behavior: contain; }
.drawer-foot { padding: 20px var(--gutter) calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 14px; }
.line-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.line-item img { width: 84px; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius); background: var(--ink-3); }
.line-item.leaving { opacity: 0; transform: translateX(20px); }
.mini-qty { display: inline-flex; align-items: center; gap: 12px; margin-top: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-family: var(--mono); font-size: 12px; }
.mini-qty button { width: 18px; }
.sum-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.progress { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--bone); transition: width 0.8s var(--ease); }
.search-sheet { position: fixed; inset: 0; z-index: 150; background: #050505; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s; }
.search-open .search-sheet { opacity: 1; visibility: visible; }
.search-input { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); font-family: var(--serif); font-weight: 700; font-size: clamp(36px, 7vw, 96px); letter-spacing: -0.03em; padding: 12px 0; outline: none; color: var(--bone); }
.search-input::placeholder { color: rgba(245,245,240,0.18); }
.menu-sheet { clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path 0.7s var(--ease-in-out), visibility 0.7s; }
.menu-open .menu-sheet { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-sheet nav > div { overflow: hidden; }
.menu-sheet nav a.big { transform: translateY(100%); transition: transform 0.8s var(--ease); transition-delay: calc(0.25s + var(--i) * 50ms); }
.menu-open .menu-sheet nav a.big { transform: none; }
.lightbox { position: fixed; inset: 0; z-index: 160; background: #050505; display: none; grid-template-rows: auto 1fr auto; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 78vh; width: auto; object-fit: contain; margin: auto; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 200; background: var(--bone); color: var(--ink); padding: 12px 20px; border-radius: 999px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0; transform: translate(-50%, 20px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.is-loading { opacity: 0.5; pointer-events: none; }
.shake { animation: shake 0.4s; }
@keyframes shake { 25% { transform: translateX(6px); } 50% { transform: translateX(-4px); } 75% { transform: translateX(2px); } }

/* ---------- journal ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px) clamp(14px, 2vw, 28px); }
@media (max-width: 960px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }
.post-card { display: block; }
.post-card .frame { aspect-ratio: 4 / 5; }
.post-card .frame img { transition: transform 1.2s var(--ease); }
.post-card:hover .frame img { transform: scale(1.04); }
.nav-links { display: flex; justify-content: center; gap: 10px; margin-top: 64px; }
.nav-links .page-numbers, .woocommerce-pagination .page-numbers li > * { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-family: var(--mono); font-size: 12px; }
.nav-links .current, .woocommerce-pagination .page-numbers .current { background: var(--bone); color: var(--ink); }
.woocommerce-pagination { margin-top: 64px; }
.woocommerce-pagination ul.page-numbers { list-style: none; display: flex; justify-content: center; gap: 8px; padding: 0; border: 0; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: clamp(64px, 9vw, 120px) 0 28px; margin-top: clamp(40px, 6vw, 80px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
.footer h4 { font-family: var(--mono); font-weight: 400; font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bone-3); margin: 0 0 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.footer-mark { overflow: hidden; text-align: center; font-family: var(--serif); font-weight: 900; font-size: min(18.5vw, 330px); line-height: 0.78; letter-spacing: -0.055em; margin-top: clamp(48px, 8vw, 120px); white-space: nowrap; }
.newsletter { display: flex; border-bottom: 1px solid var(--line-strong); max-width: 460px; position: relative; }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; padding: 14px 0; outline: none; color: var(--bone); }
.legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); margin-top: 24px; }

/* ---------- cursor & splash ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--bone); mix-blend-mode: difference; transition: width 0.35s var(--ease), height 0.35s var(--ease), margin 0.35s var(--ease); display: grid; place-items: center; }
.cursor.big { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
.cursor .lbl { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity 0.2s; }
.cursor.big .lbl { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
.splash { position: fixed; inset: 0; z-index: 10000; background: var(--ink); place-items: center; pointer-events: none; display: none; clip-path: inset(0 0 0 0); transition: clip-path 0.9s var(--ease-in-out); }
.show-splash .splash { display: grid; }
.splash.done { clip-path: inset(0 0 100% 0); }
.splash .mark { font-family: var(--serif); font-weight: 900; font-size: clamp(56px, 12vw, 160px); letter-spacing: -0.04em; overflow: hidden; line-height: 1; }
.splash .mark span { display: inline-block; transform: translateY(110%); animation: rise 0.9s var(--ease) forwards; }
.splash .eyebrow { opacity: 0; animation: fade 0.9s var(--ease) 0.35s forwards; margin-top: 14px; }
@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }

/* ---------- motion states (driven by assets/js/app.js) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.35s var(--ease) both; }
::view-transition-new(root) { animation: vt-in 0.6s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.split-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; }
.split-w > span { display: inline-block; }
.js [data-split] .split-w > span { transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--d, 0s) + var(--i) * 60ms); }
.js [data-split].in .split-w > span { transform: none; }
.js [data-clip] { clip-path: inset(12% 12% 12% 12%); transition: clip-path 1.4s var(--ease); }
.js [data-clip].in { clip-path: inset(0 0 0 0); }
[data-parallax] { overflow: hidden; }
[data-parallax] img { will-change: transform; transform: scale(1.18); }
.js .hero-title .line > span { transform: translateY(105%); transition: transform 1.3s var(--ease); }
.js .hero-title .line:nth-child(2) > span { transition-delay: 0.12s; }
.js .hero-fade { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease) 0.6s, transform 1s var(--ease) 0.6s; }
.js .hero-media img { opacity: 0; transform: scale(1.12); transition: opacity 2.2s var(--ease), transform 2.2s var(--ease); }
.ready .hero-title .line > span, .ready .hero-fade { transform: none; opacity: 1; }
.ready .hero-media img { opacity: 1; transform: none; }
/* if the script never runs, show everything */
.reveal-all [data-reveal], .reveal-all [data-split] .split-w > span { opacity: 1 !important; transform: none !important; }
.reveal-all [data-clip] { clip-path: none !important; }
.reveal-all .manifesto .w, .no-js .manifesto .w { opacity: 1; }

/* ================================================================
   WooCommerce
   ================================================================ */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
  list-style: none; margin: 0 0 24px; padding: 16px 20px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--ink-2); color: var(--bone); font-size: 14px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
}
.woocommerce-error { border-color: var(--ember); }
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, button.button, a.button, .wc-block-components-button:not(.is-link), .wp-element-button, #place_order {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px !important; border: 1px solid var(--bone) !important;
  background: var(--bone) !important; color: var(--ink) !important; font-family: var(--mono) !important; font-size: 11px !important; letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; transition: opacity 0.3s, background 0.4s var(--ease), color 0.4s var(--ease);
}
.woocommerce .button:hover, .wc-block-components-button:not(.is-link):hover, #place_order:hover { background: transparent !important; color: var(--bone) !important; }
#place_order { width: 100%; min-height: 62px; }
.woocommerce form .form-row { margin: 0 0 16px; display: grid; gap: 8px; }
.woocommerce form .form-row label, .comment-form label, .woocommerce-form label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-3); }
.woocommerce form .form-row .required { color: var(--ember); text-decoration: none; }
.woocommerce input.input-text, .woocommerce textarea, .woocommerce select, .comment-form input[type=text], .comment-form input[type=email], .comment-form textarea, .select2-container .select2-selection--single,
.woocommerce-checkout input[type=text], .woocommerce-checkout input[type=email], .woocommerce-checkout input[type=tel], .woocommerce-checkout input[type=password] {
  width: 100%; min-height: 52px; padding: 12px 16px; background: var(--ink-2) !important; border: 1px solid var(--line-strong) !important; border-radius: var(--radius) !important; color: var(--bone) !important; font-size: 15px;
}
.woocommerce textarea, .comment-form textarea { min-height: 120px; }
.woocommerce input:focus, .woocommerce textarea:focus, .woocommerce select:focus { outline: none; border-color: var(--bone) !important; }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--bone); line-height: 28px; }
.select2-dropdown { background: var(--ink-2); border-color: var(--line-strong); color: var(--bone); }
.select2-container--default .select2-results__option--highlighted[aria-selected] { background: var(--bone); color: var(--ink); }
@media (min-width: 700px) {
  .woocommerce form .form-row-first, .woocommerce form .form-row-last { width: calc(50% - 8px); display: inline-grid; vertical-align: top; }
  .woocommerce form .form-row-first { margin-right: 12px; }
}
/* classic checkout */
.woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.woocommerce-checkout #customer_details { grid-column: 1; }
.woocommerce-checkout #order_review_heading, .woocommerce-checkout #order_review { grid-column: 2; }
.woocommerce-checkout #order_review_heading { grid-row: 1; margin: 0; }
.woocommerce-checkout #order_review { grid-row: 1; margin-top: 56px; background: var(--ink-2); border: 1px solid var(--line); padding: clamp(20px, 2.4vw, 32px); border-radius: var(--radius); position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 960px) {
  .woocommerce-checkout form.checkout { grid-template-columns: 1fr; }
  .woocommerce-checkout #order_review_heading, .woocommerce-checkout #order_review { grid-column: 1; grid-row: auto; position: static; margin-top: 0; }
}
.woocommerce-checkout h3, .woocommerce-checkout #order_review_heading, .woocommerce-account h2, .woocommerce-account h3, .woocommerce-order h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.015em; margin: 0 0 20px; }
.shop_table { width: 100%; border-collapse: collapse; font-size: 14px; }
.shop_table th, .shop_table td { padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.shop_table td:last-child, .shop_table th:last-child { text-align: right; }
#payment { margin-top: 24px; }
#payment ul.payment_methods { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
#payment ul.payment_methods li { border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 16px; }
#payment .payment_box { color: var(--bone-2); font-size: 13px; margin-top: 10px; }
.woocommerce-privacy-policy-text, .woocommerce-terms-and-conditions-wrapper { font-size: 12px; color: var(--bone-3); margin-bottom: 16px; }
/* block checkout / cart */
.wc-block-checkout, .wc-block-cart { color: var(--bone); }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-blocks-components-select__select, .wc-block-components-textarea { background: var(--ink-2) !important; color: var(--bone) !important; border: 1px solid var(--line-strong) !important; border-radius: var(--radius) !important; }
.wc-block-components-text-input label, .wc-block-components-combobox label, .wc-blocks-components-select__label { color: var(--bone-3) !important; }
.wc-block-components-sidebar-layout .wc-block-components-sidebar { background: var(--ink-2); border: 1px solid var(--line); padding: 24px !important; border-radius: var(--radius); }
.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option { border-color: var(--line-strong) !important; }
.wc-block-components-title.wc-block-components-title { font-family: var(--serif); font-weight: 700; letter-spacing: -0.01em; }
.wc-block-components-totals-item__label, .wc-block-components-product-name { color: var(--bone) !important; }
/* my account */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px 1fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .woocommerce-account .woocommerce { grid-template-columns: 1fr; } }
.woocommerce-account:not(.logged-in) .woocommerce { grid-template-columns: 1fr; max-width: 980px; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; display: grid; border-top: 1px solid var(--line); }
.woocommerce-MyAccount-navigation li a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-2); transition: color 0.3s, padding 0.4s var(--ease); }
.woocommerce-MyAccount-navigation li.is-active a, .woocommerce-MyAccount-navigation li a:hover { color: var(--bone); padding-left: 10px; }
.woocommerce-MyAccount-content { color: var(--bone-2); }
.woocommerce-MyAccount-content a:not(.button) { color: var(--bone); text-decoration: underline; text-underline-offset: 3px; }
#customer_login { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); }
@media (max-width: 760px) { #customer_login { grid-template-columns: 1fr; } }
#customer_login .u-column1, #customer_login .u-column2 { width: auto !important; float: none !important; border: 1px solid var(--line); padding: clamp(20px, 3vw, 40px); border-radius: var(--radius); background: var(--ink-2); }
.woocommerce-form-login__rememberme { display: flex !important; align-items: center; gap: 10px; margin-bottom: 16px; }
.lost_password a { color: var(--bone-3); font-size: 13px; }
/* reviews */
#reviews .woocommerce-Reviews-title, #reviews h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(28px, 3.4vw, 48px); letter-spacing: -0.02em; margin: 0 0 32px; }
#reviews ol.commentlist { list-style: none; padding: 0; margin: 0 0 48px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
#reviews ol.commentlist li { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
#reviews ol.commentlist li img.avatar { display: none; }
#reviews .comment-text .meta { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone-3); margin: 10px 0; }
#reviews .comment-text .description { color: var(--bone-2); }
.star-rating { position: relative; display: inline-block; font-size: 13px; line-height: 1; letter-spacing: 2px; width: 6em; height: 1em; overflow: hidden; }
.star-rating::before { content: "★★★★★"; color: var(--bone-3); opacity: 0.5; position: absolute; top: 0; left: 0; }
.star-rating span { position: absolute; top: 0; left: 0; overflow: hidden; padding-top: 1.5em; }
.star-rating span::before { content: "★★★★★"; color: var(--bone); position: absolute; top: 0; left: 0; }
p.stars { margin: 6px 0 16px; }
p.stars a { position: relative; display: inline-block; width: 1.2em; height: 1.2em; font-size: 24px; text-indent: -999em; overflow: hidden; margin-right: 4px; }
p.stars a::before { content: "★"; position: absolute; inset: 0; text-indent: 0; color: var(--bone-3); }
p.stars:hover a::before, p.stars.selected a::before { color: var(--bone); }
p.stars a:hover ~ a::before, p.stars.selected a.active ~ a::before { color: var(--bone-3); }
#review_form_wrapper { max-width: 720px; }
#review_form .comment-reply-title { font-family: var(--serif); font-size: 26px; font-weight: 700; display: block; margin-bottom: 16px; }
.comment-form p { margin: 0 0 16px; display: grid; gap: 8px; }
.comment-form .form-submit input { display: inline-flex; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1px solid var(--bone); background: var(--bone); color: var(--ink); font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; }
.woocommerce-noreviews { color: var(--bone-3); }
.related.products > h2, .upsells.products > h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(34px, 5vw, 76px); letter-spacing: -0.025em; line-height: 0.95; margin: 0 0 40px; }
ul.products::before, ul.products::after { display: none !important; }
.onsale { display: none; }

/* ---------- empty / misc ---------- */
.empty { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: clamp(32px, 6vw, 80px); text-align: center; display: grid; gap: 16px; justify-items: center; }
.crumbs { display: flex; gap: 10px; flex-wrap: wrap; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone-3); }
.crumbs a:hover { color: var(--bone); }
.skeleton { background: linear-gradient(90deg, var(--ink-3), #1f1f1c, var(--ink-3)); background-size: 200% 100%; animation: shimmer 1.6s infinite; border-radius: var(--radius); }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  body::after { display: none; }
}
