/* Shop landing — "Viss kopā": the retro-modern storefront.
   Sections, in page order: shift light, hero, design ticker, rack, promoted
   collection band, design ticker, sticker wall, poster wall. */

/* ── Shift light: fills as you scroll ──────────────────────────────────── */
.shiftlight {
  position: sticky; top: var(--header-h); z-index: 20;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px;
  padding: 3px var(--gutter);
  background: var(--paper);
  border-bottom: 1px solid var(--rule-soft);
}
.shiftlight i { height: 4px; background: color-mix(in srgb, var(--ink) 10%, transparent); transition: background .12s, box-shadow .12s; }
.shiftlight i.on { background: var(--success); box-shadow: 0 0 6px var(--success); }
.shiftlight i.on:nth-child(n+6) { background: var(--orange); box-shadow: 0 0 6px var(--orange); }
.shiftlight i.on:nth-child(n+10) { background: var(--error); box-shadow: 0 0 8px var(--error); }
.shiftlight.flash i.on { animation: shift-flash .18s steps(2) infinite; }
@keyframes shift-flash { 50% { opacity: .2; } }

/* ── Hero: photographic stage, graded like print ─────────────────────────
   Change the look from these six numbers. They are the whole visual grade:

     --hero-saturate    colour density of the photograph       (0.85)
     --hero-contrast    punch                                   (1.05)
     --hero-brightness  exposure                                (0.97)
     --hero-tint        warm highlight wash, 0–1                (0.14)
     --hero-grain       film grain, 0–1 (keep 0.03–0.05)        (0.04)
     --hero-shade       strength of the gradient under the copy (0.92)
     --hero-shade-stop  where that gradient has faded out       (52%)

   With two clips on disk the hero is also a rotation. Both move at
   --hero-rate, and each appearance shows only one segment of a clip: the first
   half, then the second, with --hero-cut trimmed off every segment boundary.
   The turn length is worked out from the clip itself, so these numbers only
   steer it.

   Setting `--hero-grade: none` on .hero switches the photographic grade off
   in one line and leaves the grain, tint and gradient as they are. */
.hero {
  --hero-saturate: .85;
  --hero-contrast: 1.05;
  --hero-brightness: .97;
  --hero-tint: .14;
  --hero-grain: .04;
  --hero-shade: .92;
  --hero-shade-stop: 52%;
  --hero-height: clamp(440px, 39vw, 560px);
  /* How fast the clips move, and how much of each end of a segment is skipped.
     0.75 rather than 0.5 because the source is 25 fps: at half speed the
     player holds every frame for two refreshes and the motion reads as 12.5 fps
     judder. `--hero-cut` keeps each turn clear of the clip's turnaround (these
     clips zoom in and back out, with a short hold at the middle), so a turn
     never begins or ends on a dead stop. */
  --hero-rate: .75;
  --hero-cut: 2%;
  --hero-swap: 2400ms;
  --hero-fade: .6s;
  --hero-grade: saturate(var(--hero-saturate)) contrast(var(--hero-contrast)) brightness(var(--hero-brightness));

  position: relative;
  display: grid;
  min-height: var(--hero-height);
  overflow: hidden;
  background: var(--ink);
  color: var(--on-accent);
  isolation: isolate;
}

.hero__stage { position: absolute; inset: 0; pointer-events: none; }
.hero__stage > * { position: absolute; inset: 0; }

/* One explicit ladder instead of relying on DOM order. The poster is the
   bottom of the stack and every clip paints over it — the poster is opaque, so
   if it were allowed above a video it would simply cover it and the hero would
   look like a still photograph. The clip being faded in is lifted above its
   sibling so it dissolves in over an opaque picture instead of both elements
   being half-transparent at once (which dips through the poster mid-fade).
   Grade, grain and shade sit above all media, so the loop is graded exactly
   like the still. */
.hero__picture,
.hero__poster { z-index: 0; }
.hero__video { z-index: 1; }
.hero__video.is-live { z-index: 2; }
.hero__grade,
.hero__grain { z-index: 3; }
.hero__shade { z-index: 4; }

.hero__poster,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  background: none;
  filter: var(--hero-grade);
}
/* The picture is only a wrapper so a phone can pick the portrait poster; it
   takes no box of its own and the img above does the painting. */
.hero__picture { display: contents; }
/* The video sits above the poster and fades in once it is actually playing,
   so the first playable frame is shown rather than a jump from still to
   motion. JS adds `is-playing`; if playback never starts, the poster stays.
   `visibility` changes at the end of the fade rather than the start, so a clip
   that is fading out is not cut off mid-transition. */
.hero__video {
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--hero-fade) ease,
              visibility 0s linear var(--hero-fade);
}
.hero__video.is-playing {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--hero-fade) ease;
}

/* Warm highlight tint: one soft light from the top, never a sepia slab. */
.hero__grade {
  background:
    radial-gradient(120% 90% at 68% 0%, color-mix(in srgb, var(--amber) 30%, transparent) 0%, transparent 58%);
  mix-blend-mode: soft-light;
  opacity: var(--hero-tint);
}

/* Fine static film grain. An inline SVG turbulence tile is a fraction of the
   weight of a grain image and does not animate (no VHS, no crawling noise). */
.hero__grain {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: var(--hero-grain);
  mix-blend-mode: overlay;
}

/* The headline sits on the left third, so the left third is where the
   photograph is allowed to fall away. It is fully transparent well before the
   shirt on the right, which is the one thing that must stay untouched. */
.hero__shade {
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--ink) 92%, transparent) 0%,
    color-mix(in srgb, var(--ink) 72%, transparent) 26%,
    color-mix(in srgb, var(--ink) 30%, transparent) 42%,
    transparent var(--hero-shade-stop));
  opacity: var(--hero-shade);
}

/* The copy sits above every layer of the stage. The stage is `position:
   absolute` with its own stacking order, so the copy is not implicitly over
   it — the shade alone is a ~92 % opaque gradient and would otherwise paint
   across the headline and the button. Keep this above `.hero__shade`. */
.hero__inner {
  position: relative;
  z-index: 5;
  display: grid;
  align-items: center;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 34px var(--gutter);
}
.hero__copy { display: grid; gap: 16px; max-width: 30rem; }

/* The little plate: a Latvian tag, blue band and all, scaled down to a label.
   It is deliberately not a link — it is a mark, not a navigation. */
.hero__plate {
  justify-self: start;
  display: inline-flex;
  align-items: stretch;
  margin: 0;
  padding: 6px 10px 6px 0;
  background: var(--field-strong);
  border: 2px solid var(--ink);
  box-shadow: var(--offset-sm);
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
  letter-spacing: .1em;
  color: var(--ink);
  transform: rotate(-1.5deg);
}
.hero__plate::before {
  content: "LV";
  display: grid;
  place-items: center;
  margin-right: 8px;
  padding: 0 7px;
  background: var(--blue);
  color: var(--on-accent);
  font-family: var(--font-text);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
}
.hero__plate i { font-style: normal; color: var(--orange); }

.hero__title {
  margin: 0;
  font-size: clamp(52px, 5.6vw, 92px);
  line-height: .86;
  letter-spacing: -.005em;
  text-transform: uppercase;
  font-style: italic;
  font-weight: 800;
  color: var(--on-accent);
  text-wrap: balance;
}
.hero__title span { display: block; }
.hero__title span + span { color: var(--paper); }

.hero__lede {
  margin: 0;
  max-width: 34ch;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.4;
  color: color-mix(in srgb, var(--paper) 88%, transparent);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__actions .btn { box-shadow: 3px 3px 0 color-mix(in srgb, var(--ink) 55%, transparent); }

/* Pause / play. Only rendered when a clip exists, only shown once the script
   that can actually pause it has run. Small, in the corner, keyboard-reachable.
   Same layer as the copy, for the same reason: the shade would otherwise sit
   over it. */
.hero__toggle {
  position: absolute;
  right: var(--gutter);
  bottom: 16px;
  z-index: 5;
  display: none;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  background: color-mix(in srgb, var(--ink) 78%, transparent);
  color: var(--on-accent);
  border: 1px solid color-mix(in srgb, var(--paper) 55%, transparent);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(4px);
}
html.js-hero .hero__toggle { display: inline-flex; }
.hero__toggle:hover { background: var(--ink); border-color: var(--paper); }
/* A triangle means "play"; two bars mean "pause" — the pair of states that
   every video control uses, and the only thing that changes on press. */
.hero__toggle-icon {
  width: 9px; height: 11px;
  border: 0;
  background: linear-gradient(90deg, currentColor 0 3px, transparent 3px 6px, currentColor 6px 9px);
}
.hero[data-playing="false"] .hero__toggle-icon {
  width: 0; height: 0;
  background: none;
  border-style: solid;
  border-width: 6px 0 6px 9px;
  border-color: transparent transparent transparent currentColor;
}
.hero__toggle:focus-visible { box-shadow: var(--focus); }

/* ── Ticker: every design title, directly under the hero ────────────────
   The whole catalogue passes by on an amber band — the first thing after the
   photograph, so the collection starts with every design named. The track
   holds the titles twice; the -50% keyframe lands on an identical frame, which
   is what makes the loop seamless without measuring anything in script. */
.ticker {
  background: var(--amber);
  border-bottom: var(--outline);
  color: var(--ink);
  overflow: hidden;
}
/* The band sits under the hero, which is already a dark edge of its own, so
   the ticker brings only the rule beneath it and does not double that edge. */
.ticker__track {
  display: flex;
  width: max-content;
  padding: 10px 0;
  animation: tick 60s linear infinite;
}
/* One pass of the titles. The gap lives inside each copy rather than on the
   track, so the two copies butt together and the seam reads as one sign. */
.ticker__copy {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-right: 18px;
}
.ticker span {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 26px;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker b { color: var(--orange); font-size: 20px; }
@keyframes tick { to { transform: translateX(-50%); } }


/* ── Bays: "Pie sienas", the garage wall ─────────────────────────────────
   One photograph of a real garage wall, three garments hanging on it. The
   build (tools/make-wall.py) lays each product's studio photograph over the
   shirt already in that bay, lit by the bay's own lamp, and writes where each
   garment sits: `--x` (where its strip starts) and `--w` (how wide it is) as
   fractions of the panorama, plus `--bg`, the background-position that shows
   the same pixels inside that strip.

   The lamp is the same photograph twice. The wall is the panorama under a
   veil; each `.bay` is a strip of it whose `::before` carries a second copy of
   the panorama, scaled by 1/--w and positioned at --bg, so that copy shows
   exactly the pixels the strip sits on — no veil — and fades in on hover or
   focus. Light comes on in one bay, aligned to the cloth it lights, pixel for
   pixel, because it is the same file.

   Nothing here is a picture swap and nothing is re-drawn, so the two states
   cannot drift apart. */
.bays {
  --wall: none;
  --wall-sm: var(--wall);
  --wall-ratio: 3 / 1;
  --span: 1;
  --rail: 2;
  position: relative;
  padding: 52px 0 26px;
  color: var(--paper);
  background: color-mix(in srgb, var(--ink) 94%, var(--burgundy));
  border-block: var(--outline);
  overflow: hidden;
}
.bays__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 10px 20px;
  margin-bottom: 6px;
}
.bays__kicker {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber);
}
.bays__head h2 {
  margin: 0;
  font-size: clamp(42px, 5.4vw, 78px);
  color: var(--paper);
}
.bays__all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--amber);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .01em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--amber);
  white-space: nowrap;
}
.bays__all:hover { color: var(--paper); border-bottom-color: var(--paper); }
.bays__lede {
  margin: 0 0 10px;
  max-width: 62ch;
  padding-left: 12px;
  border-left: 4px solid var(--amber);
  font-size: 14.5px;
  line-height: 1.5;
  color: color-mix(in srgb, var(--paper) 78%, transparent);
}
.bays__hint {
  margin: 0 0 22px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--paper) 55%, transparent);
}
.bays__hint-touch { display: none; }

/* The wall: the photograph, in its own aspect ratio, filling the column. */
.bays__wall {
  position: relative;
  aspect-ratio: var(--wall-ratio);
  overflow: hidden;
  border: var(--outline);
  isolation: isolate;
  background: var(--wall) center / 100% 100% no-repeat;
}

/* The strips, and the veil over the whole picture. Dimming the panorama in
   one place — not three separate crops — is what makes an unlit bay read as a
   dark room rather than as a differently exposed photograph. */
.bays__stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Defaults for the per-strip geometry the markup sets inline, so a strip
     that arrives without it draws one whole-wall strip rather than collapsing
     to zero width. */
  --x: 0;
  --w: 1;
  --bg: 0;
}
.bays__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--ink);
  opacity: .56;
  pointer-events: none;
}
.bay {
  position: absolute;
  inset-block: 0;
  z-index: 1;
  left: calc(var(--x) * 100%);
  width: calc(var(--w) * 100%);
  display: block;
  text-decoration: none;
  color: inherit;
}
/* The lit copy. Width is the whole panorama scaled into this strip; height
   follows the picture's own ratio (`auto`), so the copy is the same size as
   the dimmed wall behind it and lines up vertically without any offset. */
.bay::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: var(--wall);
  background-size: calc(100% / var(--w)) auto;
  background-position: calc(var(--bg) * 100%) center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity .55s ease;
  mask-image: linear-gradient(90deg, transparent 0, var(--ink) 7% 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, var(--ink) 7% 93%, transparent 100%);
  pointer-events: none;
}
.bay.is-lit::before { opacity: 1; animation: bay-ignite .42s both; }
.bay:focus-visible { outline: none; }
.bay:focus-visible::before { opacity: 1; }
/* The ring is drawn above both states: a strip's edges are at the garments'
   edges and are not where the eye is, so focus has to be unmistakable. */
.bay:focus-visible::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  box-shadow: inset 0 0 0 3px var(--amber);
  pointer-events: none;
}

/* A fluorescent tube does not come on smoothly: it strikes, stutters, holds.
   Short on purpose — a slow one reads as a fade, which is the effect being
   avoided. */
@keyframes bay-ignite {
  0% { opacity: .14; }
  22% { opacity: .74; }
  40% { opacity: .3; }
  100% { opacity: 1; }
}

/* The name plate, at the foot of its own strip so the label belongs to the
   shirt above it. */
.bay__bar {
  position: absolute;
  z-index: 2;
  inset-inline: 7%;
  bottom: 4.5%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 10px;
  padding: 8px 12px;
  background: color-mix(in srgb, var(--ink) 78%, transparent);
  border-left: 3px solid var(--amber);
  color: var(--paper);
  transition: background-color .3s ease;
}
.bay.is-lit .bay__bar { background: color-mix(in srgb, var(--ink) 90%, transparent); }
.bay__no {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--paper) 62%, transparent);
}
.bay__name {
  font-family: var(--font-text);
  font-size: clamp(12px, 1.05vw, 15px);
  font-weight: 700;
  line-height: 1.25;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bay__price {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(15px, 1.3vw, 20px);
  line-height: 1;
  color: var(--amber);
  white-space: nowrap;
}
/* The strip's picture needs a name for a screen reader, but the plate already
   spells the product out; this is the photograph described, once. */
.bay__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Products the photograph has no bay for. Their own studio shots, in a plain
   row under the wall — an honest fallback, not a broken strip of concrete. */
.bays__spare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.spare {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  grid-template-areas: "photo no" "photo name" "photo price";
  align-items: center;
  column-gap: 12px;
  padding: 8px 10px;
  border: 2px solid color-mix(in srgb, var(--paper) 24%, transparent);
  color: var(--paper);
  text-decoration: none;
}
.spare:hover, .spare:focus-visible { border-color: var(--amber); }
.spare__photo {
  grid-area: photo;
  width: 58px;
  height: 58px;
  object-fit: cover;
  display: block;
  background: color-mix(in srgb, var(--ink) 80%, var(--success));
}
.spare__no {
  grid-area: no;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--paper) 55%, transparent);
}
.spare__name {
  grid-area: name;
  font-size: 13px;
  font-weight: 700;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.spare__price {
  grid-area: price;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 15px;
  color: var(--amber);
}
.bays__note {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: color-mix(in srgb, var(--paper) 60%, transparent);
}

/* ── Bays on tablets and phones ───────────────────────────────────────────
   Three strips of a 3:1 photograph cannot stay a row of three on a phone: each
   would be a sliver, and the shirts would be thumbnails. The photograph stays
   one picture — the wall simply becomes wider than the screen and scrolls —
   so every strip keeps the proportions it has on a desk and the lamp math is
   the same. This is how the reference kit does it too (a 185vw rail). */
@media (max-width: 900px) {
  .bays__head h2 { font-size: clamp(38px, 7vw, 58px); }
  /* The photograph is wider than the screen from here down. Rather than three
     slivers, the wall becomes a scroll-snapping rail of the one picture. */
  .bays__wall {
    aspect-ratio: auto;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  /* The half-size build is enough once the wall is being scrolled rather than
     read at a glance, and it halves what a phone has to download. */
  .bays__wall { background-image: var(--wall-sm); }
  .bay::before { background-image: var(--wall-sm); }
  /* The stage is the whole photograph at a width the screen cannot hold; the
     strips stay where the build put them, so their pixels still line up with
     the wall. `--span` is the sum of the strip widths, i.e. how much of the
     picture the shirts actually use; the stage is scaled so those shirts come
     out `--rail` wide in total. */
  .bays__stage {
    position: relative;
    width: calc(var(--rail) / var(--span) * 100vw);
    aspect-ratio: var(--wall-ratio);
  }
  .bay { scroll-snap-align: start; }
}
@media (max-width: 680px) {
  .bays { padding: 36px 0 22px; }
  .bays__wall { border-inline: 0; }
  .bays__stage { --rail: 2.85; }
  .bay__bar { inset-inline: 3%; bottom: 6%; padding: 6px 8px; }
  .bay__name { font-size: 11px; }
  .bays__hint-mouse { display: none; }
  .bays__hint-touch { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  .bay.is-lit::before { animation: none; }
  .bay::before { transition: none; }
}

/* ── Sticker wall: the artwork, stuck up lower down the page ─────────────
   A pale plaster wall so the ink-heavy stickers read as stickers. */
.stickerwall {
  padding: 44px 0 26px;
  background-color: var(--paper-deep);
  background-image: var(--page-texture);
  background-size: var(--page-texture-size);
  border-top: var(--outline);
}
.stickerwall__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 10px 20px;
  margin-bottom: 8px;
}
.stickerwall__head h2 { font-size: clamp(34px, 4.2vw, 58px); }
.stickerwall__head p { margin: 4px 0 0; color: var(--ink-soft); font-size: 14px; }
.stickerwall__stage {
  position: relative;
  min-height: clamp(420px, 44vw, 620px);
  margin-top: 18px;
  border-top: 1px dashed var(--rule-soft);
}
.stickerwall__hint {
  margin: 8px 0 0;
  color: var(--ink-mute);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.sticker {
  position: absolute;
  left: var(--x); top: var(--y);
  width: clamp(84px, var(--w), 190px); height: auto;
  z-index: var(--z);
  transform: rotate(var(--r));
  filter:
    drop-shadow(2px 0 0 var(--field-strong)) drop-shadow(-2px 0 0 var(--field-strong))
    drop-shadow(0 2px 0 var(--field-strong)) drop-shadow(0 -2px 0 var(--field-strong))
    drop-shadow(0 0 .6px color-mix(in srgb, var(--ink) 50%, transparent))
    drop-shadow(3px 5px 4px color-mix(in srgb, var(--ink) 28%, transparent));
  background: none;
  user-select: none;
  transition: left .6s cubic-bezier(.3, 1.3, .5, 1), top .6s cubic-bezier(.3, 1.3, .5, 1), transform .25s ease;
  animation: slap-in .45s cubic-bezier(.3, 1.7, .5, 1) backwards;
  animation-delay: calc(.2s + var(--z) * 45ms);
}
html.js-drag .sticker { cursor: grab; touch-action: none; }
html.js-drag .sticker:hover { transform: rotate(var(--r)) scale(1.06); }
.sticker.is-dragging { cursor: grabbing; transition: none; transform: rotate(var(--r)) scale(1.12); }
@keyframes slap-in { from { transform: rotate(calc(var(--r) - 25deg)) scale(1.9); opacity: 0; } }

/* ── Poster wall (C) steered by blinkers (B) ───────────────────────────── */
.wall {
  padding: 46px 0 34px;
  background: var(--paper-deep);
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 7%, transparent) 1px, transparent 1.2px);
  background-size: 6px 6px;
}
.wall__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 8px; }
.wall__head h2 { font-size: clamp(40px, 5vw, 72px); }
.wall__head p { margin: 4px 0 0; color: var(--ink-soft); font-size: 14px; }
.wall__nav { display: flex; gap: 8px; }
.blinker {
  width: 54px; height: 44px;
  background: var(--paper); color: var(--success);
  border: var(--outline); box-shadow: var(--offset-sm);
  font-size: 20px; cursor: pointer;
}
.blinker:hover, .blinker:focus-visible { animation: blink .7s steps(2, jump-none) infinite; }
.blinker:active { transform: translate(2px, 2px); box-shadow: none; }
@keyframes blink { 0% { color: var(--success); background: color-mix(in srgb, var(--success) 18%, var(--paper)); } 100% { color: color-mix(in srgb, var(--success) 40%, var(--paper)); background: var(--paper); } }
.wall__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 22%);
  gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 26px 14px 22px;
  scrollbar-color: var(--ink-mute) transparent;
}
.poster {
  position: relative; margin: 0; scroll-snap-align: start;
  padding: 10px 10px 8px; background: var(--field-strong);
  box-shadow: 0 10px 18px -10px color-mix(in srgb, var(--ink) 55%, transparent);
  transform: rotate(var(--t));
  transition: transform .25s cubic-bezier(.3, 1.4, .5, 1), box-shadow .25s;
}
.poster::before, .poster::after { content: ""; position: absolute; top: -10px; width: 60px; height: 20px; background: color-mix(in srgb, var(--rule-soft) 65%, transparent); border: 1px solid color-mix(in srgb, var(--ink) 6%, transparent); }
.poster::before { left: -12px; transform: rotate(-35deg); }
.poster::after { right: -12px; transform: rotate(35deg); }
.poster:hover { transform: rotate(0) translateY(-6px) scale(1.04); box-shadow: 0 24px 28px -16px color-mix(in srgb, var(--ink) 60%, transparent); z-index: 2; }
.poster img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.poster figcaption { display: grid; gap: 2px; margin-top: 6px; }
.poster b { font-family: var(--font-display); font-style: italic; font-size: 17px; line-height: 1; text-transform: uppercase; }
.poster span { font-size: 12px; color: var(--ink-mute); }

/* ── Hero on tablets and phones ─────────────────────────────────────────
   Below 700 px the photograph cannot hold both the back print and a
   headline, so it becomes an image above a compact dark text panel. The
   portrait poster frames the shirt; the CTA sits in the panel, not over the
   print. */
@media (max-width: 1100px) {
  .hero__title { font-size: clamp(50px, 7vw, 84px); }
  .hero__copy { max-width: 27rem; }
  .hero__poster,
  .hero__video { object-position: 58% 50%; }
}

@media (max-width: 700px) {
  .hero {
    min-height: 0;
    display: block;
    background: var(--ink);
  }
  .hero__stage {
    position: relative;
    inset: auto;
    aspect-ratio: 1 / 1;
    border-bottom: 2px solid var(--orange);
  }
  /* The portrait poster is square and fills this box whole. The desktop clip is
     3:1 and a square window can only show its middle third; 85.3% of the
     overflow is the exact window the portrait poster frames (source x 1091 of
     1920), so switching from still to motion does not move the print. */
  .hero__poster { object-position: 50% 50%; }
  .hero__video { object-position: 85.3% 50%; }
  .hero__shade {
    background: linear-gradient(180deg, transparent 62%, color-mix(in srgb, var(--ink) 55%, transparent) 100%);
  }
  .hero__inner {
    display: block;
    padding: 22px var(--gutter) 26px;
  }
  .hero__copy { max-width: none; gap: 12px; }
  .hero__plate { font-size: 13px; padding: 5px 9px 5px 0; }
  .hero__plate::before { margin-right: 6px; padding: 0 6px; font-size: 9px; }
  .hero__title { font-size: clamp(44px, 13vw, 62px); }
  .hero__lede { font-size: 15px; }
  .hero__actions .btn { min-height: 46px; padding: 11px 20px; font-size: 13px; }
  .hero__toggle { bottom: auto; top: 10px; right: var(--gutter); }
}

/* ── Landing responsive ────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .wall__track { grid-auto-columns: minmax(200px, 34%); }
}
@media (max-width: 760px) {
  .sticker { width: clamp(64px, calc(var(--w) * 1.9), 120px); }
  .wall__track { grid-auto-columns: 62%; }
  .stickerwall__stage { min-height: 420px; }
}
@media (max-width: 560px) {
  .stickerwall__stage { min-height: 380px; }
}
@media (prefers-reduced-motion: reduce) {
  .sticker, .ticker__track, .poster { animation: none !important; }
  .sticker { transition: none; }
  /* Motion gone, so the design names stand still: the band becomes ordinary
     wrapping text and the loop's second copy is not shown. */
  .ticker__track { width: auto; flex-wrap: wrap; justify-content: center; gap: 10px 18px; padding-inline: var(--gutter); }
  .ticker__copy { flex-wrap: wrap; justify-content: center; gap: 10px 18px; padding-right: 0; }
  .ticker span { font-size: 18px; }
  /* The second copy is the seam of the loop; with no loop it is a repeat. */
  .ticker__copy + .ticker__copy { display: none; }
  .blinker:hover, .blinker:focus-visible { animation: none; color: var(--success); }
  /* The clip is never fetched in this mode, so the poster is the hero — and
     the pause control, which the script never reveals, has nothing to stop. */
  .hero__toggle { display: none !important; }
}

/* ── Promoted collection band ──────────────────────────────────────────────
   Sits below the rack when the merchant has promoted a collection on
   /admin/kolekcijas. Deliberately one colour, no animation: the hero and the
   poster wall already move.
   The optional banner photo is a tinted backdrop, not a full-bleed image, so
   the copy stays readable whatever the photo is. */
.collband {
  position: relative;
  padding: 46px 0;
  background: var(--burgundy);
  border-block: var(--outline);
  color: var(--paper);
  overflow: hidden;
}
.collband::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--band-img, none);
  background-size: cover; background-position: center;
  opacity: .22; filter: grayscale(1) contrast(1.15);
  pointer-events: none;
}
.collband__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px; align-items: center;
}
.collband__kicker {
  margin: 0 0 4px; font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--amber);
}
.collband h2 {
  margin: 0 0 10px; font-size: clamp(34px, 4.6vw, 62px); line-height: .95;
  text-transform: uppercase; font-style: italic;
}
.collband__lede { margin: 0 0 16px; max-width: 46ch; color: color-mix(in srgb, var(--paper) 86%, transparent); font-size: 15px; }
.collband__items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.collband__item {
  display: block; background: var(--paper); color: var(--ink); text-decoration: none;
  border: 2px solid var(--ink); box-shadow: 4px 4px 0 color-mix(in srgb, var(--ink) 35%, transparent);
  transition: transform .12s ease, box-shadow .12s ease;
}
.collband__item:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 color-mix(in srgb, var(--ink) 45%, transparent); }
.collband__item img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--field-strong); }
.collband__item > span { display: block; padding: 7px 8px 9px; }
.collband__item b { display: block; font-size: 12px; line-height: 1.2; }
.collband__item span span { font-size: 12px; font-weight: 700; color: var(--orange); }
@media (max-width: 900px) {
  .collband__inner { grid-template-columns: 1fr; gap: 24px; }
  .collband__items { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .collband__item b { font-size: 11px; }
}
@media (max-width: 560px) {
  .collband { padding: 34px 0; }
  .collband__items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
