/* =========================================================================
   Naydanov — public site styles. Mobile-first, dark, high contrast.
   ========================================================================= */

@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-cyrillic.woff2") format("woff2");
  font-weight: 500 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-latin.woff2") format("woff2");
  font-weight: 500 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-cyrillic.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0c0c0e;
  --bg-2: #151518;
  --line: #2a2a30;
  --text: #f5f2ea;
  --muted: #a3a09a;
  --accent: #ffd23f;
  --accent-hover: #fff07a;
  --on-accent: #111;
  --radius: 999px;
  --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: 20px;
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.5 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: 700 14px/1 var(--font-display);
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px rgba(255, 210, 63, .6);
}
.btn--primary:active { transform: translateY(0); }
.btn--muted { background: transparent; border-color: var(--line); color: var(--muted); cursor: default; }
.btn--disabled { background: var(--bg-2); color: #8a8780; cursor: not-allowed; }
.btn--lg { min-height: 60px; padding: 18px 36px; font-size: 15px; }
.btn--sm { min-height: 40px; padding: 10px 18px; font-size: 12px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
  filter: saturate(.9) contrast(1.05) brightness(.92);
}
/* Gradient so the text at the bottom is always readable. */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 12, 14, .35) 0%, rgba(12, 12, 14, 0) 22%, rgba(12, 12, 14, 0) 38%, rgba(12, 12, 14, .85) 62%, var(--bg) 88%);
}

.hero__content {
  padding-top: 40vh;
  padding-bottom: max(40px, env(safe-area-inset-bottom));
}

.hero__kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--radius);
  font: 600 11px/1 var(--font-display);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__title {
  font: 900 clamp(30px, 9.2vw, 112px)/.98 var(--font-display);
  letter-spacing: -.02em;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.hero__tour {
  margin-top: 16px;
  font: 600 clamp(18px, 5vw, 28px)/1.2 var(--font-display);
  color: var(--accent);
}

.hero__subtitle {
  margin-top: 12px;
  max-width: 34em;
  color: var(--muted);
  font-size: 15px;
}

.hero .btn { margin-top: 28px; width: 100%; }

/* ---------- Concerts ---------- */

.concerts { padding: 64px 0 80px; scroll-margin-top: 0; outline: none; }

.section-title {
  margin-bottom: 32px;
  font: 900 clamp(36px, 10vw, 88px)/1 var(--font-display);
  text-transform: uppercase;
  letter-spacing: -.02em;
}

.shows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }

.show {
  display: grid;
  grid-template-areas: "where" "when" "action";
  gap: 6px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color .25s;
}

.show__where { grid-area: where; }
.show__when { grid-area: when; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.show__action { grid-area: action; margin-top: 14px; }

.show__city {
  font: 800 clamp(28px, 8vw, 52px)/1.05 var(--font-display);
  text-transform: uppercase;
  letter-spacing: -.01em;
  overflow-wrap: anywhere;
}
.show__date { font: 700 18px/1.3 var(--font-display); color: var(--accent); }
.show__day { color: var(--text); font-weight: 600; }
.show__venue { margin-top: 6px; color: var(--muted); }
.show__address { display: block; font-size: 14px; opacity: .8; }
.show__action .btn { width: 100%; }

/* Rows slide in when scrolled into view (only when JS is on and motion is allowed). */
@media (prefers-reduced-motion: no-preference) {
  .js .show { opacity: 0; transform: translateY(24px); }
  .js .show.is-visible {
    opacity: 1;
    transform: none;
    transition: opacity .6s ease, transform .6s ease, background-color .25s;
    transition-delay: calc(var(--i, 0) * 70ms), calc(var(--i, 0) * 70ms), 0s;
  }
}

/* Empty state. */
.empty {
  padding: 48px 24px;
  border: 1px dashed var(--line);
  border-radius: 20px;
  text-align: center;
}
.empty__title { font: 800 clamp(24px, 6vw, 40px)/1.1 var(--font-display); text-transform: uppercase; }
.empty__text { margin-top: 12px; color: var(--muted); }

/* ---------- Footer ---------- */

.footer { padding: 48px 0 calc(48px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }

.socials { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0; justify-content: center; }
.socials--big { margin-top: 24px; }
.socials__link {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.socials__link:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: translateY(-2px); }

.footer__contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.footer__contacts a { text-decoration: none; border-bottom: 1px solid var(--line); }
.footer__contacts a:hover { border-color: var(--accent); }
.footer__text { color: var(--muted); font-size: 14px; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; color: var(--muted); font-size: 13px; }
.footer__legal a { color: var(--muted); }
.footer__legal a:hover { color: var(--text); }

/* ---------- Text pages (privacy) ---------- */

.topbar { border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.topbar__home { font: 700 14px/1.2 var(--font-display); text-decoration: none; text-transform: uppercase; }

.prose { max-width: 760px; padding-top: 48px; padding-bottom: 64px; }
.prose h1 { font: 800 clamp(26px, 6vw, 44px)/1.1 var(--font-display); text-transform: uppercase; margin-bottom: 28px; }
.prose h2 { font: 700 20px/1.3 var(--font-display); margin: 32px 0 12px; }
.prose p { margin: 0 0 14px; color: #d6d3cc; }

/* ---------- Tablet / desktop ---------- */

@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .hero .btn { width: auto; }
  .show {
    grid-template-columns: 1fr auto;
    grid-template-areas: "where action" "when action";
    align-items: center;
    column-gap: 24px;
  }
  .show__action { margin-top: 0; }
  .show__action .btn { width: auto; min-width: 200px; }
}

@media (min-width: 900px) {
  :root { --gutter: 48px; }

  /* Photo on the right, text on the left over the dark background. */
  .hero { align-items: center; }
  .hero__media { left: auto; width: 58%; }
  .hero__img { object-position: 50% 20%; }
  .hero__media::after {
    background:
      linear-gradient(90deg, var(--bg) 0%, rgba(12, 12, 14, .55) 22%, rgba(12, 12, 14, 0) 50%),
      linear-gradient(0deg, var(--bg) 0%, rgba(12, 12, 14, 0) 30%);
  }
  .hero__content { padding-top: 120px; padding-bottom: 120px; }
  .hero__content > * { max-width: min(46vw, 620px); }
  .hero__title { font-size: clamp(44px, 5.6vw, 96px); }
  .hero__subtitle { font-size: 17px; }

  .concerts { padding: 120px 0; }
  .section-title { margin-bottom: 48px; }

  .show {
    grid-template-columns: 220px 1fr auto;
    grid-template-areas: "when where action";
    column-gap: 40px;
    padding: 32px 20px;
    margin-inline: -20px;
    border-radius: 16px;
  }
  .show:hover { background: var(--bg-2); }
  .show__when { flex-direction: column; gap: 4px; }
  .show__date { font-size: 24px; }
  .show__day { color: var(--muted); }

  .footer__inner { flex-direction: row; flex-wrap: wrap; justify-content: space-between; text-align: left; }
  .footer__text { flex: 1 1 100%; order: 3; }
}

/* ---------- Hero with a wide (group, cut-out) photo ---------- */

/* Phone: the photo fills the top part, cropped around the centre (the artist). */
.hero--wide .hero__media {
  inset: 0 0 auto 0;
  height: 66vh;
  height: 66svh;
  background: radial-gradient(ellipse 75% 60% at 50% 60%, rgba(255, 210, 63, .2), rgba(255, 210, 63, 0) 70%);
}
.hero--wide .hero__img { object-fit: cover; object-position: 50% 0; filter: none; }
.hero--wide .hero__media::after {
  background: linear-gradient(180deg, rgba(12, 12, 14, 0) 50%, rgba(12, 12, 14, .75) 80%, var(--bg) 100%);
}
.hero--wide .hero__content { padding-top: 56vh; padding-top: 56svh; }

@media (min-width: 900px) {
  /* Desktop: the whole group stands on the right, feet at the bottom edge; text on the left. */
  .hero--wide .hero__media {
    inset: 0 0 0 auto;
    width: 64%;
    height: auto;
    background: radial-gradient(ellipse 60% 55% at 55% 65%, rgba(255, 210, 63, .16), rgba(255, 210, 63, 0) 70%);
  }
  .hero--wide .hero__img { object-fit: contain; object-position: 100% 100%; }
  .hero--wide .hero__media::after {
    background:
      linear-gradient(90deg, var(--bg) 0%, rgba(12, 12, 14, .55) 16%, rgba(12, 12, 14, 0) 38%),
      linear-gradient(0deg, var(--bg) 0%, rgba(12, 12, 14, 0) 20%);
  }
  .hero--wide .hero__content { padding-top: 120px; }
  .hero--wide .hero__content > * { max-width: min(44vw, 640px); }
  /* "АЛЕКСАНДР" (9 wide letters) must fit the text column without breaking. */
  .hero--wide .hero__title { font-size: clamp(38px, 4.4vw, 84px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
