/* kim90.com — КИМо-Панорама. Plain CSS, no build step. */

:root {
  --paper: #f4ead6;      /* page background */
  --cream: #f7ecd6;      /* text on red */
  --red: #7d1f1c;        /* banners */
  --red-text: #9b2e26;   /* accents, quotes */
  --gold: #f0c14b;       /* the М in КИМОПАНОРАМА */
  --ink: #1c1712;        /* main text */
  --ink-soft: #3a332a;   /* performer names */
  --blue: #2f4f73;       /* small caps lines */
  --photo-bg: #241c16;
  --glow: 0 0 8px var(--paper), 0 0 8px var(--paper);
}

html, body { margin: 0; padding: 0; background: var(--paper); font-family: 'Oswald', sans-serif; }
a { color: var(--red-text); text-decoration: none; }
a:hover { color: #c8912f; }

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 16px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block; box-sizing: border-box; text-align: center;
  padding: 16px 40px; min-width: 240px;
  font-weight: 600; font-size: 20px; letter-spacing: 0.1em; text-transform: uppercase;
  transition: background 0.15s, color 0.15s;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #f6d26f; color: var(--ink); }
.btn-outline { border: 3px solid var(--ink); color: var(--ink); padding: 13px 37px; }
.btn-outline:hover { background: var(--ink); color: var(--cream); }

/* ---------- Header: title, dates, photo, performers ---------- */

.hero { max-width: 1240px; margin: 0 auto; padding: 18px 24px 18px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--ink); }

.title-bar {
  width: 100%; box-sizing: border-box; padding: 12px 24px;
  background: var(--red);
  box-shadow: inset 0 0 0 2px var(--paper), inset 0 0 0 4px var(--red), inset 0 0 0 5px rgba(244, 234, 214, 0.5);
}
.title-bar h1 {
  margin: 0; font-weight: 700; font-size: clamp(40px, 6.4vw, 92px); line-height: 0.95;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--cream);
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.28);
}
.title-bar .gold, .site-foot .gold { color: var(--gold); }

.name-line { margin-top: 14px; display: flex; justify-content: center; align-items: baseline; gap: clamp(10px, 1.4vw, 20px); }
.name-line .first { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 500; font-size: clamp(34px, 4.4vw, 60px); line-height: 1; }
.name-line .last  { font-weight: 700; font-size: clamp(50px, 6.6vw, 90px); line-height: 0.9; letter-spacing: 0.03em; }
.name-line .age   { font-weight: 600; font-size: clamp(44px, 6vw, 82px); line-height: 0.9; color: var(--red-text); }

.subtitle {
  margin: 18px 0 0; color: var(--blue);
  font-weight: 600; font-size: clamp(13px, 3.4vw, 42px); line-height: 1.15; white-space: nowrap;
  letter-spacing: 0.2em; text-transform: uppercase;
}

/* cities, one line */
.cities { margin: 18px 0 0; white-space: nowrap; font-weight: 700; font-size: clamp(11px, 3.7vw, 42px); line-height: 1.1; text-transform: uppercase; letter-spacing: 0.02em; }
.cities a { color: var(--ink); }
.cities a:hover { color: var(--red-text); }
.cities .dot { color: var(--red-text); margin: 0 0.25em; }

.hero-photo { margin: 18px 0 0; width: min(440px, 78%); background: var(--photo-bg); box-shadow: 0 24px 50px -30px rgba(60, 30, 20, 0.7); }
.hero-photo img { display: block; width: 100%; height: auto; }

/* performers, Vizbor-style: first name black, surname red */
.cast { margin-top: 18px; max-width: 980px; }
.cast-label { margin: 0; color: var(--blue); font-weight: 500; font-size: clamp(15px, 1.6vw, 22px); letter-spacing: 0.3em; text-transform: uppercase; }
.cast p { margin: 0; }
.cast-star { margin-top: 14px !important; font-weight: 700; font-size: clamp(40px, 5vw, 68px); line-height: 1; text-transform: uppercase; color: var(--red-text); letter-spacing: 0.03em; }
.cast-star b { font-weight: 700; }
.cast-list { margin-top: 16px !important; font-weight: 700; font-size: clamp(19px, 2.2vw, 30px); line-height: 1.45; text-transform: uppercase; color: var(--ink); }
.cast-list span { white-space: nowrap; margin: 0 0.35em; }
.cast-list b { color: var(--red-text); font-weight: 700; }

.btn-big { margin-top: 18px; font-size: 24px; padding: 20px 52px; }

/* ---------- "Знаете наизусть?" ---------- */

.songs { max-width: 1100px; margin: 0 auto; padding: 18px 24px 18px; box-sizing: border-box; text-align: center; border-top: 1px solid rgba(155, 46, 38, 0.25); }
.songs h2 { margin: 0; font-family: 'Playfair Display', serif; font-style: italic; font-weight: 500; font-size: clamp(30px, 3.4vw, 44px); color: var(--ink-soft); }
.song-lines { margin: 18px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 38px; }
.song-lines span {
  display: inline-block; transform: rotate(calc(var(--r) * 0.5));
  font-family: 'Playfair Display', serif; font-style: italic; font-weight: 700;
  font-size: clamp(19px, 2vw, 27px); line-height: 1.3; color: var(--red-text);
}
.songs .punch { margin: 18px 0 0; font-family: 'Playfair Display', serif; font-style: italic; font-weight: 700; font-size: clamp(38px, 4.6vw, 62px); line-height: 1; color: var(--red-text); }

/* ---------- Schedule and tickets ---------- */

.schedule { max-width: 1240px; margin: 0 auto; padding: 18px 24px 18px; box-sizing: border-box; border-top: 1px solid rgba(155, 46, 38, 0.25); }
.schedule h2 {
  margin: 0 0 18px; text-align: center;
  font-family: 'Playfair Display', serif; font-style: italic; font-weight: 700;
  font-size: clamp(38px, 4.4vw, 60px); line-height: 1; color: var(--red-text);
}
.shows { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.show {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 28px 20px 24px; background: #fbf6ec;
  box-shadow: inset 0 0 0 1px rgba(155, 46, 38, 0.18), 0 14px 30px -24px rgba(60, 30, 20, 0.6);
}
.show p { margin: 0; }
.show .city { margin: 0; font-weight: 700; font-size: 32px; line-height: 1.05; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); }
.show .date { margin-top: 8px; font-size: 19px; font-weight: 500; color: var(--red-text); }
.show .time { font-size: 24px; font-weight: 600; line-height: 1.2; color: var(--red-text); }
.show .venue { margin-top: 12px; font-family: 'Playfair Display', serif; font-style: italic; font-weight: 500; font-size: 19px; line-height: 1.25; }
.show .venue.tbd { font-family: 'Playfair Display', serif; font-style: italic; color: var(--ink-soft); opacity: 0.8; }
.show .address { margin-top: 4px; font-weight: 300; font-size: 15px; line-height: 1.35; color: var(--ink-soft); }
.show .qr-link { margin: auto 0 0; padding-top: 18px; }
.show .qr { display: block; width: 120px; height: 120px; padding: 8px; background: #fff; }
.show .btn { margin-top: 16px; width: 100%; min-width: 0; padding: 14px 10px; }

.site-foot { background: var(--ink); color: var(--cream); text-align: center; padding: 28px 16px; }
.site-foot p { margin: 0; font-size: 16px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; }

/* ---------- "Просто Ким" ---------- */

.story {
  max-width: 1180px; margin: 0 auto; padding: 18px 24px 18px; box-sizing: border-box;
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start;
}

.collage { position: sticky; top: 32px; height: 560px; }
.snap {
  position: absolute; margin: 0;
  padding: 10px 10px 30px; background: #fbf6ec;
  box-shadow: 0 18px 36px -22px rgba(40, 20, 10, 0.7), 0 2px 6px rgba(40, 20, 10, 0.12);
  transition: transform 0.3s ease, filter 0.3s ease;
}
.snap img { display: block; width: 100%; height: auto; filter: grayscale(1) sepia(0.35) contrast(1.05); transition: filter 0.3s ease; }
.snap:hover { z-index: 5; transform: rotate(0deg) scale(1.04); }
.snap:hover img { filter: none; }
.snap-1 { width: 70%; top: 0; left: 0; transform: rotate(-4deg); z-index: 2; }
.snap-2 { width: 42%; top: 150px; right: 0; transform: rotate(5deg); z-index: 3; }
.snap-3 { width: 46%; top: 250px; left: 2%; transform: rotate(-2deg); z-index: 1; }
.snap-4 { width: 40%; top: 360px; right: 4%; transform: rotate(3deg); z-index: 4; }

.story .text { color: var(--ink); font-family: 'Playfair Display', serif; font-size: 19px; line-height: 1.65; }
.story .kicker { margin: 0; font-family: 'Oswald', sans-serif; font-weight: 500; font-size: 16px; letter-spacing: 0.42em; text-transform: uppercase; color: var(--blue); }
.story h2 { margin: 6px 0 18px; font-style: italic; font-weight: 700; font-size: clamp(44px, 5vw, 68px); line-height: 1; color: var(--red-text); }
.story p { margin: 0 0 18px; }
.story .lead::first-letter { float: left; font-size: 4.1em; line-height: 0.8; padding: 0.08em 0.1em 0 0; color: var(--red-text); font-weight: 700; }

.story .pull {
  margin: 18px 0; padding: 14px 0; text-align: center;
  border-top: 1px solid rgba(155, 46, 38, 0.35); border-bottom: 1px solid rgba(155, 46, 38, 0.35);
  font-style: italic; font-weight: 700; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; color: var(--red-text);
}
.story .pull cite { display: block; margin-top: 8px; font-family: 'Oswald', sans-serif; font-style: normal; font-weight: 400; font-size: 15px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-soft); }

.story .films > span { font-style: italic; font-weight: 700; color: var(--ink); white-space: nowrap; }
.story .closing { margin: 0; font-style: italic; font-weight: 700; font-size: 1.12em; color: var(--ink); }

/* ---------- Narrow screens ---------- */

@media (max-width: 1100px) and (min-width: 821px) {
  .shows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .btn { min-width: 0; width: 100%; max-width: 340px; }
  .btn-big { font-size: 20px; padding: 18px 16px; }
  .hero { padding: 16px 16px 18px; }
  .title-bar { padding: 10px 12px; }
  .title-bar h1 { font-size: 9.6vw; letter-spacing: 0.04em; }
  .subtitle { letter-spacing: 0.12em; font-size: 4.3vw; }
  .hero-photo { margin-top: 18px; width: 80%; }
  .cast { margin-top: 18px; }
  .cast-list span { margin: 0 0.25em; }
  .song-lines { flex-direction: column; align-items: center; gap: 6px; }
  .songs { padding: 18px 16px; }
  .shows { grid-template-columns: 1fr; gap: 16px; }
  .show .qr-link { display: none; }
  .schedule { padding: 18px 16px; }

  .story { grid-template-columns: 1fr; gap: 18px; padding: 18px 16px; }
  .collage { position: relative; top: 0; height: 0; padding-bottom: 78%; }
  .snap { padding: 6px 6px 18px; }
  .snap-1 { width: 46%; top: 2%; left: 0; }
  .snap-3 { width: 30%; top: 0; left: 40%; }
  .snap-2 { width: 28%; top: 4%; left: auto; right: 0; }
  .snap-4 { width: 34%; top: 46%; left: 30%; right: auto; }
  .story .text { font-size: 17px; }
}
