:root {
  --bg0: #e7ecef;
  --bg1: #f6f7f8;
  --ink: #16181c;
  --muted: #5c656e;
  --accent: #d43262;
  --line: rgba(22, 24, 28, 0.16);
  --gutter: clamp(0.85rem, 3.5vw, 2.2rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--bg0);
  color: var(--ink);
  font-family: Manrope, system-ui, sans-serif;
}

.stage {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  align-content: start;
  gap: clamp(0.55rem, 1.6vh, 1rem);
  padding: clamp(0.65rem, 1.8vh, 1.2rem) 0 clamp(0.85rem, 2.2vh, 1.4rem);
  background:
    radial-gradient(ellipse 80% 55% at 0% 0%, rgba(176, 194, 204, 0.55), transparent 58%),
    radial-gradient(ellipse 60% 45% at 100% 100%, rgba(198, 206, 204, 0.45), transparent 52%),
    linear-gradient(180deg, var(--bg1), var(--bg0));
  overflow-x: hidden;
}

.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.mast,
.collage,
.hero {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.mast,
.hero {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.mast {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 1.15rem;
  margin-bottom: 0.85rem;
}

.brand {
  font-family: Syne, sans-serif;
  font-weight: 800;
  font-size: clamp(2.35rem, 7.2vw, 4.2rem);
  letter-spacing: -0.045em;
  line-height: 0.9;
}

.mast h1 {
  max-width: 14ch;
  font-family: Syne, sans-serif;
  font-weight: 800;
  font-size: clamp(1.35rem, 3.8vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #c43262;
}

.platter {
  position: relative;
  display: inline-block;
  width: 1.02em;
  height: 1.02em;
  margin: 0 0.03em 0 0.01em;
  vertical-align: -0.16em;
}

.platter-disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.55), transparent 16%),
    radial-gradient(circle, #f7f8f8 0 4.5%, #d43262 5% 14%, transparent 14.4%),
    repeating-radial-gradient(circle, #101216 0 0.018em, #3e444c 0.018em 0.032em);
  box-shadow: inset 0 0 0 0.028em rgba(255, 255, 255, 0.7);
  animation: platter-spin 5.5s linear infinite;
}

.platter-disc::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.07em;
  height: 0.07em;
  margin: -0.035em 0 0 -0.035em;
  border-radius: 50%;
  background: #16181c;
  box-shadow: 0 0 0 0.012em rgba(255, 255, 255, 0.7);
}

.platter-arm {
  position: absolute;
  z-index: 1;
  left: 52%;
  top: 16%;
  width: 44%;
  height: 7%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f4f6f7, #8d939a);
  transform: rotate(38deg);
  transform-origin: left center;
  pointer-events: none;
}

.platter-arm::before {
  content: "";
  position: absolute;
  left: -22%;
  top: 50%;
  width: 34%;
  height: 190%;
  margin-top: -95%;
  border-radius: 2px 5px 5px 2px;
  background: #d7dbde;
  box-shadow: inset 0 0 0 1px #5c656e;
}

@keyframes platter-spin {
  to { transform: rotate(360deg); }
}

.collage {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(0.55rem, 1.5vh, 0.95rem);
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.collage-row {
  --shot-gap: clamp(0.18rem, 0.5vw, 0.4rem);
  display: flex;
  gap: var(--shot-gap);
  width: 100%;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scrollbar-width: none;
  cursor: grab;
}

.collage-row::-webkit-scrollbar {
  display: none;
}

.collage-row.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.shot {
  position: relative;
  flex: 0 0 calc((100% - (4 * var(--shot-gap))) / 5);
  min-width: 10.5rem;
  margin: 0;
  overflow: hidden;
  border-radius: clamp(0.7rem, 1.4vw, 1.05rem);
  aspect-ratio: 16 / 9;
  scroll-snap-align: start;
  background: #d7dde1;
  box-shadow:
    0 0 0 1px rgba(22, 24, 28, 0.08),
    0 8px 22px rgba(22, 24, 28, 0.1);
  animation: shot-in 0.7s ease both;
}

.collage-row-top .shot:nth-child(1) { animation-delay: 0.04s; transform: rotate(-2.2deg); }
.collage-row-top .shot:nth-child(2) { animation-delay: 0.08s; transform: rotate(1.6deg); }
.collage-row-top .shot:nth-child(3) { animation-delay: 0.12s; transform: rotate(-1.1deg); }
.collage-row-top .shot:nth-child(4) { animation-delay: 0.16s; transform: rotate(2deg); }
.collage-row-top .shot:nth-child(5) { animation-delay: 0.2s; transform: rotate(-1.8deg); }
.collage-row-bottom .shot:nth-child(1) { animation-delay: 0.24s; transform: rotate(1.8deg); }
.collage-row-bottom .shot:nth-child(2) { animation-delay: 0.28s; transform: rotate(-2deg); }
.collage-row-bottom .shot:nth-child(3) { animation-delay: 0.32s; transform: rotate(1.2deg); }
.collage-row-bottom .shot:nth-child(4) { animation-delay: 0.36s; transform: rotate(-1.5deg); }
.collage-row-bottom .shot:nth-child(5) { animation-delay: 0.4s; transform: rotate(2.1deg); }

.shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  user-select: none;
  -webkit-user-drag: none;
}

.collage-core {
  position: relative;
  z-index: 4;
  width: fit-content;
  max-width: calc(100% - 2rem);
  margin: 0.15rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  animation: core-in 0.65s ease 0.12s both;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: clamp(0.9rem, 2.1vw, 1.02rem);
  text-decoration: none;
}

.cta:hover { background: #b82652; }

.cta:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

@keyframes shot-in {
  from {
    opacity: 0;
    filter: saturate(0.85);
  }
  to {
    opacity: 1;
    filter: none;
  }
}

@keyframes core-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-start;
  gap: clamp(0.35rem, 1.1vh, 0.7rem);
  width: 100%;
  max-width: none;
  padding-top: 0.15rem;
}

.lead {
  color: var(--muted);
  font-size: clamp(0.86rem, 1.9vw, 1.02rem);
  max-width: 36rem;
}

.prices {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 0;
  margin-top: 0.85rem;
  max-height: none;
  overflow: visible;
}

.price-chip {
  padding: 0 0.95rem;
  font-size: clamp(0.74rem, 1.5vw, 0.88rem);
  white-space: nowrap;
  color: var(--ink);
}

.price-sep {
  width: 1px;
  height: 0.85em;
  background: linear-gradient(180deg, transparent, var(--accent) 20%, var(--accent) 80%, transparent);
  opacity: 0.55;
  flex: 0 0 auto;
}

.price-chip strong { font-weight: 600; }
.prices-loading, .prices-error { color: var(--muted); font-size: 0.86rem; }

@media (max-width: 900px) {
  .collage-row {
    --shot-gap: 0.28rem;
  }

  .shot {
    border-radius: 0.7rem;
    aspect-ratio: 4 / 3;
    min-width: min(42vw, 14rem);
  }
}

@media (max-width: 640px) {
  .stage {
    min-height: 100svh;
    min-height: 100dvh;
    gap: 0.55rem;
    padding:
      max(0.55rem, env(safe-area-inset-top))
      0
      max(0.75rem, env(safe-area-inset-bottom));
    align-content: center;
  }

  .mast {
    align-items: center;
    text-align: center;
    gap: 0.45rem;
    margin-bottom: 0.15rem;
  }

  .brand {
    font-size: clamp(2.1rem, 12vw, 2.75rem);
  }

  .mast h1 {
    max-width: 16ch;
    font-size: clamp(1.2rem, 6.2vw, 1.55rem);
  }

  .collage {
    gap: 0.55rem;
  }

  .collage-row {
    --shot-gap: 0.35rem;
    padding-left: max(0.55rem, env(safe-area-inset-left));
    padding-right: max(0.55rem, env(safe-area-inset-right));
  }

  .shot {
    border-radius: 0.75rem;
    aspect-ratio: 5 / 4;
    min-width: min(68vw, 16.5rem);
    box-shadow:
      0 0 0 1px rgba(22, 24, 28, 0.08),
      0 6px 16px rgba(22, 24, 28, 0.12);
  }

  .shot img {
    object-position: center 38%;
  }

  .collage-core {
    max-width: calc(100% - 1rem);
    margin: 0.05rem auto;
  }

  .cta {
    width: min(100%, 22rem);
    min-height: 3rem;
    padding: 0.95rem 1.25rem;
    font-size: 1rem;
    -webkit-tap-highlight-color: transparent;
  }

  .hero {
    gap: 0.45rem;
    padding-top: 0.1rem;
  }

  .lead {
    font-size: 0.92rem;
    line-height: 1.35;
    max-width: 28rem;
    padding: 0 0.25rem;
  }

  .prices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 0.55rem;
    margin-top: 0.45rem;
    width: min(100%, 22rem);
  }

  .price-sep {
    display: none;
  }

  .price-chip {
    padding: 0.35rem 0.45rem;
    font-size: 0.78rem;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    border-radius: 0.55rem;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: inset 0 0 0 1px rgba(22, 24, 28, 0.08);
  }
}

@media (max-width: 640px) and (max-height: 740px) {
  .stage {
    gap: 0.4rem;
    padding-top: max(0.4rem, env(safe-area-inset-top));
    padding-bottom: max(0.55rem, env(safe-area-inset-bottom));
  }

  .mast { gap: 0.3rem; }

  .brand { font-size: clamp(1.85rem, 10vw, 2.35rem); }

  .mast h1 { font-size: clamp(1.05rem, 5vw, 1.3rem); }

  .collage { gap: 0.4rem; }

  .shot {
    aspect-ratio: 16 / 10;
    min-width: min(62vw, 15rem);
  }

  .lead {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.84rem;
  }

  .prices { margin-top: 0.25rem; gap: 0.28rem 0.4rem; }

  .price-chip { font-size: 0.72rem; padding: 0.28rem 0.35rem; }

  .cta { min-height: 2.75rem; padding: 0.8rem 1.1rem; font-size: 0.95rem; }
}

@media (max-width: 640px) and (max-height: 620px) {
  .shot {
    aspect-ratio: 16 / 9;
    min-width: min(58vw, 14rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .platter-disc { animation: none; }
  .shot,
  .collage-core { animation: none; }
}
