:root {
  /* palette — clustr "cool girl": oat milk + periwinkle + yuzu + orchid */
  --oat:    #FEF8F0;
  --blue:   #8CA7F4;      /* soft blue / periwinkle */
  --yuzu:   #DBF48C;      /* yuzu zest */
  --orchid: #D98CF4;      /* pastel purple */

  --ink:    #1c1b24;      /* cool near-black */
  --muted:  #908da0;      /* cool grey */

  /* aliases so existing rules pick up the new palette */
  --cream:     var(--oat);
  --cream-2:   #f4ecdf;
  --pink:      var(--orchid);   /* primary accent (prices, accent words) */
  --pink-soft: #ecccf7;
  --lime:      var(--yuzu);
}

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

html { background: var(--cream); }

body {
  font-family: "Courier Prime", monospace;
  background: transparent;
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* clean, warm-neutral base — barely-there depth, à la Alo */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(130% 95% at 50% -12%, #FCFAF5 0%, #F4EFE6 68%, #EFE8DC 100%);
}

/* film grain + vignette — the "expensive" tactility, over the page but
   under the nav/drawer so those stay crisp */
.texture {
  position: fixed;
  inset: 0;
  z-index: 45;
  pointer-events: none;
}
.texture::before {
  content: "";
  position: absolute;
  inset: 0;
  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='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 150px 150px;
  opacity: 0.03;
  mix-blend-mode: multiply;
}
em { font-style: normal; }
::selection { background: var(--orchid); color: var(--oat); }

/* ── drifting butterflies (echo the tee) ───────────────────── */
.butterflies {
  position: fixed;
  inset: 0;
  z-index: -1;            /* behind content, above the neutral base */
  pointer-events: none;
  overflow: hidden;
}
.bfly {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
}
.bfly-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: 50% 50%;
  animation: flap 0.5s ease-in-out infinite alternate;
}
@keyframes flap {
  from { transform: scaleX(1); }
  to   { transform: scaleX(0.66); }
}

/* three wandering flight paths */
@keyframes flyA {
  0%   { transform: translate3d(-10vw, 74vh, 0) rotate(12deg); }
  30%  { transform: translate3d(24vw, 50vh, 0) rotate(-8deg); }
  60%  { transform: translate3d(52vw, 66vh, 0) rotate(10deg); }
  100% { transform: translate3d(113vw, 30vh, 0) rotate(-6deg); }
}
@keyframes flyB {
  0%   { transform: translate3d(113vw, 18vh, 0) rotate(-10deg); }
  35%  { transform: translate3d(68vw, 44vh, 0) rotate(8deg); }
  70%  { transform: translate3d(30vw, 24vh, 0) rotate(-6deg); }
  100% { transform: translate3d(-12vw, 52vh, 0) rotate(10deg); }
}
@keyframes flyC {
  0%   { transform: translate3d(14vw, 112vh, 0) rotate(6deg); }
  40%  { transform: translate3d(40vw, 58vh, 0) rotate(-10deg); }
  70%  { transform: translate3d(60vw, 70vh, 0) rotate(8deg); }
  100% { transform: translate3d(82vw, -14vh, 0) rotate(-8deg); }
}

.bfly-1 { width: 150px; height: 150px; color: #c3b3da; opacity: 0.5;  animation: flyA 30s linear infinite; }
.bfly-2 { width: 110px; height: 110px; color: #b4a2cf; opacity: 0.42; animation: flyB 38s linear infinite; animation-delay: -7s; }
.bfly-3 { width: 190px; height: 190px; color: #cabfe2; opacity: 0.38; animation: flyC 34s linear infinite; animation-delay: -14s; }
.bfly-4 { width: 92px;  height: 92px;  color: #b9a8d4; opacity: 0.46; animation: flyA 44s linear infinite; animation-delay: -22s; }
.bfly-5 { width: 132px; height: 132px; color: #c6b6dd; opacity: 0.4;  animation: flyB 27s linear infinite; animation-delay: -12s; }
.bfly-6 { width: 78px;  height: 78px;  color: #beadd6; opacity: 0.5;  animation: flyC 48s linear infinite; animation-delay: -30s; }

.bfly-2 .bfly-img { animation-duration: 0.46s; }
.bfly-3 .bfly-img { animation-duration: 0.62s; }
.bfly-4 .bfly-img { animation-duration: 0.42s; }
.bfly-5 .bfly-img { animation-duration: 0.56s; }
.bfly-6 .bfly-img { animation-duration: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .butterflies { display: none; }
}

/* ── countdown strip ───────────────────────────────────────── */
.countdown-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 9px 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  flex-wrap: wrap;
}
.cd-label { opacity: 0.55; }
.cd-clock {
  font-family: "Courier Prime", monospace;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  text-transform: none;
}
.cd-clock.urgent { color: var(--pink); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.55; } }
.cd-note { opacity: 0.4; }
@media (max-width: 620px) { .cd-note { display: none; } }

/* ── marquee ───────────────────────────────────────────────── */
.marquee {
  background: var(--cream);
  border-bottom: 1px solid rgba(24, 22, 15, 0.18);
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track { display: inline-flex; animation: scroll 40s linear infinite; }
.marquee-track span {
  font-family: "Courier Prime", monospace;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.75;
  padding: 9px 0;
}
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── header ────────────────────────────────────────────────── */
.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 40px 14px;
  max-width: 1240px;
  margin: 0 auto;
}
.wordmark {
  display: flex;
  align-items: baseline;
  gap: 9px;
  text-decoration: none;
  color: var(--ink);
}
.wm-edit {
  font-family: "Courier Prime", monospace;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}
.wm-by {
  font-family: "Courier Prime", monospace;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--muted);
}
.wm-logo {
  height: 16px;
  width: auto;
  align-self: center;
  transform: translateY(1px);
}
.bag-btn {
  font-family: "Courier Prime", monospace;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.3px;
  text-transform: lowercase;
  color: var(--ink);
  background: none;
  border: 1px solid rgba(24, 22, 15, 0.3);
  border-radius: 99px;
  padding: 9px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 9px;
  transition: border-color 0.15s, background 0.15s;
}
.bag-btn:hover { border-color: var(--ink); }
.bag-count {
  font-family: "Courier Prime", monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}

/* ── intro / hero ──────────────────────────────────────────── */
.intro {
  position: relative;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 116px 24px 26px;
}
.intro .star {
  position: absolute;
  color: var(--lime);
  font-size: 22px;
  -webkit-text-stroke: 1px var(--ink);
}
.star-a { top: 110px; left: 16%; transform: rotate(-12deg); }
@media (max-width: 700px) { .intro .star { display: none; } }

.drop-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.intro-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 7vw, 78px);
  line-height: 0.9;
  letter-spacing: -2.5px;
  color: var(--ink);
}
.intro-title em { color: var(--ink); }
.intro-sub {
  margin-top: 16px;
  font-size: 15px;
  color: var(--ink);
  opacity: 0.6;
  font-weight: 400;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}
.intro-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  padding: 13px 26px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 99px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.3px;
  text-transform: lowercase;
  transition: background 0.2s, color 0.2s;
}
.intro-cta span { transition: transform 0.25s; }
.intro-cta:hover { background: var(--blue); color: var(--ink); }
.intro-cta:hover span { transform: translateY(3px); }

/* ── drop heading (above the grid) ─────────────────────────── */
.drop-head {
  max-width: 1180px;
  margin: 18px auto 0;
  padding: 0 40px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid rgba(24, 22, 15, 0.14);
  padding-bottom: 18px;
}
.drop-head-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: -1.2px;
}
.drop-head-meta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: lowercase;
  color: var(--muted);
}
@media (max-width: 560px) {
  .drop-head { padding-left: 24px; padding-right: 24px; }
  .drop-head-meta { display: none; }
}

/* ── manifesto (scroll-fill) ───────────────────────────────── */
.manifesto {
  max-width: 1020px;
  margin: 0 auto;
  padding: 150px 40px;
}
.manifesto-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 38px;
}
.manifesto-line {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 500;
  font-size: clamp(28px, 4vw, 54px);
  line-height: 1.22;
  letter-spacing: -1px;
}
.manifesto-line .fw {
  color: var(--ink);
  opacity: 0.14;
  transition: opacity 0.18s linear;
}
@media (max-width: 600px) { .manifesto { padding: 100px 28px; } }

/* ── pieces — shoppable product grid ───────────────────────── */
.pieces {
  max-width: 1180px;
  margin: 26px auto 40px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 28px;
}
.loading { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 60px 0;  font-family: "Bricolage Grotesque", sans-serif; }

@media (max-width: 860px) { .pieces { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; } }
@media (max-width: 540px) { .pieces { grid-template-columns: 1fr; max-width: 380px; } }

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

.piece-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 10px 26px -20px rgba(28, 27, 36, 0.3);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  margin-bottom: 16px;
}
.piece-media:hover { transform: translateY(-4px); }
.piece-media .ghost-name {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 900;
  
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 0.9;
  letter-spacing: -1px;
  color: var(--cream);
  padding: 22px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
}
.piece-media.has-photo .ghost-name { display: none; }
.piece-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(243, 238, 227, 0.88);
  backdrop-filter: blur(6px);
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 99px;
}

.piece-info { display: flex; flex-direction: column; flex: 1; }
.piece-name {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(21px, 2.3vw, 27px);
  line-height: 1.02;
  letter-spacing: -0.8px;
}
.piece-price {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--ink);
  opacity: 0.7;
  margin-top: 4px;
}
.piece-tagline {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  opacity: 0.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.size-label {
  margin-top: 16px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.size {
  min-width: 34px;
  padding: 6px 11px;
  border: none;
  border-bottom: 1.5px solid rgba(24, 22, 15, 0.25);
  background: none;
  font-family: "Courier Prime", monospace;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.14s;
  color: var(--ink);
  opacity: 0.6;
}
.size:hover { opacity: 1; border-color: var(--ink); }
.size.selected { opacity: 1; border-bottom-width: 2px; border-color: var(--pink); color: var(--pink); }

.add-btn {
  margin-top: 16px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 20px;
  border: 1px solid var(--ink);
  border-radius: 99px;
  background: var(--ink);
  color: var(--cream);
  font-family: "Courier Prime", monospace;
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 0.4px;
  text-transform: lowercase;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.add-btn::after { content: "→"; transition: transform 0.18s; }
.add-btn:hover { background: var(--blue); color: var(--ink); border-color: var(--ink); }
.add-btn:hover::after { transform: translateX(4px); }
.add-btn.added { background: var(--pink); color: var(--cream); border-color: var(--pink); }
.add-btn.added::after { content: "✓"; }

/* cards link to their product page */
.piece-link { display: block; text-decoration: none; color: inherit; }
.piece-name-link { text-decoration: none; color: inherit; }
.piece-name-link:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ── product detail page (/piece/<id>) ─────────────────────── */
.pdp {
  max-width: 1080px;
  margin: 0 auto;
  padding: 108px 40px 60px;
}
.pdp-back {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: lowercase;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 22px;
}
.pdp-back:hover { color: var(--ink); }
.pdp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 52px;
  align-items: start;
}
.pdp-grid .loading { padding: 80px 0; }
@media (max-width: 780px) {
  .pdp { padding: 96px 24px 40px; }
  .pdp-grid { grid-template-columns: 1fr; gap: 28px; }
}

.pdp-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 26px -20px rgba(28, 27, 36, 0.3);
}
.pdp-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pdp-thumb {
  width: 62px; height: 76px;
  border-radius: 6px;
  border: 1.5px solid transparent;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.15s, border-color 0.15s;
  padding: 0;
}
.pdp-thumb:hover { opacity: 1; }
.pdp-thumb.selected { opacity: 1; border-color: var(--ink); }

.pdp-name {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 0.98;
  letter-spacing: -1.4px;
}
.pdp-price {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 400;
  font-size: 22px;
  opacity: 0.7;
  margin-top: 8px;
}
.pdp-tagline { margin-top: 14px; font-size: 14px; line-height: 1.6; opacity: 0.65; }
.pdp-desc { margin-top: 12px; font-size: 14px; line-height: 1.7; opacity: 0.8; }
.pdp-info .add-btn { max-width: 340px; }
.pdp-fulfill {
  margin-top: 16px;
  font-size: 11.5px;
  line-height: 1.7;
  letter-spacing: 0.2px;
  color: var(--muted);
  max-width: 380px;
}

.pdp-section { margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(24, 22, 15, 0.12); }
.pdp-section h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.2px;
  margin-bottom: 12px;
}
.pdp-section p { font-size: 13.5px; line-height: 1.7; opacity: 0.75; }
.pdp-details { list-style: none; }
.pdp-details li {
  font-size: 13.5px;
  line-height: 1.7;
  opacity: 0.75;
  padding-left: 18px;
  position: relative;
}
.pdp-details li::before { content: "✦"; position: absolute; left: 0; font-size: 9px; top: 5px; color: var(--blue); opacity: 1; }
.pdp-measure-note { margin-bottom: 10px; font-size: 12px; color: var(--muted); }
.pdp-table-wrap { overflow-x: auto; }
.pdp-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pdp-table th, .pdp-table td {
  text-align: left;
  padding: 8px 14px 8px 0;
  border-bottom: 1px solid rgba(24, 22, 15, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pdp-table th { font-size: 10px; letter-spacing: 1.5px; color: var(--muted); font-weight: 700; }
.pdp-table td { font-family: "Courier Prime", monospace; }

/* ── footer ────────────────────────────────────────────────── */
.site-foot {
  text-align: center;
  padding: 80px 24px 90px;
  background: var(--ink);
  color: var(--cream);
  margin-top: 60px;
}
.foot-edit { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 72px; line-height: 1; letter-spacing: -2px; }
.foot-by {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 500; font-size: 13px; letter-spacing: 0.5px;
  color: var(--muted);
  margin: 16px 0 24px;
}
.foot-logo { height: 17px; width: auto; opacity: 0.9; }
.site-foot p { font-size: 12px; opacity: 0.5; text-transform: lowercase; letter-spacing: 0.3px; }

/* ── bag drawer ────────────────────────────────────────────── */
.drawer-scrim {
  position: fixed; inset: 0;
  background: rgba(24, 22, 15, 0.4);
  backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s; z-index: 50;
}
.drawer-scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%;
  width: min(420px, 92vw);
  background: var(--cream);
  z-index: 60;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.1, 1);
  display: flex; flex-direction: column;
  box-shadow: -30px 0 70px rgba(24, 22, 15, 0.18);
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 28px 20px;
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 900;  font-size: 26px;
  letter-spacing: -0.5px;
  border-bottom: 1px solid rgba(24, 22, 15, 0.14);
}
.drawer-close { background: none; border: none; font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink); opacity: 0.6; }
.drawer-close:hover { opacity: 1; }
.drawer-items { flex: 1; overflow-y: auto; padding: 8px 28px; }
.drawer-empty { color: var(--muted); text-align: center; padding: 60px 0; font-size: 15px;  font-family: "Bricolage Grotesque", sans-serif; }

.drawer-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(24, 22, 15, 0.1); }
.di-thumb { width: 54px; height: 68px; border-radius: 3px; background-size: cover; background-position: center; flex-shrink: 0; }
.di-body { flex: 1; }
.di-name { font-family: "Bricolage Grotesque", sans-serif; font-weight: 600; font-size: 16px; letter-spacing: -0.3px; }
.di-meta { font-size: 11px; color: var(--muted); margin-top: 3px; text-transform: uppercase; letter-spacing: 1px; }
.di-qty { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.di-qty button { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(24,22,15,0.3); background: none; cursor: pointer; font-weight: 500; color: var(--ink); }
.di-qty button:hover { border-color: var(--ink); }
.di-qty span { font-weight: 500; font-size: 14px; min-width: 14px; text-align: center; }
.di-price { font-family: "Bricolage Grotesque", sans-serif; font-weight: 600; font-size: 16px; }
.di-remove { background: none; border: none; color: var(--muted); font-size: 12px; cursor: pointer; text-decoration: underline; margin-top: 8px; padding: 0; }
.di-remove:hover { color: var(--pink); }

.drawer-foot { padding: 22px 28px 28px; border-top: 1px solid rgba(24, 22, 15, 0.14); }
.drawer-total {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 900; font-size: 24px;
  letter-spacing: -0.5px; margin-bottom: 18px;
}
.drawer-total span:first-child {  font-weight: 400; font-size: 18px; opacity: 0.6; }
.checkout-btn {
  width: 100%; padding: 17px;
  border: 1px solid var(--ink); border-radius: 99px;
  background: var(--ink); color: var(--cream);
  font-family: "Courier Prime", monospace; font-weight: 500; font-size: 14px;
  letter-spacing: 0.4px; text-transform: lowercase; cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.checkout-btn:hover { background: var(--lime); color: var(--ink); }
.checkout-btn:disabled { opacity: 0.35; cursor: not-allowed; background: var(--ink); color: var(--cream); }
.drawer-fine { text-align: center; font-size: 11px; color: var(--muted); margin-top: 14px; letter-spacing: 0.3px; }
.drawer-error { text-align: center; font-size: 13px; color: var(--pink); margin-top: 10px; min-height: 16px; font-weight: 500; }

/* ── closed overlay ────────────────────────────────────────── */
.closed-overlay {
  position: fixed; inset: 0; z-index: 70;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.closed-overlay[hidden] { display: none; }
.closed-card { text-align: center; max-width: 440px; width: 100%; }
.closed-edit { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 40px; letter-spacing: -1px; line-height: 1; }
.closed-by { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; color: var(--muted); margin: 8px 0 30px; }
.closed-logo { height: 13px; width: auto; }
.closed-card h2 {
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 900; font-size: 44px;
  line-height: 0.95; letter-spacing: -2px;
}
.closed-card h2 em {  color: var(--pink); font-weight: 400; }
.closed-card > p { margin-top: 16px; color: var(--ink); opacity: 0.6; font-size: 15px; }
.closed-next {
  margin: 26px auto; display: inline-block;
  color: var(--muted); font-weight: 500; font-size: 13px;
  letter-spacing: 1px; text-transform: uppercase;
}
.closed-form { display: flex; gap: 0; margin-top: 14px; border-bottom: 1.5px solid var(--ink); }
.closed-form input {
  flex: 1; padding: 13px 4px;
  border: none; background: none;
  font-family: "Bricolage Grotesque", sans-serif;  font-size: 16px; color: var(--ink);
}
.closed-form input::placeholder { color: var(--muted); }
.closed-form input:focus { outline: none; }
.closed-form button {
  padding: 13px 6px; border: none; background: none;
  color: var(--ink); font-weight: 500; font-size: 13px; letter-spacing: 0.3px;
  text-transform: lowercase; cursor: pointer;
}
.closed-form button:hover { color: var(--pink); }
.closed-done { margin-top: 18px; font-weight: 500; color: var(--pink);  font-family: "Bricolage Grotesque", sans-serif; font-size: 17px; }

/* ════════════════════════════════════════════════════════════════
   MOTION LAYER — loader, floating glass nav, scroll reveals
   ════════════════════════════════════════════════════════════════ */

/* ── intro loader ──────────────────────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--cream);              /* paper */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 1s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}
.loader.done { transform: translateY(-100%); }
.loader-inner { text-align: center; }

/* typewriter line */
.loader-type {
  display: inline-flex;
  align-items: center;
  font-family: "Courier Prime", monospace;
  font-weight: 700;
  font-size: clamp(30px, 6vw, 54px);
  letter-spacing: 1px;
  color: var(--ink);
}
.loader-type #loaderType { white-space: pre; }
.caret {
  display: inline-block;
  width: 0.55ch;
  height: 1.05em;
  margin-left: 3px;
  background: var(--ink);
  animation: caretBlink 0.62s step-end infinite;
}
@keyframes caretBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ── floating glass nav ────────────────────────────────────────── */
.navpill {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 7px 7px 7px 24px;
  background: rgba(243, 238, 227, 0.7);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid rgba(24, 22, 15, 0.07);
  border-radius: 99px;
  box-shadow: 0 14px 44px -16px rgba(24, 22, 15, 0.34);
  max-width: calc(100vw - 24px);
  opacity: 0;
  animation: navIn 0.9s cubic-bezier(0.22, 0.61, 0.18, 1) 1.7s both;
}
@keyframes navIn { from { opacity: 0; transform: translate(-50%, -14px); } to { opacity: 1; transform: translate(-50%, 0); } }
.navpill .wm-edit { font-size: 21px; }
.navpill .wm-logo { height: 13px; }
.nav-mid {
  position: relative;
  display: flex; align-items: center; gap: 9px;
  white-space: nowrap;
}
/* short, centered separators sitting in the middle of the uniform gaps */
.nav-mid::before, .nav-mid::after {
  content: ""; position: absolute; top: 50%; transform: translateY(-50%);
  width: 1px; height: 15px; background: rgba(24, 22, 15, 0.16);
}
.nav-mid::before { left: -13px; }
.nav-mid::after { right: -13px; }
.nav-mid .cd-label {
  font-size: 11px; color: var(--muted); letter-spacing: 0.3px;
  text-transform: lowercase;
}
.navpill .cd-clock { font-size: 14px; font-weight: 500; }
.navpill .bag-btn {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  padding: 9px 17px;
  font-size: 12px;
}
.navpill .bag-btn:hover { background: #000; }
.navpill .bag-count { color: var(--lime); }

@media (max-width: 680px) {
  .navpill { gap: 16px; padding: 7px 7px 7px 18px; }
  .navpill .wm-edit { font-size: 18px; }
  .navpill .wm-by, .navpill .wm-logo { display: none; }
  .nav-mid .cd-label { display: none; }
}

/* ── scroll reveals ────────────────────────────────────────────── */
.reveal {
  transition:
    opacity 0.95s cubic-bezier(0.22, 0.61, 0.18, 1),
    transform 0.95s cubic-bezier(0.22, 0.61, 0.18, 1);
}
html.js .reveal { opacity: 0; transform: translateY(28px); }
html.js .reveal.in { opacity: 1; transform: none; }

/* hero waits for the curtain, then staggers in */
html.js .intro .reveal { transform: translateY(34px); }
.intro .intro-title.reveal { transition-delay: 0.06s; }
.intro .intro-sub.reveal { transition-delay: 0.14s; }
.intro .intro-cta.reveal { transition-delay: 0.22s; }

/* product cards stagger in across the grid */
html.js .piece.reveal { transition-delay: 0.04s; }
html.js .piece.reveal:nth-child(2) { transition-delay: 0.12s; }
html.js .piece.reveal:nth-child(3) { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; }
  .navpill { animation: none; opacity: 1; }
}
