:root {
  --bg: #09090c;
  --panel: #131217;
  --muted: #b6b1bf;
  --purple: #bb9aff;
  --line: #302a39;
}
body { background: var(--bg); color: #f7f4fb; }
header { height: 71px; margin-inline: 5%; border-color: var(--line); }
header nav a { color: #eee9f6; }
header .navcta { display: none; }
.logo b, em { color: var(--purple); }
.cart-trigger, .close-cart, #close-dialog { background: #17141e; border-color: #433750; }
#cart-count, .button, .add-to-cart {
  background: linear-gradient(125deg, #d0baff, #8d64dc);
  color: #170d25;
}
.button:hover, .add-to-cart:hover { background: #dccaff; }
.button, .add-to-cart { border-radius: 9px; }

.studio-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  position: relative;
  isolation: isolate;
  max-width: none;
  margin: 0;
  padding: clamp(35px, 5vw, 75px) 5% 28px;
  gap: 15px;
  background:
    radial-gradient(ellipse at 50% 66%, #8252be37, transparent 44%),
    repeating-linear-gradient(147deg, transparent 0 10%, #4a346521 14%, #0004 18%, transparent 24%),
    #08080b;
}
.studio-intro { text-align: center; position: relative; z-index: 2; }
.studio-intro h1 {
  margin: 0;
  font-size: clamp(36px, 7.1vw, 112px);
  line-height: 1;
  letter-spacing: -.075em;
  color: #f7f4fb;
}
.studio-intro h1 small {
  display: block;
  font: 600 clamp(10px, 1.1vw, 15px) var(--font);
  letter-spacing: .23em;
  color: #dacbf0;
  margin-bottom: 13px;
}
.studio-intro > p { color: #d3cddd; margin: 14px auto 0; }
.studio-intro .button, .hero-product-link { margin: 15px 4px 0; padding: 12px 17px; font-size: 13px; }
.hero-product-link { background: #111017; color: #f2eafc; border: 1px solid #675477; border-radius: 9px; cursor: pointer; }
.hero-product-link:hover, .showcase-controls button:hover { background: #bb9aff; color: #170d25; }
.keyboard-showcase { position: relative; min-width: 0; width: min(100%, 1040px); justify-self: center; }
.showcase-stage { position: relative; display: grid; place-items: center; height: clamp(230px, 30vw, 400px); isolation: isolate; }
.showcase-stage::before {
  content: "";
  position: absolute;
  width: min(58%, 550px);
  aspect-ratio: 1;
  border: 1px solid #c2a4fb50;
  border-radius: 50%;
  box-shadow: 0 0 38px #a478ec30, inset 0 0 65px #a478ec24;
  background: radial-gradient(ellipse, #bd8cff35, transparent 68%);
  scale: 1 .74;
}
.showcase-stage::after {
  content: "";
  position: absolute;
  width: 62%;
  height: 15%;
  bottom: 17%;
  border-radius: 50%;
  background: #a65dff63;
  filter: blur(34px);
  z-index: -1;
}
.showcase-image {
  position: absolute;
  width: min(80%, 790px);
  height: auto;
  transform: perspective(900px) rotateX(22deg) rotate(-12deg);
  animation: keyboard-in .46s cubic-bezier(.18,.75,.25,1) both;
}
.showcase-image[data-keyboard="0"] { clip-path: inset(31.4% 8.55% 30.2% 8.65% round 1.2%); }
.showcase-image[data-keyboard="1"] { clip-path: inset(34.5% 16.05% 34.6% 16.05% round 2%); }
.showcase-image[data-keyboard="2"] { clip-path: inset(32.74% 13.45% 37.6% 13.72% round 1%); }
.showcase-image[data-keyboard="3"] { clip-path: inset(27.8% 11.7% 27.2% 11.65% round .35%); }
.showcase-image.is-leaving { animation: keyboard-out .28s ease both; }
.showcase-controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; pointer-events: none; }
.showcase-controls button {
  position: absolute;
  top: clamp(90px, 13vw, 176px);
  width: 46px;
  height: 46px;
  background: #101015e8;
  color: #f5ecff;
  border: 1px solid #77648a;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  font-size: 22px;
  transition: background .2s, color .2s;
  z-index: 3;
}
.showcase-controls button:first-child { left: 0; }
.showcase-controls button:last-child { right: 0; }
#showcase-count { grid-column: 2; color: #cdbce6; font-size: 12px; letter-spacing: .18em; font-variant-numeric: tabular-nums; }
.showcase-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 8px 20px;
  text-align: center;
  min-height: 53px;
  padding-top: 10px;
}
.showcase-details > * { animation: keyboard-in .34s ease both; }
.showcase-details .studio-label { display: none; }
.showcase-details h2 { font: 600 14px/1.4 var(--font); letter-spacing: 0; margin: 0; }
.showcase-details strong { color: #e4d0ff; white-space: nowrap; }
@keyframes keyboard-in { from { opacity: 0; translate: var(--slide-from, 0) 0; } to { opacity: 1; translate: 0 0; } }
@keyframes keyboard-out { to { opacity: 0; scale: .97; } }

.store-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding: 22px 5%; background: #121016; border-block: 1px solid var(--line); }
.store-strip span { border-left: 2px solid #ab84ef; padding-left: 12px; }
.store-strip strong, .store-strip small { display: block; line-height: 1.4; }
.store-strip small { color: var(--muted); margin-top: 5px; }
.section, .manifesto { padding-inline: 5%; }
.section-heading h2, .manifesto h2, .faq-section h2, .closing h2 { letter-spacing: -.055em; }
.catalog { background: #0c0b0f; padding-top: 38px; }
.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.product { background: #15131a; border-color: #373040; border-radius: 12px; }
.product:hover { border-color: #a785e3; }
.product-image { height: clamp(120px, 15vw, 205px); background: radial-gradient(ellipse, #e9e0f6, #bbb0ce); }
.product-body { padding: 15px; }
.product-body, .price-row { border-color: var(--line); }
.add-to-cart { width: auto; }
.catalog-bar .tabs {
  flex-wrap: wrap;
  gap: 10px;
}
.catalog-bar .tabs button {
  padding: 10px 14px;
  min-height: 44px;
  border: 1px solid #493e58;
  border-radius: 0;
  background: #211b2b;
  color: #f1eaf8;
}
.catalog-bar .tabs button[aria-pressed="true"] {
  background: #bb9aff;
  color: #1b1128;
  border-color: #bb9aff;
}
.catalog-bar .tabs button span { color: inherit; }
.catalog-bar .tabs button:focus-visible {
  outline: 2px solid #e4d3ff;
  outline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
  .catalog-bar .tabs button:hover {
    border-color: #e1ceff;
    transform: scale(1.05);
  }
}
@media (prefers-reduced-motion: reduce) {
  .catalog-bar .tabs button { transition: none; }
  .catalog-bar .tabs button:hover { transform: none; }
}
.filters select, .search input, .load-more { background: #15121b; border-color: #483950; color: #f0e7fa; }
.manifesto { background: #100e15; color: #f2e9fb; border-block: 1px solid var(--line); }
.manifesto h2, .manifesto h3, .manifesto p, .manifesto .feature-icon { color: inherit; }
.manifesto article { background: #181420; border: 1px solid var(--line); border-radius: 12px; }
.about-art { background: radial-gradient(ellipse at 80% 70%, #5a3a904d, transparent 72%), #121018; border-color: #433354; border-radius: 12px; }
.closing { margin: 0 5%; padding: clamp(32px, 6vw, 76px); border: 1px solid #725699; border-radius: 16px; background: radial-gradient(ellipse at 85% 75%, #7550a56b, transparent 61%), #14101c; }
.faq-list details { margin-bottom: 10px; padding-inline: 16px; border: 1px solid #342a3f; border-radius: 14px; background: #15121a; }
footer, dialog, #cart-dialog, .cart-footer { background: #121016; border-color: #3e314c; }
.order-summary, .checkout-empty, .order-success, .admin-order { background: #17121f; border-color: #463653; }
.order-field > input { background: #191321; border-color: #5b4770; }
.order-back, .edit-cart, .order-consent a, .order-small, .order-intro { color: #c5b5d7; }
@media (max-width: 950px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .studio-hero { padding-top: 40px; }
  .studio-intro h1 { font-size: clamp(30px, 7.4vw, 52px); }
  .showcase-stage { height: clamp(155px, 43vw, 265px); }
  .showcase-controls button { top: clamp(55px, 17vw, 108px); width: 39px; height: 39px; }
  .store-strip, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-body { padding: 12px; }
  .product-image { height: clamp(100px, 32vw, 170px); }
  .add-to-cart { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .showcase-image, .showcase-image.is-leaving, .showcase-details > * { animation: none; }
  .showcase-controls button { transition: none; }
}

.closing {
  isolation: isolate;
  overflow: hidden;
  position: relative;
  text-align: left;
}
.closing h2, .closing .button { position: relative; z-index: 1; }
.closing h2 { max-width: 13ch; }
.closing::after {
  content: "";
  position: absolute;
  width: min(65%, 760px);
  aspect-ratio: 5 / 4;
  right: -4%;
  top: 50%;
  translate: 0 -50%;
  rotate: -17deg;
  clip-path: inset(31.4% 8.55% 30.2% 8.65% round 1.2%);
  background: url("/assets/cd60b7c00c62c17c736d.webp") center / 100% auto no-repeat;
  opacity: .82;
  z-index: -1;
}
.faq-section > div:first-child { position: relative; isolation: isolate; }
.faq-section > div:first-child::after {
  content: "?";
  display: grid;
  place-items: center;
  width: clamp(74px, 12vw, 150px);
  aspect-ratio: 1;
  margin: 30px 12px 0 auto;
  border-radius: 22%;
  transform: rotate(17deg);
  border: 1px solid #ad82f9;
  background: linear-gradient(145deg, #4b356c, #1a1026 70%);
  box-shadow: inset 0 0 18px #bd8fff4a, 0 12px 32px #9d65ed36;
  color: #e5d0ff;
  text-shadow: 0 0 15px #cb93ff;
  font: 700 clamp(40px, 7vw, 83px) var(--font);
}
@media (max-width: 700px) {
  .closing::after { right: -18%; opacity: .36; }
  .faq-section > div:first-child::after { position: absolute; right: 0; top: 0; margin: 0; z-index: -1; }
}

#products .product {
  background: #17151c;
  border: 1px solid #403747;
  border-radius: 0;
  overflow: hidden;
}
#products .product-image {
  background: #ddd3eb;
  border-radius: 0;
}
#products .product-image img {
  transition: transform .35s ease;
}
#products .product:focus-within .product-image img {
  transform: scale(1.12);
}
@media (hover: hover) and (pointer: fine) {
  #products .product:hover { border-color: #b89ae9; }
  #products .product:hover .product-image img { transform: scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  #products .product-image img { transition: none; }
  #products .product:hover .product-image img,
  #products .product:focus-within .product-image img { transform: none; }
}
