:root {
  color-scheme: light;
  --paper: #eeebe8;
  --ink: #191918;
  --muted: #65635f;
  --line: #cfcbc6;
  --gutter: clamp(24px, 4vw, 72px);
  --ui-font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --show-columns: 112px minmax(0, 1.2fr) minmax(0, 1fr) 164px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--ui-font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
button { font: inherit; }
::selection { background: var(--ink); color: var(--paper); }
.skip-link { position: absolute; left: 20px; top: -80px; background: var(--ink); color: var(--paper); padding: 16px; z-index: 10; }
.skip-link:focus { top: 16px; }
.hero, .intro-stage { position: relative; min-height: 680px; height: 92svh; max-height: 1080px; }
.hero { isolation: isolate; overflow: hidden; background: var(--paper); }
.portrait-frame {
  position: absolute; z-index: -1; inset: 0 0 0 auto; width: 84%; height: 100%; overflow: hidden;
  /* Fade the image itself to zero before its edge. The base canvas stays one solid color. */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 23%), linear-gradient(to bottom, #000 0%, #000 62%, rgba(0,0,0,.95) 68%, rgba(0,0,0,.7) 75%, rgba(0,0,0,.3) 82%, rgba(0,0,0,.06) 88%, transparent 93%);
  mask-image: linear-gradient(to right, transparent, #000 23%), linear-gradient(to bottom, #000 0%, #000 62%, rgba(0,0,0,.95) 68%, rgba(0,0,0,.7) 75%, rgba(0,0,0,.3) 82%, rgba(0,0,0,.06) 88%, transparent 93%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.portrait { display: block; width: 100%; height: 123%; object-fit: cover; object-position: 51% top; }
.header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px var(--gutter); position: relative; z-index: 2; }
.brand { font-family: Arial, Helvetica, sans-serif; font-size: 26px; font-weight: 700; letter-spacing: -1.5px; white-space: nowrap; }
.navigation { display: flex; align-items: center; gap: 28px; }
.nav-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.nav-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-link svg { width: 14px; height: 14px; flex-shrink: 0; }
.hero-title { position: absolute; z-index: 1; left: calc(var(--gutter) - 6px); top: 31%; }
.artist-wordmark { display: block; font-family: Arial, Helvetica, sans-serif; font-size: clamp(108px, 14.5vw, 232px); font-weight: 700; line-height: 1; letter-spacing: -.075em; margin: 0; white-space: nowrap; }
/* The intro and hero share their exact title geometry: only opacity changes. */
.site-intro { display: none; position: fixed; inset: 0; z-index: 5; background: var(--ink); color: var(--paper); overflow: hidden; pointer-events: none; }
[data-intro] .site-intro { display: block; animation: intro-out .9s cubic-bezier(.22, 1, .36, 1) 2.3s both; }
.intro-wordmark { animation: intro-in 1s cubic-bezier(.22, 1, .36, 1) .15s both; }
.intro-subtitle { display: block; margin: 24px 0 0 6px; font-size: 13px; font-weight: 500; line-height: 1.4; letter-spacing: .2em; color: #bcb9b6; animation: intro-in 1s cubic-bezier(.22, 1, .36, 1) .4s both; }
@keyframes intro-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes intro-out { from { opacity: 1; visibility: visible; } to { opacity: 0; visibility: hidden; } }
.concerts { padding: 50px var(--gutter) 68px; min-height: 380px; max-width: 1680px; margin: auto; }
.section-heading { padding-bottom: 26px; border-bottom: 1px solid var(--ink); }
h2 { font-size: clamp(42px, 6.2vw, 88px); font-weight: 600; line-height: 1.05; letter-spacing: -.065em; margin: 0; }
.message { padding: 45px 0 14px; }
.message p { font-size: clamp(21px, 2.5vw, 30px); font-weight: 400; letter-spacing: -.025em; margin: 0 0 12px; }
.message > span { display: block; color: var(--muted); font-size: 14px; line-height: 1.6; }
.retry { margin-top: 24px; border: 1px solid var(--ink); padding: 12px 20px; color: var(--ink); background: transparent; cursor: pointer; transition: background .2s, color .2s; }
.retry:hover { background: var(--ink); color: var(--paper); }
.schedule-columns { display: grid; grid-template-columns: var(--show-columns); gap: 24px; padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.schedule-columns > :last-child { text-align: right; }
.show-list { list-style: none; padding: 0; margin: 0; }
.show { display: grid; grid-template-columns: var(--show-columns); align-items: center; gap: 24px; padding: 28px 0; min-height: 124px; border-bottom: 1px solid var(--line); }
.show-date { position: relative; font-size: 36px; font-weight: 600; line-height: 1.1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.show-date small { position: absolute; top: 100%; left: 0; display: block; font-family: var(--ui-font); font-size: 11px; font-weight: 600; letter-spacing: .05em; color: var(--muted); margin-top: 10px; }
.show-city { font-size: clamp(28px, 3vw, 42px); font-weight: 600; line-height: 1.15; letter-spacing: -.035em; margin: 0; overflow-wrap: anywhere; }
.show-venue { font-size: 18px; font-weight: 600; color: var(--muted); line-height: 1.35; letter-spacing: -.015em; overflow-wrap: anywhere; margin: 0; }
.field-label { display: block; position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; font-family: var(--ui-font); font-size: 10px; font-weight: 600; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; }
.ticket { justify-self: end; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 17px; border: 1px solid var(--ink); color: var(--ink); background: transparent; font-size: 15px; font-weight: 600; line-height: 1.2; letter-spacing: -.015em; white-space: nowrap; transition: color .2s, background .2s; }
.ticket:focus-visible { outline-color: var(--ink); }
.ticket svg { flex-shrink: 0; width: 16px; height: 16px; }
.ticket:hover { color: var(--paper); background: var(--ink); }
.ticket-pending { justify-self: end; font-size: 15px; font-weight: 600; color: var(--muted); }
.sold-out { justify-self: end; display: inline-flex; align-items: center; gap: 9px; max-width: 100%; padding: 10px 12px; border: 1px solid #999590; background: #e5e2de; box-shadow: inset 1px 1px 0 #faf8f5, inset -1px -1px 0 #d0ccc6; }
.sold-out-mark { display: grid; place-items: center; flex: 0 0 22px; width: 22px; height: 22px; border: 1px solid #a08e65; background: #e8dab9; color: #403725; font-family: Georgia, serif; font-size: 16px; font-weight: 700; line-height: 1; }
.sold-out-copy { display: flex; flex-direction: column; gap: 3px; }
.sold-out-copy strong { font-size: 15px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.sold-out-copy > span { font-size: 11px; line-height: 1.2; color: #56514b; white-space: nowrap; }
.footer { margin: 0 var(--gutter); padding: 25px 0 32px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.footer > span { font-size: 11px; color: var(--muted); }
.footer-credit { font-size: 12px; line-height: 1.5; padding: 12px 0; color: var(--muted); transition: color .2s; }
.footer-credit:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.back-top { justify-self: end; font-size: 12px; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.back-top span { font-size: 18px; }
.noscript { color: var(--muted); }
@media (min-width: 1680px) {
  .hero-title { left: max(var(--gutter), calc((100vw - 1536px)/2)); }
  .portrait-frame { width: 80%; }
}
@media (min-width: 768px) and (max-width: 1050px) {
  :root { --show-columns: 90px minmax(0, 1.15fr) minmax(0, 1fr) 150px; }
  .show, .schedule-columns { gap: 18px; }
  .show-date { font-size: 32px; }
  .show-city { font-size: 30px; }
  .show-venue { font-size: 17px; }
  .ticket { font-size: 15px; padding-inline: 16px; }
  .sold-out { padding-inline: 8px; gap: 7px; }
  .sold-out-copy > span { white-space: normal; }
}
@media (max-width: 767px) {
  .hero, .intro-stage { height: 87svh; min-height: 640px; max-height: 920px; }
  .header { padding-top: 16px; gap: 18px; }
  .brand { font-size: 23px; letter-spacing: -1.3px; }
  .navigation { gap: 20px; }
  .nav-link { font-size: 12px; }
  .portrait-frame {
    top: 160px; height: calc(100% - 160px); width: 145%; max-width: none; left: -22%; right: auto;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 59%, rgba(0,0,0,.94) 66%, rgba(0,0,0,.64) 74%, rgba(0,0,0,.25) 82%, rgba(0,0,0,.04) 88%, transparent 93%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 59%, rgba(0,0,0,.94) 66%, rgba(0,0,0,.64) 74%, rgba(0,0,0,.25) 82%, rgba(0,0,0,.04) 88%, transparent 93%);
  }
  .hero-title { left: calc(var(--gutter) - 3px); right: var(--gutter); top: 93px; }
  .artist-wordmark { font-size: clamp(84px, 30vw, 208px); letter-spacing: -.075em; }
  .intro-subtitle { margin-top: 18px; margin-left: 3px; font-size: 12px; }
  .concerts { padding-top: 32px; padding-bottom: 44px; min-height: 320px; }
  .section-heading { padding-bottom: 23px; }
  h2 { font-size: 48px; }
  .message { padding-top: 32px; }
  .message p { font-size: 23px; max-width: 280px; line-height: 1.2; }
  .message > span { font-size: 13px; max-width: 270px; }
  .schedule-columns { display: none; }
  .show { grid-template-columns: 76px minmax(0, 1fr); gap: 15px 18px; padding: 25px 0; min-height: 0; }
  .show-date { grid-column: 1; grid-row: 1 / 3; font-size: 28px; align-self: start; }
  .show-date::before, .show-city::before { display: block; font-family: var(--ui-font); font-size: 10px; font-weight: 600; line-height: 1.3; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; margin-bottom: 7px; }
  .show-date::before { content: 'Дата'; }
  .show-city::before { content: 'Город'; }
  .show-city { font-size: 29px; }
  .show-venue { grid-column: 2; font-size: 16px; }
  .field-label { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; margin-bottom: 6px; }
  .ticket, .ticket-pending, .sold-out { grid-column: 2; margin-top: 2px; justify-self: start; }
  .ticket { min-height: 44px; font-size: 14px; padding: 10px 15px; }
  .sold-out { padding: 10px; gap: 7px; }
  .sold-out-copy > span { white-space: normal; }
  .footer { grid-template-columns: 1fr auto; gap: 0 16px; padding-top: 17px; padding-bottom: 22px; }
  .footer > span { font-size: 10px; }
  .footer-credit { grid-column: 1; grid-row: 2; font-size: 11px; }
  .back-top { grid-column: 2; grid-row: 1 / 3; font-size: 11px; }
}
@media (max-width: 380px) {
  :root { --gutter: 20px; }
  .hero, .intro-stage { min-height: 580px; }
  .brand { font-size: 21px; }
  .navigation { gap: 16px; }
  .nav-link { font-size: 11px; }
  .portrait-frame { width: 165%; left: -24%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-intro] .site-intro { display: none; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
