:root {
  color-scheme: dark;
  --bg: #030303;
  --bg-soft: #080808;
  --panel: rgba(10, 10, 10, 0.86);
  --panel-strong: rgba(16, 16, 16, 0.96);
  --line: rgba(255, 255, 255, 0.16);
  --line-strong: rgba(255, 255, 255, 0.3);
  --text: #f1eee7;
  --muted: #b4aea7;
  --dim: #77706b;
  --red: #d30f19;
  --red-dark: #6d070d;
  --green: #79d760;
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.72);
  --mono: "Courier New", Consolas, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 82% 16%, rgba(139, 7, 10, 0.2), transparent 29rem),
    radial-gradient(circle at 52% 18%, rgba(255, 255, 255, 0.055), transparent 22rem),
    linear-gradient(180deg, #050505 0%, #020202 100%);
  color: var(--text);
  font-family: var(--sans);
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

.site-noise,
.red-flash {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 900;
}

.site-noise {
  opacity: 0.17;
  mix-blend-mode: screen;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 3px 3px;
  animation: noiseShift 0.45s steps(2, end) infinite;
}

.red-flash {
  z-index: 1300;
  background: rgba(211, 15, 25, 0.28);
  opacity: 0;
}

.red-flash.is-active {
  animation: redFlash 0.36s ease-out;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background: #000;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader__box {
  width: min(360px, calc(100vw - 48px));
  font-family: var(--mono);
  color: var(--muted);
}

.preloader__line {
  margin: 0 0 0.55rem;
  opacity: 0;
  animation: preloadLine 1.8s ease infinite;
}

.preloader__line:nth-child(2) {
  animation-delay: 0.3s;
}

.preloader__line:nth-child(3) {
  animation-delay: 0.6s;
}

.preloader__bar {
  display: block;
  height: 2px;
  margin-top: 1.3rem;
  background: rgba(255, 255, 255, 0.13);
  overflow: hidden;
}

.preloader__bar span {
  display: block;
  height: 100%;
  width: 45%;
  background: var(--red);
  animation: preloadBar 2.2s ease-in-out infinite;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem clamp(1rem, 4vw, 4.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
}

.brand__mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--text);
  stroke-width: 2.4;
}

.brand__stitches,
.brand__smile {
  fill: none;
  stroke-linecap: round;
}

.brand__word {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.4vw, 2.15rem);
  white-space: nowrap;
}

.brand__word span {
  color: var(--red);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 1.8vw, 1.75rem);
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--muted);
}

.main-nav a,
.cart-link {
  position: relative;
  padding: 0.7rem 0.15rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-transform: uppercase;
}

.main-nav a::after,
.cart-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.35rem;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--red);
  transition: transform 0.22s ease;
}

.main-nav a:hover,
.cart-link:hover,
.main-nav a:focus-visible,
.cart-link:focus-visible {
  color: var(--text);
}

.main-nav a:hover::after,
.cart-link:hover::after,
.main-nav a:focus-visible::after,
.cart-link:focus-visible::after {
  transform: scaleX(1);
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border: 1px solid rgba(121, 215, 96, 0.45);
  color: var(--green);
  font-size: 0.75rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.cart-count.is-bumping,
.floating-cart__count.is-bumping {
  transform: scale(1.18);
  background: rgba(121, 215, 96, 0.16);
}

.floating-cart {
  position: fixed;
  right: clamp(1rem, 2.4vw, 2rem);
  bottom: clamp(1rem, 2.4vw, 2rem);
  z-index: 1050;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(211, 15, 25, 0.52);
  border-radius: 8px;
  background: rgba(4, 4, 4, 0.86);
  color: var(--text);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55), 0 0 34px rgba(211, 15, 25, 0.12);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.floating-cart:hover,
.floating-cart:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(211, 15, 25, 0.9);
  background: rgba(12, 3, 4, 0.92);
}

.floating-cart__icon {
  position: relative;
  width: 22px;
  height: 18px;
  border: 1px solid var(--text);
  border-top: 0;
}

.floating-cart__icon::before {
  content: "";
  position: absolute;
  left: 5px;
  top: -8px;
  width: 10px;
  height: 10px;
  border: 1px solid var(--text);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.floating-cart__text,
.floating-cart__count {
  font-family: var(--mono);
  text-transform: uppercase;
}

.floating-cart__count {
  display: inline-grid;
  place-items: center;
  min-width: 1.45rem;
  height: 1.45rem;
  padding: 0 0.35rem;
  border: 1px solid rgba(121, 215, 96, 0.45);
  color: var(--green);
  transition: transform 0.2s ease, background 0.2s ease;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  border-color: rgba(211, 15, 25, 0.72);
  background: rgba(211, 15, 25, 0.12);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  gap: 4px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--text);
}

.section {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) clamp(1rem, 4vw, 4.5rem);
}

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 7rem;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.82) 31%, rgba(0, 0, 0, 0.3) 58%, rgba(0, 0, 0, 0.18) 100%),
    url("assets/clown-alley.png") center right / cover no-repeat,
    #030303;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 48%, rgba(255, 255, 255, 0.08), transparent 24rem),
    radial-gradient(circle at 93% 48%, rgba(211, 15, 25, 0.18), transparent 24rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), transparent 42%, rgba(0, 0, 0, 0.22));
  pointer-events: none;
}

.hero__content,
.hero__visual {
  position: relative;
  z-index: 1;
}

.hero__content {
  width: min(640px, 44vw);
}

.hero__visual {
  display: none;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  display: grid;
  gap: 0.15em;
  margin: 0;
  max-width: 740px;
  font-family: var(--mono);
  font-size: clamp(2.55rem, 4.6vw, 4.7rem);
  line-height: 0.98;
  font-weight: 400;
}

h2 {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(1.75rem, 4vw, 3.4rem);
  line-height: 1.05;
  font-weight: 400;
}

h3 {
  margin: 0;
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 400;
}

.text-red {
  color: var(--red);
  text-shadow: 0 0 26px rgba(211, 15, 25, 0.24);
}

.hero__copy,
.section__heading p,
.contact__inner p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.hero__copy {
  max-width: 470px;
  margin: 1.9rem 0 0;
  font-family: var(--mono);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.type-line {
  min-height: 1.6em;
  margin: 0.7rem 0 0;
  color: var(--green);
  font-family: var(--mono);
}

.type-line::after {
  content: "|";
  margin-left: 0.15rem;
  color: var(--red);
  animation: blink 0.8s steps(2, end) infinite;
}

.hero__actions,
.modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 48px;
  padding: 0.85rem 1.35rem;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.86rem;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.13), transparent);
  transition: transform 0.42s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(211, 15, 25, 0.75);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.35), 0 0 30px rgba(211, 15, 25, 0.1);
}

.button:hover::before,
.button:focus-visible::before {
  transform: translateX(120%) skewX(-20deg);
}

.button--primary {
  border-color: rgba(211, 15, 25, 0.65);
  background: linear-gradient(180deg, rgba(211, 15, 25, 0.16), rgba(211, 15, 25, 0.05));
}

.button--ghost {
  color: var(--muted);
}

.button--full {
  width: 100%;
}

.fiction-note {
  max-width: 530px;
  margin: 1.8rem 0 0;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.6;
}

.scene-card {
  position: relative;
  width: min(100%, 760px);
  margin-left: auto;
  height: min(66vh, 650px);
  min-height: 420px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.1), transparent 28%, rgba(0, 0, 0, 0.06)),
    url("assets/clown-alley.png") center center / cover no-repeat,
    #050505;
  box-shadow: var(--shadow);
}

.scene-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.scene-light {
  position: absolute;
  top: 8%;
  right: 0;
  width: 24%;
  height: 80%;
  background: linear-gradient(90deg, transparent, rgba(211, 15, 25, 0.34));
  filter: blur(16px);
  opacity: 0.65;
  animation: pulseRed 5s ease-in-out infinite;
}

.alley-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
}

.hero-balloon {
  transform-origin: 360px 180px;
  animation: balloonFloat 4.8s ease-in-out infinite;
}

.clown-silhouette {
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.12));
}

.floor-reflections {
  animation: reflectionMove 3.8s ease-in-out infinite;
}

.rain {
  position: absolute;
  inset: -10%;
  opacity: 0.11;
  background-image: linear-gradient(115deg, transparent 0 47%, rgba(255, 255, 255, 0.55) 48% 50%, transparent 51% 100%);
  background-size: 42px 80px;
  animation: rainMove 1.6s linear infinite;
}

.rain--two {
  opacity: 0.07;
  background-size: 78px 120px;
  animation-duration: 2.4s;
}

.dust {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  filter: blur(1px);
  animation: dustFloat 8s ease-in-out infinite;
}

.dust--one {
  top: 31%;
  left: 54%;
}

.dust--two {
  top: 42%;
  left: 66%;
  animation-delay: -2s;
}

.dust--three {
  top: 24%;
  left: 80%;
  animation-delay: -4s;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  z-index: 2;
  width: 30px;
  height: 48px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}

.scroll-indicator span {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--red);
  transform: translateX(-50%);
  animation: scrollDot 1.4s ease-in-out infinite;
}

.section__heading {
  width: min(760px, 100%);
  margin: 0 auto clamp(2.4rem, 5vw, 4rem);
  text-align: center;
}

.catalog {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  position: relative;
  display: flex;
  min-height: 650px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  overflow: hidden;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.34);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(115deg, transparent 10%, rgba(255, 255, 255, 0.12) 45%, transparent 72%);
  transform: translateX(-80%);
  transition: opacity 0.2s ease, transform 0.45s ease;
}

.product-card:hover,
.product-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(211, 15, 25, 0.55);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.52), 0 0 48px rgba(211, 15, 25, 0.08);
}

.product-card:hover::after,
.product-card:focus-within::after {
  opacity: 1;
  transform: translateX(90%);
}

.product-card.is-pulsing {
  animation: cardPulse 0.46s ease;
}

.product-art {
  position: relative;
  height: 310px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.1), transparent 34%),
    url("assets/clown-alley.png") center center / cover no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.75)),
    #050505;
  overflow: hidden;
}

.product-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.8), transparent 42%, rgba(0, 0, 0, 0.82)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 18px);
}

.product-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 46%;
  filter: grayscale(1) contrast(1.24) brightness(0.7);
  transform: scale(1.02);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.product-card:hover .product-photo,
.product-card:focus-within .product-photo {
  filter: grayscale(1) contrast(1.32) brightness(0.82);
}

.product-card[data-size="small"] .product-photo {
  object-position: 49% 45%;
  transform: scale(0.78);
}

.product-card[data-size="medium"] .product-photo {
  object-position: 55% 45%;
  transform: scale(1.08);
}

.product-card[data-size="large"] .product-photo {
  object-position: 64% 43%;
  transform: scale(1.25);
}

.product-card[data-size="small"]:hover .product-photo,
.product-card[data-size="small"]:focus-within .product-photo {
  transform: scale(0.84);
}

.product-card[data-size="medium"]:hover .product-photo,
.product-card[data-size="medium"]:focus-within .product-photo {
  transform: scale(1.14);
}

.product-card[data-size="large"]:hover .product-photo,
.product-card[data-size="large"]:focus-within .product-photo {
  transform: scale(1.32);
}

.figure-svg {
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 82%;
  height: 94%;
  transform: translateX(-50%);
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.12));
  display: none;
}

.product-card[data-size="small"] .figure-svg {
  width: 64%;
  height: 76%;
}

.product-card[data-size="large"] .figure-svg {
  width: 95%;
  height: 102%;
}

.product-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.45rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.status::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 14px currentColor;
}

.product-content h3 {
  margin-top: 1.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.product-copy {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0 1.1rem;
  color: var(--muted);
  font-family: var(--mono);
  line-height: 1.55;
}

.product-copy strong {
  color: var(--green);
  font-weight: 400;
}

.price {
  margin-top: auto;
  color: var(--green);
  font-family: var(--mono);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.add-button {
  min-width: 48px;
  padding-inline: 0.9rem;
  font-size: 1.25rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1200px;
  margin: clamp(2rem, 4vw, 3.5rem) auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-strip div {
  display: grid;
  gap: 0.2rem;
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.018);
}

.trust-strip strong {
  font-family: var(--mono);
  text-transform: uppercase;
  font-weight: 400;
}

.trust-strip p {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.86rem;
  line-height: 1.5;
}

.trust-icon {
  color: var(--green);
  font-size: 1.8rem;
}

.process {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent),
    radial-gradient(circle at 18% 44%, rgba(211, 15, 25, 0.12), transparent 28rem);
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.steps::before {
  content: "";
  position: absolute;
  top: 42px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0.6;
}

.step {
  position: relative;
  z-index: 1;
  min-height: 230px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(3, 3, 3, 0.76);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.step:hover {
  transform: translateY(-4px);
  border-color: rgba(211, 15, 25, 0.55);
}

.step span {
  display: block;
  margin-bottom: 2.5rem;
  color: rgba(211, 15, 25, 0.82);
  font-family: var(--mono);
  font-size: 2.2rem;
}

.step p {
  color: var(--muted);
  line-height: 1.65;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 900px;
  margin: 0 auto;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  cursor: pointer;
  font-family: var(--mono);
}

summary::after {
  content: "+";
  color: var(--red);
  font-size: 1.4rem;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 1.2rem 1.2rem;
  color: var(--muted);
  line-height: 1.7;
}

.contact {
  min-height: 70svh;
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.58)),
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.08), transparent 28rem),
    radial-gradient(circle at 82% 58%, rgba(211, 15, 25, 0.16), transparent 24rem);
}

.contact__inner {
  width: min(820px, 100%);
  text-align: center;
}

.contact__inner h2 {
  font-size: clamp(2.1rem, 5vw, 4.4rem);
}

.contact__inner .button {
  margin-top: 1.3rem;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) minmax(260px, 1.4fr) minmax(160px, 0.6fr);
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 4.5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-family: var(--mono);
  font-size: 0.82rem;
  background: #020202;
}

.site-footer p {
  margin: 0;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(8px);
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1110;
  display: flex;
  flex-direction: column;
  width: min(420px, calc(100vw - 18px));
  height: 100svh;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(3, 3, 3, 0.94);
  box-shadow: var(--shadow);
  transform: translateX(102%);
  transition: transform 0.34s ease;
}

.cart-panel.is-open {
  transform: translateX(0);
}

.cart-panel__header,
.cart-panel__footer {
  padding: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-panel__header h2 {
  font-size: 1.5rem;
}

.cart-panel__footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 0;
}

.cart-panel__footer p {
  margin: 0.75rem 0 0;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.5;
}

.cart-items {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  overflow-y: auto;
}

.cart-item {
  display: grid;
  gap: 0.7rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  animation: itemIn 0.24s ease both;
}

.cart-item__top,
.cart-controls,
.subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.cart-item strong {
  font-family: var(--mono);
  font-weight: 400;
}

.cart-item span {
  color: var(--green);
  font-family: var(--mono);
}

.cart-controls button {
  width: 34px;
  height: 34px;
}

.remove-item {
  width: auto;
  padding: 0 0.7rem;
  font-size: 0.78rem;
}

.cart-empty {
  display: none;
  padding: 2rem;
  color: var(--muted);
  text-align: center;
  font-family: var(--mono);
}

.cart-empty.is-visible {
  display: block;
}

.cart-empty p {
  margin: 0 0 0.5rem;
  color: var(--text);
}

.subtotal {
  margin-bottom: 1rem;
  font-family: var(--mono);
}

.subtotal strong {
  color: var(--green);
  font-size: 1.25rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  place-items: center;
  padding: 1rem;
}

.modal.is-open {
  display: grid;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
}

.modal__card {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(760px, calc(100svh - 2rem));
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    #050505;
  box-shadow: var(--shadow);
  animation: modalIn 0.24s ease both;
}

.modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 2;
}

.modal__body {
  display: grid;
  gap: 1.2rem;
  padding: 2rem;
}

.modal__body h2 {
  padding-right: 3rem;
}

.modal__body p {
  color: var(--muted);
  line-height: 1.75;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  border: 1px solid rgba(121, 215, 96, 0.32);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.82rem;
}

.deny-card {
  max-width: 560px;
  overflow: hidden;
}

.deny-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background:
    repeating-linear-gradient(0deg, transparent 0 6px, rgba(255, 255, 255, 0.18) 7px, transparent 8px),
    radial-gradient(circle at 50% 30%, rgba(211, 15, 25, 0.34), transparent 18rem);
}

.deny-card h2 {
  position: relative;
  z-index: 1;
  color: var(--red);
}

.deny-card p,
.deny-card .modal__actions {
  position: relative;
  z-index: 1;
}

.modal--deny.is-open .deny-card {
  animation: denyIn 0.34s ease both;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1400;
  width: min(380px, calc(100vw - 2rem));
  padding: 1rem;
  border: 1px solid rgba(121, 215, 96, 0.38);
  border-radius: 8px;
  background: rgba(4, 4, 4, 0.94);
  color: var(--text);
  box-shadow: var(--shadow);
  font-family: var(--mono);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
}

.glitch {
  position: relative;
  text-shadow: 1px 0 rgba(211, 15, 25, 0.62), -1px 0 rgba(121, 215, 96, 0.35);
  animation: glitchNudge 3.8s steps(2, end) infinite;
}

.reveal {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(22px);
  transition: opacity 0.65s ease, filter 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .hero {
    min-height: 100svh;
    background-position: 60% center;
  }

  .hero__content {
    width: min(620px, 100%);
  }

  .scene-card {
    margin: 0;
    width: 100%;
    height: min(54vh, 520px);
    min-height: 360px;
    aspect-ratio: 16 / 9;
    background-position: 60% center;
  }

  .catalog-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps::before {
    display: none;
  }
}

@media (max-width: 780px) {
  body {
    padding-bottom: 82px;
  }

  .site-header {
    padding: 0.7rem 0.85rem;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .brand__word {
    max-width: calc(100vw - 116px);
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.12rem;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .main-nav {
    position: fixed;
    top: 67px;
    left: 0.75rem;
    right: 0.75rem;
    display: grid;
    gap: 0;
    padding: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.92);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav a,
  .cart-link {
    justify-content: space-between;
    width: 100%;
    padding: 0.95rem;
  }

  .section {
    padding-inline: 1rem;
  }

  .hero {
    min-height: 100svh;
    align-items: flex-start;
    padding-top: 5.8rem;
    padding-bottom: 5.8rem;
    gap: 1.65rem;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.92) 34%, rgba(0, 0, 0, 0.42) 60%, rgba(0, 0, 0, 0.94) 100%),
      url("assets/clown-alley.png") 62% bottom / auto 62% no-repeat,
      #030303;
  }

  .hero::before {
    background:
      radial-gradient(circle at 70% 64%, rgba(180, 180, 180, 0.1), transparent 14rem),
      radial-gradient(circle at 96% 72%, rgba(211, 15, 25, 0.2), transparent 14rem);
  }

  .hero__content {
    width: min(430px, 100%);
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(2.5rem, 12vw, 3.65rem);
    line-height: 1.02;
  }

  .hero__copy {
    max-width: 27ch;
    margin-top: 1.2rem;
    font-size: 0.98rem;
  }

  .type-line {
    min-height: 1.4em;
    font-size: 0.88rem;
  }

  .fiction-note {
    max-width: 29ch;
    margin-top: 1rem;
    font-size: 0.72rem;
  }

  .hero__actions {
    display: grid;
    max-width: 320px;
    margin-top: 1.25rem;
  }

  .floating-cart {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    justify-content: center;
    min-height: 58px;
    padding-bottom: max(0.7rem, env(safe-area-inset-bottom));
  }

  .catalog-grid,
  .steps,
  .trust-strip,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 0;
  }

  .product-art {
    height: 280px;
  }

  .product-card[data-size="small"] .product-photo {
    transform: scale(0.82);
    object-position: 51% 45%;
  }

  .product-card[data-size="medium"] .product-photo {
    transform: scale(1.02);
    object-position: 56% 45%;
  }

  .product-card[data-size="large"] .product-photo {
    transform: scale(1.16);
    object-position: 61% 44%;
  }

  .scroll-indicator {
    display: none;
  }
}

@media (max-width: 460px) {
  h1 {
    max-width: 8.5ch;
    font-size: clamp(2.25rem, 11.5vw, 3rem);
  }

  .brand__word {
    max-width: calc(100vw - 108px);
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1rem;
  }

  .button {
    width: 100%;
    padding-inline: 1rem;
  }

  .hero {
    min-height: 100svh;
    padding-top: 5.4rem;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.99) 0%, rgba(0, 0, 0, 0.93) 38%, rgba(0, 0, 0, 0.5) 61%, rgba(0, 0, 0, 0.96) 100%),
      url("assets/clown-alley.png") 62% bottom / auto 56% no-repeat,
      #030303;
  }

  .hero__copy {
    max-width: 25ch;
    font-size: 0.92rem;
  }

  .hero__actions {
    max-width: 100%;
  }

  .floating-cart__text {
    font-size: 0.86rem;
  }

  .product-actions {
    grid-template-columns: 1fr;
  }

  .add-button {
    width: 100%;
  }

  .cart-panel {
    width: 100vw;
  }

  .modal__body {
    padding: 1.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes noiseShift {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-1px, 1px); }
  100% { transform: translate(1px, -1px); }
}

@keyframes preloadLine {
  0%, 12% { opacity: 0; transform: translateX(-6px); }
  22%, 70% { opacity: 1; transform: translateX(0); }
  82%, 100% { opacity: 0; transform: translateX(6px); }
}

@keyframes preloadBar {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(240%); }
}

@keyframes blink {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

@keyframes rainMove {
  to { transform: translate(-40px, 80px); }
}

@keyframes dustFloat {
  0%, 100% { transform: translate(0, 0); opacity: 0.25; }
  50% { transform: translate(14px, -24px); opacity: 0.7; }
}

@keyframes pulseRed {
  0%, 100% { opacity: 0.45; transform: scaleX(0.95); }
  50% { opacity: 0.86; transform: scaleX(1.05); }
}

@keyframes balloonFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes reflectionMove {
  0%, 100% { transform: translateY(0); opacity: 0.24; }
  50% { transform: translateY(8px); opacity: 0.42; }
}

@keyframes scrollDot {
  0% { transform: translate(-50%, 0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translate(-50%, 18px); opacity: 0; }
}

@keyframes cardPulse {
  0%, 100% { transform: translateY(-5px) scale(1); }
  50% { transform: translateY(-5px) scale(1.015); filter: saturate(1.3); }
}

@keyframes itemIn {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes denyIn {
  0% { opacity: 0; transform: translateY(18px) scale(0.98); }
  45% { transform: translateX(-8px) scale(1.01); }
  62% { transform: translateX(7px) scale(1); }
  78% { transform: translateX(-3px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes redFlash {
  0% { opacity: 0; }
  24% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes glitchNudge {
  0%, 92%, 100% { transform: translate(0, 0); }
  93% { transform: translate(1px, -1px); }
  94% { transform: translate(-1px, 1px); }
  95% { transform: translate(0, 0); }
}
