/* ========================================================================
   ALENA TUISHN — portfolio site
   Design DNA: black canvas, white typography, wine accent, cinematic scale
   ======================================================================== */

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; line-height: 1.4; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
input, textarea { font: inherit; color: inherit; }

/* ---------- TOKENS ---------- */
:root {
  --bg:        #0a0a0a;
  --bg-2:      #111111;
  --ink:       #f2efe8;          /* warm off-white */
  --ink-dim:   #8a8680;
  --ink-mute:  #5a5753;
  --line:      #1e1c19;
  --wine:      #a11d3a;          /* burgundy accent */
  --wine-2:    #c6294a;
  --ease:      cubic-bezier(.22,.61,.36,1);

  --max: 1680px;
  --pad-x: clamp(20px, 4vw, 72px);

  --f-display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --f-body:    "Inter", "Helvetica Neue", Arial, sans-serif;
  --f-serif:   "Instrument Serif", "Times New Roman", serif;
}

/* ---------- BASE ---------- */
html, body { background: var(--bg); color: var(--ink); font-family: var(--f-body); }
::selection { background: var(--wine); color: var(--ink); }

/* grain overlay on black surfaces (subtle) */
.grain::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100;
  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.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1  0 0 0 0 0.1  0 0 0 0 0.1  0 0 0 0.12 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay; opacity: .35;
}

/* ---------- TYPOGRAPHY ---------- */
.eyebrow {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-dim); font-weight: 500;
}
.h-xxl {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(56px, 11vw, 184px);
  line-height: .92; letter-spacing: -.03em;
}
.h-xl {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(40px, 7vw, 110px);
  line-height: .95; letter-spacing: -.025em;
}
.h-l {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 56px);
  line-height: 1.02; letter-spacing: -.02em;
}
.h-m {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.15; letter-spacing: -.01em;
}
.serif-it {
  font-family: var(--f-serif);
  font-style: italic; font-weight: 400;
  letter-spacing: -.015em;
}
.lead {
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.55; color: var(--ink); max-width: 62ch;
}
.muted { color: var(--ink-dim); }

/* ---------- HEADER ---------- */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 22px var(--pad-x);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  mix-blend-mode: difference;        /* auto-contrasts over any bg */
  color: #fff;
}
.top a, .top button { color: #fff; }
.top__brand { justify-self: start; font-weight: 600; letter-spacing: .18em; }
.top__meta  { justify-self: center; color: #c5c0b8; }
.top__menu  { justify-self: end; display: flex; gap: 18px; align-items: center; }
.top__menu a { position: relative; padding: 4px 2px; }
.top__menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right center;
  transition: transform .35s var(--ease);
}
.top__menu a:hover::after { transform: scaleX(1); transform-origin: left center; }
.top__menu a.is-active::after { transform: scaleX(1); }

.burger {
  display: none; padding: 8px 14px; background: transparent; border: 1px solid #fff;
  border-radius: 999px; font: inherit; font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; color: #fff; cursor: pointer;
}
.burger span { display: none; }                      /* старые палочки больше не нужны */
.burger::before { content: "меню"; }
body.menu-open .burger::before { content: "закрыть"; }

/* ---------- LAYOUT HELPERS ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding: clamp(48px, 5vw, 80px) 0; }
.section--tight { padding: clamp(32px, 3vw, 48px) 0; }
.row { display: grid; gap: clamp(16px, 2vw, 32px); }
.sep { height: 1px; background: var(--line); margin: 0 var(--pad-x); }

/* ---------- HERO ---------- */
.hero {
  position: relative; padding-top: 90px;
  display: grid; grid-template-rows: auto auto;
}
.hero__collage {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense;              /* заполняем дыры — авто-укладка как масонри */
  gap: 12px;
  padding: 0 var(--pad-x);
  align-items: start;
}
.hero__tile {
  position: relative; overflow: hidden;
  background: var(--bg-2);
  aspect-ratio: 4 / 5;                /* по умолчанию — портрет; JS перебивает на реальные пропорции фото */
}
/* горизонтальное фото — ячейка занимает 2 колонки */
.hero__tile.is-landscape { aspect-ratio: auto; grid-column: span 2; }
/* квадратное — 1 колонка, но квадратная */
.hero__tile.is-square    { aspect-ratio: 1 / 1; }
.hero__tile img, .hero__tile video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hero__tile:hover img, .hero__tile:hover video { transform: scale(1.04); }

.hero__title {
  padding: clamp(28px, 3vw, 48px) var(--pad-x) clamp(28px, 3vw, 48px);
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px;
}
.hero__title h1 { max-width: 14ch; }
.hero__title h1 em { font-family: var(--f-serif); font-style: italic; color: var(--wine-2); }
.hero__title aside { text-align: right; max-width: 26ch; }

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden; white-space: nowrap;
  padding: 16px 0;
}
.marquee__track {
  display: inline-flex; gap: 56px; padding-left: 56px;
  animation: slide 42s linear infinite;
  font-family: var(--f-display); font-size: clamp(18px, 1.8vw, 28px);
  letter-spacing: -.01em; color: var(--ink);
}
.marquee__track span { display: inline-flex; align-items: center; gap: 56px; }
.marquee__track span::after { content: "✦"; color: var(--wine-2); font-size: .7em; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- SPLIT BLOCK (manifesto etc.) ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 80px);
  align-items: start;
}
.split__left  { position: sticky; top: 120px; }
.split__right { display: grid; gap: 32px; }
.split__right p { font-size: clamp(17px, 1.2vw, 20px); line-height: 1.55; color: var(--ink); max-width: 54ch; }
.split__right p:first-child { font-family: var(--f-serif); font-style: italic; font-size: clamp(22px, 2.2vw, 34px); line-height: 1.25; color: var(--ink); }

/* ---------- FEATURED WORKS ---------- */
.feat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0 var(--pad-x); align-items: start; }
.feat__item { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--bg-2); cursor: pointer; }
.feat__item.is-landscape { aspect-ratio: auto; /* JS выставит inline на основе видео */ grid-column: span 2; }
.feat__item video, .feat__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .6s var(--ease); filter: saturate(.96); }
.feat__item:hover video, .feat__item:hover img { transform: scale(1.03); filter: saturate(1.05); }
.feat__item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.65));
}
.feat__meta {
  position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2;
  display: flex; justify-content: space-between; align-items: end; gap: 12px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #fff;
}
.feat__meta strong { font-weight: 600; }
.feat__play {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center;
  opacity: 0; transition: opacity .4s var(--ease);
}
.feat__item:hover .feat__play { opacity: 1; }
.feat__play svg { width: 48px; height: 48px; filter: drop-shadow(0 6px 24px rgba(0,0,0,.6)); }

/* ---------- GENRE ROW ---------- */
.genre {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.genre__cell {
  padding: 28px clamp(16px, 2vw, 32px);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between; gap: 36px;
  min-height: 140px;
}
.genre__cell:last-child { border-right: 0; }
.genre__cell .num { font-size: 12px; letter-spacing: .18em; color: var(--ink-dim); }
.genre__cell h3 { font-family: var(--f-display); font-size: clamp(18px, 1.5vw, 22px); font-weight: 500; letter-spacing: -.01em; }

/* ---------- SERVICES ---------- */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.svc__card {
  background: var(--bg);
  padding: clamp(32px, 3vw, 56px);
  display: flex; flex-direction: column; gap: 24px;
  min-height: 380px; position: relative;
  transition: background .4s var(--ease);
}
.svc__card:hover { background: var(--bg-2); }
.svc__card .num { font-size: 12px; letter-spacing: .2em; color: var(--ink-dim); }
.svc__card h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(28px, 2.6vw, 40px); letter-spacing: -.02em; line-height: 1; }
.svc__card h3 em { font-family: var(--f-serif); font-style: italic; color: var(--wine-2); font-weight: 400; }
.svc__card .price { margin-top: auto; font-family: var(--f-display); font-size: clamp(44px, 4.5vw, 72px); font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.svc__card .price small { font-size: 14px; letter-spacing: .1em; color: var(--ink-dim); display: block; margin-bottom: 8px; text-transform: uppercase; }
.svc__card ul { display: grid; gap: 10px; color: var(--ink); font-size: 15px; line-height: 1.5; }
.svc__card ul li { position: relative; padding-left: 18px; }
.svc__card ul li::before { content: ""; position: absolute; left: 0; top: .65em; width: 8px; height: 1px; background: var(--wine-2); }
.svc__card--accent { background: var(--wine); }
.svc__card--accent:hover { background: #8b1731; }
.svc__card--accent .num, .svc__card--accent h3 em { color: #f7d5df; }
.svc__card--accent ul li::before { background: #f7d5df; }

/* ---------- PROCESS ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.steps__cell {
  background: var(--bg);
  padding: clamp(28px, 2.4vw, 40px);
  display: flex; flex-direction: column; gap: 12px; min-height: 180px;
}
.steps__cell .num { font-family: var(--f-display); font-size: clamp(36px, 3vw, 52px); font-weight: 500; color: var(--wine-2); letter-spacing: -.02em; line-height: 1; }
.steps__cell h4 { font-family: var(--f-display); font-weight: 500; font-size: 20px; letter-spacing: -.01em; }
.steps__cell p { color: var(--ink-dim); font-size: 14px; line-height: 1.55; margin-top: auto; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center;
  padding: clamp(22px, 2.2vw, 32px) 0; gap: 24px;
  font-family: var(--f-display); font-weight: 500; letter-spacing: -.01em;
  font-size: clamp(20px, 2vw, 28px); line-height: 1.15;
}
.faq__q .plus { font-size: 26px; color: var(--wine-2); transition: transform .35s var(--ease); flex-shrink: 0; }
.faq__item.is-open .faq__q .plus { transform: rotate(45deg); }
.faq__a {
  max-height: 0; overflow: hidden;
  transition: max-height .45s var(--ease);
}
.faq__a > div {
  padding: 0 0 clamp(24px, 2vw, 36px) 0;
  max-width: 66ch; color: var(--ink-dim); font-size: 16px; line-height: 1.6;
}
.faq__item.is-open .faq__a { max-height: 400px; }

/* ---------- CTA ---------- */
.cta {
  padding: clamp(56px, 6vw, 96px) var(--pad-x);
  text-align: center; position: relative;
  background: radial-gradient(ellipse at top, rgba(161,29,58,.18), transparent 60%);
}
.cta h2 { max-width: 18ch; margin: 0 auto 24px; }
.cta .pill-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- BUTTONS ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.pill:hover { background: var(--wine); color: var(--ink); transform: translateY(-2px); }
.pill--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-dim); }
.pill--ghost:hover { background: var(--ink); color: var(--bg); box-shadow: none; }
.pill--wine { background: var(--wine); color: var(--ink); }
.pill--wine:hover { background: #8b1731; }
.pill svg { width: 14px; height: 14px; }

/* ---------- ABOUT / медиахудожник ---------- */
.about-art {
  position: relative;
  padding: clamp(80px, 9vw, 160px) var(--pad-x) clamp(80px, 7vw, 120px);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.about-art__inner { max-width: var(--max); margin: 0 auto; }
.about-art__eye { color: var(--wine-2); }

.about-art__title {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(48px, 9vw, 152px); letter-spacing: -.03em; line-height: .92;
  margin: 28px 0 clamp(48px, 6vw, 96px);
  text-transform: none;
}
.about-art__title em {
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  color: var(--wine-2); letter-spacing: -.02em;
  display: inline-block;
}
.about-art__title .quiet { color: var(--ink-mute); font-style: normal; font-family: var(--f-display); font-weight: 400; }

.about-art__grid {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 88px);
  align-items: end;
}
.about-art__photo { margin: 0; position: relative; }
.about-art__photo img {
  width: 100%; height: auto; display: block;
  filter: contrast(1.02) saturate(.95);
}
.about-art__photo figcaption {
  margin-top: 14px;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-dim);
  display: flex; justify-content: space-between; gap: 12px;
}
.about-art__photo figcaption .dot { color: var(--wine-2); }

.about-art__body { display: flex; flex-direction: column; gap: 28px; }
.about-art__lead {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(20px, 1.9vw, 30px); line-height: 1.32; max-width: 36ch;
  color: var(--ink); margin: 0;
}
.about-art__lead em { font-family: var(--f-serif); font-style: italic; color: var(--wine-2); }
.about-art__note { color: var(--ink-dim); font-size: 14px; line-height: 1.6; max-width: 48ch; margin: 0; }

.about-art__list {
  list-style: none; margin: 8px 0 0; padding: 0;
  border-top: 1px solid var(--line);
}
.about-art__list li {
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-family: var(--f-display); font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 8px;
}
.about-art__list li::before { content: "→"; color: var(--wine-2); font-size: 16px; transform: translateY(-1px); }
.about-art__body .pill { align-self: flex-start; margin-top: 12px; }

@media (max-width: 820px) {
  .about-art { padding-top: 64px; padding-bottom: 56px; }
  .about-art__title { font-size: clamp(40px, 12vw, 80px); margin-bottom: 40px; }
  .about-art__grid { grid-template-columns: 1fr; gap: 36px; align-items: stretch; }
  .about-art__photo img { max-height: 70vh; object-fit: cover; }
  .about-art__lead { font-size: 18px; max-width: 100%; }
}

/* chip filter (категории портфолио) */
.chip {
  background: transparent; color: var(--ink-dim);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 11px; padding: 10px 18px;
  border: none; cursor: pointer; font-family: inherit;
}
.chip:hover { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-dim); transform: none; }
.chip.is-active { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-dim); background: transparent; }
.pgrid__item.is-hidden { display: none !important; }

/* ---------- FOOTER ---------- */
.foot {
  padding: clamp(40px, 4vw, 72px) var(--pad-x) clamp(24px, 2vw, 36px);
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; align-items: end;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim);
}
.foot__mid  { text-align: center; }
.foot__end  { text-align: right; }
.foot a { color: var(--ink); }
.foot a:hover { color: var(--wine-2); }
.foot__big { display: block; font-family: var(--f-display); font-size: clamp(14vw, 18vw, 260px); line-height: .85; letter-spacing: -.04em; font-weight: 500; color: var(--bg-2); text-align: center; margin-bottom: 40px; text-transform: none; }

/* ---------- MOBILE NAV OVERLAY ---------- */
.mnav {
  position: fixed; inset: 0; z-index: 40;
  background: var(--bg);
  display: none; flex-direction: column; padding: 84px var(--pad-x) 32px;
  gap: 4px;
}
.mnav a {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(24px, 6vw, 40px); letter-spacing: -.02em; line-height: 1.1;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.mnav__foot { margin-top: auto; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-dim); display: grid; gap: 8px; }
body.menu-open .mnav { display: flex; }
body.menu-open { overflow: hidden; }

/* ---------- PAGE HEADERS ---------- */
.phead {
  padding: 110px var(--pad-x) clamp(28px, 3vw, 48px);
  display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 32px;
  border-bottom: 1px solid var(--line);
}
.phead h1 { max-width: 16ch; }
.phead h1 em { font-family: var(--f-serif); font-style: italic; color: var(--wine-2); }
.phead .lead { justify-self: end; max-width: 48ch; }

/* ---------- PORTFOLIO GRID (photo page) ---------- */
/* фото-портфолио — масонри-стопка в своих пропорциях, без обрезки */
.pgrid {
  column-count: 3; column-gap: 4px;
  padding: 4px;
}
.pgrid__item {
  position: relative; display: block; width: 100%;
  break-inside: avoid; page-break-inside: avoid; -webkit-column-break-inside: avoid;
  margin: 0 0 4px;
  background: var(--bg-2); cursor: zoom-in; overflow: hidden;
}
.pgrid__item img { width: 100%; height: auto; display: block; transition: transform .8s var(--ease); }
.pgrid__item:hover img { transform: scale(1.03); }
/* старые модификаторы --wide / --tall больше не нужны: пропорции берутся из самого фото */
.pgrid__item--wide, .pgrid__item--tall { grid-column: auto; grid-row: auto; aspect-ratio: auto; }

/* portfolio video grid — masonry через CSS columns: плотная стопка без пустых дыр */
.vgrid {
  column-count: 3; column-gap: 12px;
  padding: 0 var(--pad-x);
}
.vgrid__item {
  position: relative; display: block; width: 100%;
  break-inside: avoid; page-break-inside: avoid; -webkit-column-break-inside: avoid;
  margin: 0 0 12px;
  overflow: hidden; background: var(--bg-2); cursor: pointer;
  aspect-ratio: 9 / 16;  /* дефолтная пропорция до загрузки видео; JS перебьёт на реальную */
}
.vgrid__item video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vgrid__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.7)); pointer-events: none; }
.vgrid__meta { position: absolute; left: 18px; right: 18px; bottom: 16px; color: #fff; z-index: 2; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; display: flex; justify-content: space-between; gap: 8px; }

/* ---------- PRICE PAGE ---------- */
.price-hero {
  padding: 120px var(--pad-x) clamp(40px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
}
.price-hero h1 { max-width: 14ch; }
.price-hero h1 em { font-family: var(--f-serif); font-style: italic; color: var(--wine-2); }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.tier {
  background: var(--bg); padding: clamp(36px, 4vw, 64px);
  display: flex; flex-direction: column; gap: 24px; min-height: 480px;
}
.tier.is-featured { background: linear-gradient(180deg, rgba(161,29,58,.18), transparent 50%); }
.tier__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.tier__name { font-family: var(--f-display); font-weight: 500; font-size: clamp(28px, 2.6vw, 42px); letter-spacing: -.02em; }
.tier__name em { font-family: var(--f-serif); font-style: italic; color: var(--wine-2); font-weight: 400; }
.tier__tag { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--wine-2); }
.tier__price { font-family: var(--f-display); font-size: clamp(56px, 6vw, 96px); font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.tier__price small { display: block; font-size: 13px; letter-spacing: .12em; color: var(--ink-dim); text-transform: uppercase; margin-bottom: 6px; font-weight: 500; }
.tier ul { display: grid; gap: 12px; font-size: 15px; line-height: 1.5; }
.tier ul li { position: relative; padding-left: 18px; color: var(--ink); }
.tier ul li::before { content: ""; position: absolute; left: 0; top: .65em; width: 8px; height: 1px; background: var(--wine-2); }
.tier .pill { margin-top: auto; align-self: start; }

.addons { padding: clamp(48px, 5vw, 72px) var(--pad-x); border-bottom: 1px solid var(--line); }
.addons h2 { margin-bottom: 32px; }
.addons__list { display: grid; grid-template-columns: 1fr; gap: 0; }
.addons__row {
  display: grid; grid-template-columns: 80px 1fr auto;
  gap: 32px; align-items: center;
  padding: 28px 0; border-top: 1px solid var(--line);
  font-size: clamp(18px, 1.6vw, 22px); font-family: var(--f-display); letter-spacing: -.01em;
}
.addons__row:last-child { border-bottom: 1px solid var(--line); }
.addons__row .n { color: var(--ink-dim); font-size: 12px; letter-spacing: .18em; }
.addons__row .p { color: var(--wine-2); font-weight: 500; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .top__meta { display: none; }
  .top__menu a { display: none; }   /* прячем ссылки, но контейнер с бургером остаётся виден */
  .burger { display: block; }
  .hero__collage { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .hero__tile { aspect-ratio: 4 / 5; }
  .hero__title { grid-template-columns: 1fr; }
  .hero__title aside { text-align: left; }
  .split { grid-template-columns: 1fr; }
  .split__left { position: static; }
  .feat { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .genre { grid-template-columns: repeat(2, 1fr); }
  .genre__cell { border-right: 1px solid var(--line); min-height: 160px; gap: 40px; padding: 28px 20px; }
  .genre__cell:nth-child(2n) { border-right: 0; }
  .svc { grid-template-columns: 1fr; }
  .svc__card { min-height: 400px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps__cell { min-height: 200px; }
  .phead { grid-template-columns: 1fr; }
  .phead .lead { justify-self: start; }
  .pgrid { column-count: 2; column-gap: 4px; }
  .pgrid__item { margin-bottom: 4px; }
  .vgrid { column-count: 2; column-gap: 8px; }
  .vgrid__item { margin-bottom: 8px; }
  .feat__item.is-landscape { grid-column: 1 / -1; }   /* горизонталки на всю ширину на мобайле */
  .tiers { grid-template-columns: 1fr; }
  .tier { min-height: 480px; }
  .addons__row { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .foot { grid-template-columns: 1fr; text-align: left; gap: 16px; }
  .foot__mid, .foot__end { text-align: left; }
  .marquee__track { font-size: 18px; gap: 32px; padding-left: 32px; }
}

/* ---------- UTILS ---------- */
.center { text-align: center; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
