/* ── „Какво е Plater“ (owner, 2026-11-13): what Plater is and what it does, right under the hero ──
   One sentence says what Plater is. Its four key words light up in turn; under it the matching row opens
   with one plain sentence and links to the feature pages, and a real venue photo follows along.
   No device screens here: the hero already plays those. The fill on the open row is the clock:
   when it ends, the next row opens (what.js); pausing stops the fill, so it stops everything. */
.pl-landing .lp-what { --what-dur: 6.5s; padding: clamp(20px, 4vw, 40px) 0 var(--sect); }

.pl-landing .lp-what-say {
  margin: 16px 0 0;
  max-width: 31ch;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(21px, 5.6vw, 30px);
  line-height: 1.36;
  letter-spacing: -.012em;
  color: var(--ink);
  text-wrap: pretty;
}
/* a key word: a hairline under it, which fills with purple while its row is open */
.pl-landing .lp-what-say .w {
  white-space: nowrap;
  padding-bottom: 1px;
  background-image: linear-gradient(var(--primary), var(--primary)), linear-gradient(var(--what-track), var(--what-track));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 2px, 100% 2px;
  cursor: pointer;
  transition: color .35s ease;
  --what-track: color-mix(in oklab, var(--ink) 16%, transparent);
}
.pl-landing .lp-what-say .w.is-on { color: var(--primary-ink); animation: lpWhatWord var(--what-dur) linear forwards; }
@keyframes lpWhatWord { from { background-size: 0% 2px, 100% 2px; } to { background-size: 100% 2px, 100% 2px; } }
@keyframes lpWhatFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* one grid: the heading and sentence, the photo, the rows. On a phone they stack in that order;
   from 960px the photo stands beside the text, as tall as the heading and the rows together */
.pl-landing .lp-what-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(22px, 5vw, 30px); }

/* the photo: four real venue photos in one frame, the open row's on top */
.pl-landing .lp-what-stage { position: relative; }
.pl-landing .lp-what-pic { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-card); overflow: hidden; background: var(--lavender); isolation: isolate; }
.pl-landing .lp-what-pic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.07);
  transition: opacity .7s ease, transform 0s linear .7s;
}
/* one grade for all four (owner: "similar filter … consistency"): colour pulled back a little, warm highlights,
   and the brand's plum in the shadows, so photos from different venues read as one evening in one place */
.pl-landing .lp-what-pic img { filter: grayscale(.25) sepia(.12) contrast(1.06) brightness(.96); }
.pl-landing .lp-what-pic::after { content: ""; position: absolute; inset: 0; z-index: 2; background: #3B2470; mix-blend-mode: soft-light; opacity: .55; pointer-events: none; }
.pl-landing .lp-what-pic img.is-on { z-index: 1; opacity: 1; transform: none; transition: opacity .7s ease, transform 7s cubic-bezier(.16, 1, .3, 1); }
.pl-landing .lp-what-pause {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: border-color .15s ease, transform .15s ease;
}
.pl-landing .lp-what-pause[hidden] { display: none; }
.pl-landing .lp-what-pause:hover { border-color: var(--primary); }
.pl-landing .lp-what-pause:active { transform: scale(.96); }
.pl-landing .lp-what-pause svg { width: 14px; height: 14px; fill: currentColor; }
.pl-landing .lp-what-pause .i-play, .pl-landing .lp-what.is-paused .lp-what-pause .i-pause { display: none; }
.pl-landing .lp-what.is-paused .lp-what-pause .i-play { display: block; }

/* the rows: each row's top rule is also its progress */
.pl-landing .lp-what-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--rule); }
.pl-landing .lp-what-row h3 { margin: 0; font: inherit; }
.pl-landing .lp-what-bar { display: block; height: 2px; overflow: hidden; background: var(--rule); }
.pl-landing .lp-what-bar::after { content: ""; display: block; height: 100%; background: var(--primary); transform: scaleX(0); transform-origin: left; }
.pl-landing .lp-what-row.is-on .lp-what-bar::after { animation: lpWhatFill var(--what-dur) linear forwards; }
.pl-landing .lp-what.is-paused .lp-what-bar::after,
.pl-landing .lp-what.is-off .lp-what-bar::after,
.pl-landing .lp-what.is-paused .lp-what-say .w,
.pl-landing .lp-what.is-off .lp-what-say .w { animation-play-state: paused; }

.pl-landing .lp-what-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 60px;
  padding: 14px 0;
  border: 0;
  background: none;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(18px, 4.8vw, 22px);
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--muted);
  cursor: pointer;
  transition: color .3s ease;
}
.pl-landing .lp-what-row.is-on .lp-what-tab, .pl-landing .lp-what-tab:hover { color: var(--ink); }
.pl-landing .lp-what-tab svg { flex: none; width: 20px; height: 20px; color: var(--muted); transition: transform .5s cubic-bezier(.16, 1, .3, 1), color .3s ease; }
.pl-landing .lp-what-row.is-on .lp-what-tab svg { transform: rotate(180deg); color: var(--primary-ink); }

.pl-landing .lp-what-body { display: grid; grid-template-rows: 1fr; }
.pl-landing .lp-what.js .lp-what-body { grid-template-rows: 0fr; transition: grid-template-rows .55s cubic-bezier(.16, 1, .3, 1); }
.pl-landing .lp-what.js .lp-what-row.is-on .lp-what-body { grid-template-rows: 1fr; }
.pl-landing .lp-what-in { min-height: 0; overflow: hidden; }
/* every row's text is as tall as the tallest, so the page under the section never moves as rows change */
.pl-landing .lp-what-in > div { box-sizing: border-box; min-height: var(--what-h, 0px); padding: 0 0 20px; }
.pl-landing .lp-what.js .lp-what-in > div { opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .5s cubic-bezier(.16, 1, .3, 1); }
.pl-landing .lp-what.js .lp-what-row.is-on .lp-what-in > div { opacity: 1; transform: none; transition-delay: .14s; }
.pl-landing .lp-what-in p { margin: 0; max-width: 50ch; color: var(--muted); font-size: 16px; line-height: 1.6; text-wrap: pretty; }
.pl-landing .lp-what-in .lp-what-links { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 6px; max-width: none; }
.pl-landing .lp-what-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; font-size: 15px; color: var(--primary-ink); text-decoration: none; }
.pl-landing .lp-what-links a span { text-underline-offset: 4px; }
.pl-landing .lp-what-links a:hover span { text-decoration: underline; }
.pl-landing .lp-what-links svg { flex: none; width: 15px; height: 15px; transition: transform .2s cubic-bezier(.16, 1, .3, 1); }
.pl-landing .lp-what-links a:hover svg { transform: translateX(3px); }
.pl-landing .lp-what:not(.js) .lp-what-stage { display: none; }

@media (min-width: 640px) {
  .pl-landing .lp-what-pic { aspect-ratio: 16 / 9; }
}
@media (min-width: 960px) {
  .pl-landing .lp-what-say { max-width: 27ch; margin-top: 20px; }
  .pl-landing .lp-what-grid { grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); grid-template-areas: "head pic" "list pic"; column-gap: clamp(40px, 6vw, 88px); row-gap: clamp(28px, 3vw, 40px); }
  .pl-landing .lp-what-head { grid-area: head; }
  .pl-landing .lp-what-list { grid-area: list; align-self: end; }
  .pl-landing .lp-what-stage { grid-area: pic; min-height: 480px; }
  .pl-landing .lp-what-pic { position: absolute; inset: 0; aspect-ratio: auto; }
  .pl-landing .lp-what-links a { min-height: 36px; }
  .pl-landing .lp-what-pause { width: 40px; height: 40px; }
}
@media (pointer: coarse) { .pl-landing .lp-what-pause { width: 44px; height: 44px; } .pl-landing .lp-what-links a { min-height: 44px; } }

/* on a phone (owner, 2026-11-13: "it doesn't look quite right"): the four parts are cards that swipe sideways, each
   with its own photo, title, sentence and links; the next card peeks in at the right. They advance with the key words
   and stop as soon as someone swipes or taps. No card is dimmed: the open one shows itself by its line filling. */
.pl-landing .lp-what-rowpic { display: none; }
@media (max-width: 767px) {
  .pl-landing .lp-what-grid { gap: 22px; }
  .pl-landing .lp-what-say { max-width: 30ch; font-size: clamp(19px, 5.3vw, 22px); line-height: 1.45; }
  .pl-landing .lp-what.js .lp-what-pic { display: none; }
  .pl-landing .lp-what.js .lp-what-stage { order: 3; display: flex; justify-content: flex-end; margin-top: -8px; }
  .pl-landing .lp-what.js .lp-what-pause { position: static; }
  .pl-landing .lp-what.js .lp-what-list {
    display: flex; gap: 12px; margin: 0 calc(-1 * var(--gutter, 22px)); padding: 2px var(--gutter, 22px) 10px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter, 22px);
    border-bottom: 0; scrollbar-width: none;
  }
  .pl-landing .lp-what.js .lp-what-list::-webkit-scrollbar { display: none; }
  .pl-landing .lp-what.js .lp-what-row {
    flex: 0 0 min(84%, 340px); scroll-snap-align: start; display: flex; flex-direction: column; overflow: hidden;
    border: 1px solid var(--rule); border-radius: var(--r-card); background: var(--paper); box-shadow: 0 18px 36px -28px rgb(25 20 40 / .4);
  }
  .pl-landing .lp-what.js .lp-what-rowpic { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; isolation: isolate; background: var(--lavender); }
  .pl-landing .lp-what-rowpic img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25) sepia(.12) contrast(1.06) brightness(.96); }
  .pl-landing .lp-what-rowpic::after { content: ""; position: absolute; inset: 0; background: #3B2470; mix-blend-mode: soft-light; opacity: .55; pointer-events: none; }
  .pl-landing .lp-what.js .lp-what-bar { height: 3px; }
  .pl-landing .lp-what.js .lp-what-tab { min-height: 0; padding: 16px 18px 6px; color: var(--ink); font-size: 20px; }
  .pl-landing .lp-what.js .lp-what-tab svg { display: none; }
  .pl-landing .lp-what.js .lp-what-body { flex: 1 1 auto; grid-template-rows: 1fr; transition: none; }
  .pl-landing .lp-what.js .lp-what-in { height: 100%; }
  .pl-landing .lp-what.js .lp-what-in > div { display: flex; flex-direction: column; min-height: 100%; padding: 0 18px 12px; opacity: 1; transform: none; transition: none; }
  .pl-landing .lp-what-in p { font-size: 15.5px; line-height: 1.55; }
  .pl-landing .lp-what-in .lp-what-links { flex-direction: column; align-items: flex-start; gap: 0; margin-top: auto; padding-top: 8px; }
  .pl-landing .lp-what-links a { min-height: 40px; }
}

/* reduced motion: nothing plays by itself; the rows still open on a tap, at once */
@media (prefers-reduced-motion: reduce) {
  .pl-landing .lp-what-say .w.is-on { animation: none; background-size: 100% 2px, 100% 2px; }
  .pl-landing .lp-what-row.is-on .lp-what-bar::after { animation: none; transform: none; }
  .pl-landing .lp-what-pic img, .pl-landing .lp-what-pic img.is-on { transition: none; transform: none; }
  .pl-landing .lp-what.js .lp-what-body, .pl-landing .lp-what.js .lp-what-in > div, .pl-landing .lp-what-tab svg { transition: none; }
}
