/* lwkshrt — design tokens
   void   #000000  logo ground, header, hero
   chalk  #F3EFF6  lilac-white paper for shopping surfaces
   orbit  #804A84  the logo's orbit line; primary actions
   haze   #CDB9D9  soft lilac fills
   bruise #1B1020  raised surfaces on black
*/
:root {
  --void: #000;
  --chalk: #f3eff6;
  --paper: #fbf9fc;
  --orbit: #804a84;
  --orbit-deep: #6a3a6e;
  --orbit-light: #c497cb;
  --haze: #cdb9d9;
  --bruise: #1b1020;
  --ink: #17121a;
  --ink-2: #5d5464;
  --on-void-2: #a8a0ae;
  --line: #ddd3e3;
  --line-void: #2e2433;
  --danger: #b3261e;

  --display: "Dela Gothic One", "Arial Black", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(2rem, 4vw, 2.6rem);
  --step-4: clamp(2.6rem, 6.4vw, 5.4rem);

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --r-tile: 22px;
  --r-field: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--void);
  color: var(--chalk);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.05; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--orbit-light); outline-offset: 3px; border-radius: 6px; }
.on-chalk :focus-visible { outline-color: var(--orbit); }
[hidden] { display: none !important; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--chalk); color: var(--ink); padding: 10px 16px; border-radius: 999px;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- announcement + header ---------- */
.announce {
  background: var(--orbit);
  color: #fff;
  text-align: center;
  font-size: var(--step--1);
  font-weight: 500;
  padding: 8px var(--gutter);
}

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(0, 0, 0, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-void);
}
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 10px var(--gutter);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px;
}
.brand img { height: 56px; width: auto; }
.main-nav { display: flex; gap: 6px; }
.main-nav a {
  text-decoration: none; font-weight: 500; padding: 8px 14px; border-radius: 999px;
  color: var(--on-void-2); transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--chalk); }
.main-nav a[aria-current="page"] { color: var(--chalk); background: var(--bruise); }
.header-actions { display: flex; gap: 4px; }
.icon-btn {
  position: relative;
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 999px;
  background: transparent; border: 0; padding: 0;
  text-decoration: none;
}
.icon-btn:hover { background: var(--bruise); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.menu-btn { display: none; }
.cart-count {
  position: absolute; top: 3px; right: 1px;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--orbit); color: #fff;
  font-size: 12px; font-weight: 700; line-height: 20px; text-align: center;
}
.cart-btn.bump .cart-count { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

.mobile-nav { display: grid; padding: 4px var(--gutter) 16px; border-top: 1px solid var(--line-void); }
.mobile-nav a { padding: 14px 0; text-decoration: none; font-family: var(--display); font-size: var(--step-1); border-bottom: 1px solid var(--line-void); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-weight: 600; text-decoration: none; border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orbit); color: #fff; }
.btn-primary:hover { background: var(--orbit-deep); }
.btn-light { background: var(--chalk); color: var(--ink); }
.btn-light:hover { background: var(--haze); }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.on-chalk .btn-ghost:hover { background: rgba(0, 0, 0, .05); }
.btn-block { width: 100%; }
.btn-price { padding-left: 12px; margin-left: 2px; border-left: 1.5px solid rgba(255, 255, 255, .35); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- film grain on black sections ---------- */
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .07;
}
.grain > * { position: relative; z-index: 1; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--max); margin: 0 auto; padding: clamp(24px, 3.5vw, 48px) var(--gutter) clamp(40px, 5vw, 72px);
}
.hero-top { display: flex; justify-content: space-between; gap: 16px; font-weight: 600; }
.hero-kicker { color: var(--orbit-light); }
.hero-meta { color: var(--on-void-2); }
.hero h1 {
  position: relative; z-index: 0;
  margin-top: clamp(12px, 1.6vw, 20px);
  font-family: var(--display);
  font-size: clamp(3rem, 9vw, 9.4rem);
  letter-spacing: -.02em;
  line-height: .92;
  text-align: center;
  text-wrap: balance;
}
.hero-bottom {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px;
  margin-top: clamp(8px, 1.5vw, 20px);
}
.hero-lede { font-size: var(--step-1); color: var(--on-void-2); max-width: 30rem; line-height: 1.5; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.orbit-stage { position: relative; z-index: 1; width: 100%; max-width: 1080px; margin: clamp(-72px, -4.5vw, -16px) auto 0; }
.orbit-stage > svg { width: 100%; height: auto; overflow: visible; }
.hero-piece { cursor: pointer; }
.hero-piece > g { transition: transform .45s var(--ease); transform-box: fill-box; }
.hero-piece:hover > g, .hero-piece:focus-visible > g { transform: translateY(-14px); }
.hero-piece:focus-visible { outline: none; }
.hero-piece:focus-visible svg { filter: drop-shadow(0 0 6px var(--orbit-light)); }
.orbit-line { fill: none; stroke: var(--orbit); stroke-width: 5; stroke-linecap: round; }
.draw .orbit-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s var(--ease) .2s forwards; }
.draw .orbit-front { animation-delay: .9s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.orbit-star { fill: var(--orbit-light); }
.draw .orbit-stars { opacity: 0; animation: fadein .6s ease 2.2s forwards; }
@keyframes fadein { to { opacity: 1; } }

.hang-tag {
  position: absolute; left: 58%; bottom: 6%; z-index: 2;
  display: grid; gap: 2px;
  background: var(--chalk); color: var(--ink);
  padding: 14px 18px 14px 34px; border-radius: 10px 16px 16px 10px;
  text-decoration: none; box-shadow: 0 14px 40px rgba(0, 0, 0, .5);
  transform: rotate(-4deg);
  transition: transform .25s var(--ease);
}
.hang-tag::before {
  content: ""; position: absolute; left: 12px; top: 50%; width: 10px; height: 10px; margin-top: -5px;
  border-radius: 50%; background: var(--void);
}
.hang-tag:hover { transform: rotate(-1deg) translateY(-3px); }
.hang-tag strong { font-family: var(--display); font-weight: 400; font-size: 1.05rem; }
.hang-tag span { font-size: var(--step--1); color: var(--ink-2); }
.hang-tag em { font-style: normal; font-weight: 700; color: var(--orbit); font-size: var(--step--1); }

/* ---------- chalk surface ---------- */
.on-chalk { background: var(--chalk); color: var(--ink); }
.section { padding-block: clamp(56px, 8vw, 112px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 32px; margin-bottom: 36px; }
.section-head h2 { font-family: var(--display); font-size: var(--step-3); }
.section-head p { color: var(--ink-2); max-width: 34rem; margin-top: 10px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: transparent; color: var(--ink);
  font-weight: 500; font-size: var(--step--1);
  transition: border-color .2s, background .2s, color .2s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--chalk); }

/* ---------- product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px) clamp(12px, 1.6vw, 20px); }
.card { position: relative; display: grid; grid-template-rows: 1fr auto; gap: 12px; }
.grid-feature > .card:first-child { grid-column: span 2; grid-row: span 2; }
.grid-feature > .card:first-child .card-media { aspect-ratio: auto; min-height: 100%; }
.grid-feature > .card:first-child .card-info h3 { font-family: var(--display); font-weight: 400; font-size: var(--step-1); }
.card-media {
  position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-tile); overflow: hidden;
  background: var(--paper);
}
.card-media .art { position: absolute; inset: 8% 6% 10%; transition: opacity .35s ease; }
.card-media .art svg { width: 100%; height: 100%; }
.card-media .art-back { opacity: 0; }
.card:hover .art-front, .card:focus-within .art-front { opacity: 0; }
.card:hover .art-back, .card:focus-within .art-back { opacity: 1; }
.badge {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: var(--ink); color: var(--chalk);
}
.badge-new { background: var(--orbit); color: #fff; }
.badge-out { background: var(--line); color: var(--ink-2); }
.quick-add {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2;
  display: flex; flex-wrap: wrap; gap: 6px; justify-content: center;
  padding: 8px; border-radius: 16px; background: rgba(23, 18, 26, .9);
  opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .25s var(--ease);
}
.card:hover .quick-add, .card:focus-within .quick-add { opacity: 1; transform: none; }
.quick-add button {
  min-width: 38px; height: 34px; padding: 0 8px; border-radius: 10px; border: 0;
  background: transparent; color: var(--chalk); font-size: 13px; font-weight: 600;
}
.quick-add button:hover { background: var(--orbit); }
.quick-add button:disabled { color: #6f6575; text-decoration: line-through; background: transparent; cursor: not-allowed; }
.card-info { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding-inline: 4px; }
.card-info h3 { font-family: var(--body); font-weight: 600; font-size: var(--step-0); line-height: 1.3; }
.card-info h3 a { text-decoration: none; }
.card-info h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-tile); z-index: 1; }
.card-info .price { font-weight: 600; }
.card-info .sub { grid-column: 1 / -1; color: var(--ink-2); font-size: var(--step--1); display: flex; align-items: center; gap: 8px; }
.dots { position: relative; z-index: 2; display: inline-flex; gap: 8px; }
.dot {
  position: relative; display: block; width: 16px; height: 16px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, .22); transition: box-shadow .2s;
}
button.dot::before { content: ""; position: absolute; inset: -8px; }
.dot[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--chalk), 0 0 0 3.5px var(--ink); }
button.dot:hover:not([aria-pressed="true"]) { box-shadow: 0 0 0 2px var(--chalk), 0 0 0 3.5px var(--line); }
.card-info .sub { min-height: 24px; }

/* ---------- category split ---------- */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(12px, 1.6vw, 20px); }
.split-tile {
  position: relative; display: grid; align-content: space-between; min-height: 420px;
  border-radius: var(--r-tile); padding: clamp(22px, 3vw, 36px); overflow: hidden; text-decoration: none;
}
.split-tile h3 { font-family: var(--display); font-size: var(--step-3); position: relative; z-index: 1; }
.split-tile p { position: relative; z-index: 1; max-width: 22rem; margin-top: 8px; }
.split-tile .btn { position: relative; z-index: 1; justify-self: start; }
.split-tile .tile-art { position: absolute; right: -4%; bottom: -12%; width: min(52%, 360px); transition: transform .5s var(--ease); }
.split-tile p { max-width: 17rem; }
.split-tile:hover .tile-art { transform: rotate(-4deg) translateY(-8px); }
.tile-plum { background: var(--orbit); color: #fff; }
.tile-haze { background: var(--haze); color: var(--ink); }
.tile-haze .btn-ghost:hover { background: rgba(0, 0, 0, .06); }

/* ---------- manifesto (on black) ---------- */
.manifesto { padding-block: clamp(72px, 10vw, 140px); }
.manifesto-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.manifesto h2 { font-family: var(--display); font-size: var(--step-4); line-height: 1; }
.manifesto h2 .star { display: inline-block; width: .6em; height: .6em; vertical-align: .08em; margin-left: .1em; }
.manifesto-copy { display: grid; gap: 18px; color: var(--on-void-2); font-size: var(--step-1); max-width: 34rem; }
.manifesto-copy strong { color: var(--chalk); font-weight: 600; }
.facts { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-void); }
.facts li { padding: 22px 24px 0 0; display: grid; gap: 4px; }
.facts strong { font-family: var(--display); font-weight: 400; font-size: var(--step-1); color: var(--chalk); }
.facts span { color: var(--on-void-2); }

/* ---------- newsletter ---------- */
.newsletter { background: var(--orbit); color: #fff; }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding-block: clamp(48px, 6vw, 80px); }
.newsletter h2 { font-family: var(--display); font-size: var(--step-3); }
.newsletter p { margin-top: 10px; color: #eadcf0; max-width: 30rem; }
.inline-form { display: flex; gap: 8px; background: #fff; padding: 6px; border-radius: 999px; }
.inline-form input {
  flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); padding: 0 18px; font-size: var(--step-0);
}
.inline-form input:focus { outline: none; }
.inline-form:focus-within { outline: 3px solid var(--chalk); outline-offset: 3px; }
.inline-form .btn { min-height: 46px; background: var(--ink); color: #fff; }
.inline-form .btn:hover { background: var(--orbit-deep); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line-void); }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 64px var(--gutter) 40px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
.footer-brand p { font-family: var(--display); font-size: var(--step-2); line-height: 1.15; max-width: 22rem; }
.footer-mark { max-width: var(--max); margin: 0 auto; padding: 8px var(--gutter) 24px; }
.footer-mark img { width: 100%; height: auto; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h2 { font-family: var(--body); font-size: var(--step--1); font-weight: 600; color: var(--on-void-2); margin-bottom: 12px; }
.footer-cols a { display: block; text-decoration: none; padding: 5px 0; }
.footer-cols a:hover { color: var(--orbit-light); }
.footer-base {
  max-width: var(--max); margin: 0 auto; padding: 20px var(--gutter) 32px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  color: var(--on-void-2); font-size: var(--step--1); border-top: 1px solid var(--line-void);
}

/* ---------- shop page ---------- */
.page-head { padding-block: clamp(36px, 5vw, 64px) 24px; }
.page-head h1 { font-family: var(--display); font-size: var(--step-4); }
.page-head p { color: var(--ink-2); margin-top: 10px; }
.toolbar {
  display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between;
  padding-block: 16px; margin-bottom: 28px; border-block: 1px solid var(--line);
}
.toolbar-right { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.search-field { position: relative; }
.search-field svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--ink-2); stroke-width: 1.8; stroke-linecap: round; pointer-events: none; }
.field, .select {
  min-height: 44px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); padding: 0 16px;
}
.search-field .field { padding-left: 40px; width: 220px; }
.field:focus, .select:focus { outline: none; border-color: var(--orbit); box-shadow: 0 0 0 3px rgba(128, 74, 132, .2); }
.color-filter { display: flex; gap: 6px; align-items: center; }
.swatch-btn {
  width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid rgba(0, 0, 0, .2); padding: 0;
  box-shadow: inset 0 0 0 3px var(--chalk);
}
.swatch-btn[aria-pressed="true"] { border: 2px solid var(--ink); }
.result-count { color: var(--ink-2); font-size: var(--step--1); }
.empty { text-align: center; padding: 72px 16px; display: grid; gap: 16px; justify-items: center; }
.empty h2 { font-family: var(--display); font-size: var(--step-2); }
.empty p { color: var(--ink-2); }

/* ---------- product page ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 24px; color: var(--ink-2); font-size: var(--step--1); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.pdp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); padding-bottom: clamp(48px, 6vw, 96px); align-items: start; }
.gallery { display: grid; grid-template-columns: 84px 1fr; gap: 14px; position: sticky; top: 90px; }
.thumbs { display: grid; gap: 10px; align-content: start; }
.thumb { aspect-ratio: 1; border-radius: 14px; background: var(--paper); border: 2px solid transparent; padding: 8px; }
.thumb[aria-pressed="true"] { border-color: var(--ink); }
.thumb svg { width: 100%; height: 100%; }
.stage { position: relative; aspect-ratio: 1 / 1.05; border-radius: var(--r-tile); background: var(--paper); display: grid; place-items: center; overflow: hidden; }
.stage .art { width: 82%; height: 82%; }
.stage .art svg { width: 100%; height: 100%; }
.stage-note { position: absolute; left: 16px; bottom: 14px; font-size: var(--step--1); color: var(--ink-2); }

.buy { display: grid; gap: 26px; }
.buy h1 { font-family: var(--display); font-size: var(--step-3); }
.buy .price-line { display: flex; align-items: baseline; gap: 12px; margin-top: 10px; font-size: var(--step-1); font-weight: 600; }
.buy .stock-note { font-size: var(--step--1); font-weight: 600; color: var(--orbit); }
.buy .lede { color: var(--ink-2); max-width: 34rem; }
.opt-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-weight: 600; }
.opt-label span { font-weight: 400; color: var(--ink-2); }
.link-btn { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; color: var(--ink-2); font-size: var(--step--1); }
.link-btn:hover { color: var(--ink); }
.colors { display: flex; gap: 10px; }
.color-opt { width: 44px; height: 44px; border-radius: 50%; border: 2px solid transparent; padding: 3px; background: transparent; }
.color-opt i { display: block; width: 100%; height: 100%; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .2); }
.color-opt[aria-checked="true"] { border-color: var(--ink); }
.sizes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.size-opt {
  min-height: 48px; border-radius: var(--r-field); border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); font-weight: 600;
}
.size-opt:hover:not(:disabled) { border-color: var(--ink); }
.size-opt[aria-checked="true"] { background: var(--ink); color: var(--chalk); border-color: var(--ink); }
.size-opt:disabled { color: #b0a6b6; text-decoration: line-through; cursor: not-allowed; background: transparent; }
.size-error { color: var(--danger); font-size: var(--step--1); font-weight: 600; margin-top: 10px; }
.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.buy-actions { display: grid; gap: 10px; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--ink-2); font-size: var(--step--1); }
.perks li { display: flex; gap: 10px; align-items: center; }
.perks svg { width: 16px; height: 16px; flex: none; fill: var(--orbit); }
.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-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; transition: transform .2s; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .acc-body { padding-bottom: 18px; color: var(--ink-2); display: grid; gap: 8px; }
.acc ul { margin: 0; padding-left: 18px; }

.buy-bar { display: none; }
@media (max-width: 880px) {
  .buy-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(251, 249, 252, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); color: var(--ink);
    transform: translateY(110%); transition: transform .3s var(--ease);
  }
  .buy-bar.show { transform: none; }
  .buy-bar div { display: grid; line-height: 1.25; min-width: 0; }
  .buy-bar strong { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buy-bar span { color: var(--ink-2); font-size: var(--step--1); }
  .buy-bar .btn { min-height: 46px; flex: none; }
  .buy-bar :focus-visible { outline-color: var(--orbit); }
  .has-buybar .site-footer { padding-bottom: 76px; }
}

/* ---------- cart drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .55); animation: fadein .2s ease forwards; opacity: 0; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 50;
  width: min(440px, 100%); background: var(--chalk); color: var(--ink);
  display: grid; grid-template-rows: auto 1fr;
  transform: translateX(100%); transition: transform .35s var(--ease); visibility: hidden;
}
.cart-drawer.open { transform: none; visibility: visible; }
.cart-drawer :focus-visible { outline-color: var(--orbit); }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-family: var(--display); font-size: var(--step-1); }
.cart-head .icon-btn:hover, .dialog-head .icon-btn:hover { background: rgba(0, 0, 0, .06); }
.cart-body { display: grid; grid-template-rows: auto 1fr auto; min-height: 0; }
.cart-items { overflow-y: auto; padding: 4px 20px; list-style: none; margin: 0; }
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line-art { aspect-ratio: 1; border-radius: 12px; background: var(--paper); padding: 6px; }
.line-art svg { width: 100%; height: 100%; }
.line h3 { font-family: var(--body); font-size: var(--step-0); font-weight: 600; line-height: 1.3; }
.line h3 a { text-decoration: none; }
.line .meta { color: var(--ink-2); font-size: var(--step--1); }
.line .price { font-weight: 600; text-align: right; }
.line-controls { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; }
.qty button { width: 32px; height: 32px; border: 0; background: none; border-radius: 999px; font-size: 1.1rem; }
.qty button:hover { background: rgba(0, 0, 0, .06); }
.qty output { min-width: 22px; text-align: center; font-weight: 600; font-size: var(--step--1); }
.cart-foot { padding: 18px 20px 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; background: var(--paper); }
.sum-row { display: flex; justify-content: space-between; }
.sum-row.total { font-weight: 700; font-size: var(--step-1); }
.cart-foot small { color: var(--ink-2); }
.cart-empty { display: grid; place-content: center; justify-items: center; gap: 16px; text-align: center; padding: 40px 24px; }
.cart-empty svg { width: 64px; height: 64px; fill: var(--haze); }
.cart-empty h3 { font-family: var(--display); font-size: var(--step-1); }
.cart-empty p { color: var(--ink-2); }

/* ---------- checkout ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); padding-block: 8px clamp(56px, 7vw, 96px); align-items: start; }
.checkout form { display: grid; gap: 36px; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; }
legend { font-family: var(--display); font-size: var(--step-1); margin-bottom: 14px; padding: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row-3 { grid-template-columns: 1fr 1fr 1fr; }
.input { display: grid; gap: 6px; font-size: var(--step--1); font-weight: 600; }
.input input, .input select {
  min-height: 50px; border-radius: var(--r-field); border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); padding: 0 14px; font-weight: 400; font-size: var(--step-0);
}
.input input:focus, .input select:focus { outline: none; border-color: var(--orbit); box-shadow: 0 0 0 3px rgba(128, 74, 132, .2); }
.input input:user-invalid { border-color: var(--danger); }
.radio-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  padding: 16px; border-radius: var(--r-field); border: 1.5px solid var(--line); background: var(--paper); cursor: pointer;
}
.radio-card:has(input:checked) { border-color: var(--ink); }
.radio-card input { accent-color: var(--orbit); width: 18px; height: 18px; margin: 0; }
.radio-card small { display: block; color: var(--ink-2); }
.notice { padding: 14px 16px; border-radius: var(--r-field); background: #e9e0ee; color: var(--ink-2); font-size: var(--step--1); }
.summary { position: sticky; top: 90px; background: var(--paper); border-radius: var(--r-tile); padding: 24px; display: grid; gap: 14px; }
.summary h2 { font-family: var(--display); font-size: var(--step-1); }
.summary .line { grid-template-columns: 64px 1fr auto; padding: 10px 0; }
.summary .line-art { position: relative; }
.summary .line-art b { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 11px; display: grid; place-items: center; }

.confirm { text-align: center; display: grid; justify-items: center; gap: 18px; padding-block: clamp(56px, 9vw, 120px); }
.confirm svg { width: 96px; height: 96px; }
.confirm h1 { font-family: var(--display); font-size: var(--step-4); }
.confirm p { color: var(--ink-2); max-width: 32rem; }
.order-no { font-weight: 700; color: var(--ink); }

/* ---------- simple pages ---------- */
.prose { max-width: 42rem; display: grid; gap: 18px; padding-bottom: clamp(56px, 7vw, 96px); color: var(--ink-2); font-size: var(--step-1); }
.prose h2 { font-family: var(--display); font-size: var(--step-2); color: var(--ink); margin-top: 18px; }
.prose strong { color: var(--ink); }

/* ---------- dialog + toast ---------- */
.size-dialog {
  border: 0; border-radius: var(--r-tile); padding: 24px; width: min(560px, calc(100% - 32px));
  background: var(--chalk); color: var(--ink);
}
.size-dialog::backdrop { background: rgba(0, 0, 0, .6); }
.size-dialog > p { color: var(--ink-2); margin: 4px 0 18px; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; }
.dialog-head h2 { font-family: var(--display); font-size: var(--step-2); }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
thead th { font-size: var(--step--1); color: var(--ink-2); font-weight: 600; }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--chalk); color: var(--ink); padding: 12px 20px; border-radius: 999px; font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
  transition: opacity .25s, transform .3s var(--ease);
  max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* sparkle burst on add-to-cart */
.burst { position: fixed; z-index: 70; width: 0; height: 0; pointer-events: none; }
.burst svg { position: absolute; width: 18px; height: 18px; left: -9px; top: -9px; fill: var(--orbit-light); animation: fly .7s var(--ease) forwards; }
@keyframes fly {
  0% { transform: translate(0, 0) scale(.3) rotate(0); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(1) rotate(90deg); opacity: 0; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 880px) {
  .main-nav { display: none; }
  .menu-btn { display: inline-grid; }
  .header-inner { grid-template-columns: auto 1fr auto; gap: 8px; }
  .brand { justify-self: center; }
  .orbit-stage { width: 150%; margin-left: -25%; margin-top: -4px; }
  .hang-tag { left: 50%; bottom: 2%; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .split-tile { min-height: 340px; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .newsletter-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .thumbs { grid-auto-flow: column; grid-auto-columns: 72px; order: 2; }
  .checkout { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
}
@media (max-width: 560px) {
  .brand img { height: 36px; }
  .facts { grid-template-columns: 1fr; }
  .facts li { padding: 18px 0; border-bottom: 1px solid var(--line-void); }
  .row, .row-3 { grid-template-columns: 1fr; }
  .search-field .field { width: 100%; }
  .search-field, .toolbar-right { width: 100%; }
  .toolbar-right .select { flex: 1; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .hang-tag { display: none; }
  .hero-top { font-size: var(--step--1); }
  .quick-add { display: none; }
  .sizes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (hover: none) {
  .quick-add { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
