/* Максим Заяц: мятный фон, морковные кнопки, толстые чёрные рамки и жёсткие тени,
   заголовки Rubik. Свои концерты — «билетами» с корешком, сборные вечера — карточками с датами. */

@font-face {
  font-family: 'Rubik'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url('/fonts/rubik-cyrillic-var.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Rubik'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url('/fonts/rubik-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --mint: #e6f5ec;
  --card: #ffffff;
  --ink: #121212;
  --ink-2: #3f4541;
  --ink-3: #6d7570;
  --carrot: #ff6b1a;
  --carrot-deep: #e2560a;
  --forest: #0f3d2a;
  --leaf: #0f7a4a;
  --sun: #ffd23f;
  --edge: 2.5px solid var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --round: 14px;
  --frame: 1360px;
  --head: 'Rubik', 'Trebuchet MS', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--mint); color: var(--ink); font: 17px/1.65 'Rubik', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.box { max-width: var(--frame); margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px); }
a { color: var(--leaf); text-decoration: none; font-weight: 500; }
a:hover { color: var(--forest); }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--head); line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.015em; }
h1 { font-size: clamp(34px, 5vw, 68px); font-weight: 900; }
h2 { font-size: clamp(24px, 2.8vw, 36px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 14px; }
.nw { white-space: nowrap; }

/* --- шапка: белая полоса с толстой линией снизу --- */
.bar { background: var(--card); border-bottom: 3px solid var(--ink); }
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; padding-top: 12px; padding-bottom: 12px; }
.brand-mark { display: grid; gap: 2px; color: var(--ink); }
.brand-mark:hover { color: var(--ink); }
.brand-mark b { font-family: var(--head); font-size: 19px; font-weight: 900; line-height: 1.25; }
.brand-mark span { font-size: 14px; color: var(--ink-3); font-weight: 400; }
.links { display: flex; flex-wrap: wrap; gap: 10px; }
.links a { color: var(--ink); font-weight: 700; font-size: 15px; padding: 7px 16px; border: var(--edge); border-radius: 10px; background: var(--card); box-shadow: 3px 3px 0 var(--ink); }
.links a:hover { background: var(--sun); color: var(--ink); }
.links a[aria-current="page"] { background: var(--sun); }

/* --- первый экран --- */
.hero-z { padding: clamp(36px, 5vw, 72px) 0 clamp(30px, 4vw, 56px); }
.hero-z-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 380px); gap: clamp(28px, 5vw, 72px); align-items: center; }
.tag { display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; background: var(--sun); border: var(--edge); border-radius: 999px; padding: 4px 14px; margin-bottom: 20px; }
.intro-text { color: var(--ink-2); font-size: 18px; max-width: 720px; }
.pic { margin: 0; }
.pic img { display: block; width: 100%; height: auto; border: 3px solid var(--ink); border-radius: var(--round); box-shadow: 9px 9px 0 var(--ink); transform: rotate(1.5deg); background: var(--card); }
.stickers { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.sticker { background: var(--card); border: var(--edge); border-radius: 12px; box-shadow: 4px 4px 0 var(--ink); padding: 10px 16px; min-width: 120px; }
.sticker:nth-child(2) { background: var(--sun); }
.sticker b { display: block; font-family: var(--head); font-size: clamp(22px, 2.4vw, 30px); font-weight: 900; line-height: 1.15; white-space: nowrap; }
.sticker span { font-size: 14px; color: var(--ink-2); }

/* --- блоки --- */
.part { padding: clamp(28px, 3.5vw, 48px) 0; }
.part-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 20px; }
.part-head h2 { margin: 0; }
.note { color: var(--ink-3); font-size: 14px; }

/* --- свои концерты: «билет» с корешком даты --- */
.tickets { display: grid; gap: 16px; }
.ticket { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; background: var(--card); border: var(--edge); border-radius: var(--round); box-shadow: var(--shadow); overflow: hidden; }
.stub { display: grid; place-content: center; text-align: center; background: var(--sun); border-right: 2.5px dashed var(--ink); padding: 14px 8px; }
.stub b { font-family: var(--head); font-size: 36px; font-weight: 900; line-height: 1; }
.stub span { font-size: 13px; font-weight: 700; text-transform: uppercase; margin-top: 4px; }
.ticket-body { padding: 16px 22px; align-self: center; }
.ticket-city { font-family: var(--head); font-size: 21px; font-weight: 800; line-height: 1.25; }
.ticket-place { color: var(--ink-2); font-size: 15px; }
.ticket-show { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 700; background: var(--mint); border: 1.5px solid var(--ink); border-radius: 999px; padding: 1px 10px; }
.ticket-buy { display: flex; align-items: center; gap: 18px; padding: 16px 22px; }
.cost { font-weight: 700; white-space: nowrap; }
.cta { display: inline-block; background: var(--carrot); color: #fff; font-weight: 800; font-size: 15px; padding: 10px 22px; border: var(--edge); border-radius: 10px; box-shadow: 3px 3px 0 var(--ink); white-space: nowrap; }
.cta:hover { background: var(--carrot-deep); color: #fff; transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }

/* --- сборные вечера: карточки шоу с ближайшими датами --- */
.shows-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.show-card { display: flex; flex-direction: column; gap: 10px; background: var(--card); border: var(--edge); border-radius: var(--round); box-shadow: var(--shadow); padding: 18px 20px 20px; }
.show-card h3 { margin: 0; font-weight: 800; }
.show-where { color: var(--ink-2); font-size: 15px; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 4px; padding: 0; list-style: none; }
.chips li { font-size: 13px; font-weight: 600; background: var(--mint); border: 1.5px solid var(--ink); border-radius: 8px; padding: 2px 8px; white-space: nowrap; }
.chips li.more { background: var(--sun); }
.show-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 6px; }
.portal-note { margin: 28px 0 0; color: var(--ink-2); }
.empty-z { background: var(--card); border: var(--edge); border-radius: var(--round); padding: 22px 24px; }

/* --- биография --- */
.story { max-width: 880px; }
.story h2 { margin: 44px 0 16px; padding-bottom: 8px; border-bottom: 6px solid var(--sun); display: inline-block; }
.story h2:first-child { margin-top: 0; }
.story ul { padding-left: 22px; }
.story li { margin-bottom: 8px; }
.facts-z { width: 100%; border-collapse: separate; border-spacing: 0; margin: 8px 0 22px; font-size: 16px; background: var(--card); border: var(--edge); border-radius: var(--round); overflow: hidden; }
.facts-z th, .facts-z td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1.5px solid #d5e3da; }
.facts-z tr:last-child th, .facts-z tr:last-child td { border-bottom: 0; }
.facts-z th { width: 30%; color: var(--ink-3); font-weight: 600; }
.src { color: var(--ink-2); font-size: 15px; padding-left: 22px; }
.src li { margin-bottom: 6px; }

/* --- видео --- */
.hop { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.hop a { color: var(--ink); font-weight: 700; font-size: 14px; padding: 6px 14px; border: var(--edge); border-radius: 10px; background: var(--card); box-shadow: 3px 3px 0 var(--ink); }
.hop a:hover { background: var(--sun); color: var(--ink); }
.reel { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.reel-item { display: block; color: var(--ink); background: var(--card); border: var(--edge); border-radius: var(--round); box-shadow: var(--shadow); overflow: hidden; }
.reel-item:hover { color: var(--ink); background: #fffbe8; }
.reel-item img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: var(--edge); background: var(--mint); }
.reel-title { padding: 12px 16px 4px; font-weight: 600; font-size: 15px; line-height: 1.4; }
.reel-meta { padding: 0 16px 14px; color: var(--ink-3); font-size: 13px; }

/* --- подвал --- */
.foot-z { background: var(--forest); color: #cfe3d7; padding: 30px 0 40px; margin-top: 30px; border-top: 3px solid var(--ink); }
.foot-z-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.foot-z b { color: #fff; font-family: var(--head); font-weight: 800; margin-right: 10px; }
.soc { display: flex; gap: 12px; }
.soc a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sun); color: var(--ink); border: 2.5px solid var(--ink); transition: transform .15s; }
.soc svg { display: block; width: 20px; height: 20px; fill: currentColor; }
.soc a:hover { transform: translateY(-2px); background: #fff; color: var(--ink); }

@media (max-width: 860px) {
  .bar-in { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-z-grid { grid-template-columns: minmax(0, 1fr); }
  .pic { max-width: 260px; order: -1; }
}
@media (max-width: 640px) {
  .ticket { grid-template-columns: 84px minmax(0, 1fr); }
  .stub { grid-row: span 2; }
  .stub b { font-size: 30px; }
  .ticket-body { padding: 14px 16px 6px; }
  .ticket-buy { grid-column: 2; justify-content: space-between; padding: 0 16px 14px; }
  .shows-grid { grid-template-columns: minmax(0, 1fr); }
  .facts-z th { width: 38%; }
}

/* биография в две колонки: справа липкая карточка «Коротко», чтобы не пустовала ширина */
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 420px); gap: clamp(28px, 4vw, 56px); align-items: start; }
.story-grid .story { max-width: none; }
.facts-side { position: sticky; top: 24px; }
.side-title { font-size: 22px; font-weight: 800; margin: 0 0 12px; }
.facts-side .facts-z { margin: 0; font-size: 15px; box-shadow: var(--shadow); }
.facts-side .facts-z th { width: 36%; }
@media (max-width: 1080px) {
  .story-grid { grid-template-columns: minmax(0, 1fr); }
  .facts-side { position: static; }
}
