/* Abdulaiev Booking — base styles */

:root {
  --bg: #f6f3ec;
  --bg-alt: #efeae0;
  --surface: #efeae0;
  --accent: #2b3a55;
  --accent-soft: rgba(43, 58, 85, 0.08);
  --on-accent: #f6f3ec;
  --text: #1c1a17;
  --text-muted: #6e6a62;
  --border: rgba(28, 26, 23, 0.14);
  --max-width: 1120px;
  --radius: 10px;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1,
h2,
h3,
.logo {
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Avoid orphan words — one word never wraps alone onto its own line */
p {
  text-wrap: pretty;
}

h1, h2, h3,
.eyebrow,
.caption-upper,
.hero p,
.section-head p,
.form-note,
.catalog-note {
  text-wrap: balance;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 243, 236, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  height: 72px;
}

.main-nav {
  gap: 40px;
  margin-left: auto;
  margin-right: 32px;
}

.logo {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--text);
}

.logo-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  width: 108px;
  gap: 4px;
}

.logo-line1 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
}

.logo-rule {
  width: 100%;
  height: 1px;
  background: var(--accent);
}

.logo-line2 {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  line-height: 1;
  color: var(--text-muted);
  padding-left: 0.3em;
}

.main-nav {
  display: none;
  gap: 28px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--text);
}

.main-nav .mobile-cta {
  display: none;
}

@media (max-width: 719.98px) {
  .site-header .container {
    position: relative;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 20px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(28, 26, 23, 0.1);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 2px;
    border-bottom: 1px solid var(--border);
  }

  .main-nav .mobile-cta {
    display: block;
    text-align: center;
    margin-top: 14px;
    border-bottom: none;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-right: -8px;
}

.header-actions .btn {
  display: none;
  padding: 9px 18px;
  font-size: 13px;
}

.lang-switch {
  display: flex;
  gap: 6px;
  font-size: 12px;
}

.lang-switch a {
  padding: 4px 8px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--text-muted);
}

.lang-switch a.active {
  color: var(--text);
  background: var(--accent-soft);
}

.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
}

html[lang="ru"] .btn,
html[lang="ru"] .request-modal-box h3,
html[lang="ru"] .form-thanks strong {
  font-family: "Old Standard TT", Georgia, serif;
}

html[lang="ru"] .btn {
  font-size: 17px;
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn-primary:hover {
  background: #3c4f70;
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
}

.hero .btn-ghost {
  border-color: rgba(246, 243, 236, 0.55);
  color: #f6f3ec;
}

.nav-toggle {
  display: inline-flex;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 8px 10px;
  font-size: 18px;
}

/* Hero */

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  padding: 64px 0 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-top: none;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/about/05_Scorpions_press_conference.jpg');
  background-size: cover;
  background-position: center 100%;
  filter: brightness(0.82);
  z-index: -2;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, transparent 68%, var(--bg) 94%, var(--bg) 100%),
    linear-gradient(180deg, rgba(15, 20, 28, 0.76) 0%, rgba(15, 20, 28, 0.85) 60%, rgba(15, 20, 28, 0.4) 80%, rgba(15, 20, 28, 0) 100%);
  z-index: -1;
}

.hero-stripe {
  position: absolute;
  top: -25%;
  height: 150%;
  width: 34px;
  background: rgba(127, 155, 209, 0.25);
  transform: rotate(14deg);
  z-index: -1;
  pointer-events: none;
}

.hero-stripe.s1 { left: 14%; }

.hero-stripe.s2 {
  left: 72%;
  width: 20px;
  background: rgba(127, 155, 209, 0.16);
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero .eyebrow {
  color: #a9c0e6;
}

.hero h1 {
  font-size: 34px;
  line-height: 1.2;
  margin: 0 0 18px;
  font-weight: 700;
  color: #f6f3ec;
}

html[lang="ru"] .hero h1 {
  font-family: "Old Standard TT", Georgia, serif;
}

.hero p {
  color: rgba(246, 243, 236, 0.85);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 30px;
}

.hero p.hero-lead {
  max-width: 720px;
}

.hero p.hero-note {
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

/* Section shared */

section {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

#about,
#artists,
#contact {
  border-top: none;
}

#about,
#artists,
#contact {
  scroll-margin-top: 66px;
}

#artists {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #f6f3ec;
  --surface: rgba(246, 243, 236, 0.15);
  --border: rgba(246, 243, 236, 0.32);
  --text: #f6f3ec;
  --text-muted: rgba(246, 243, 236, 0.75);
}

#artists::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/about/15_Artists_Section_BG.jpg');
  background-size: cover;
  background-position: center 35%;
  filter: grayscale(1) brightness(0.82);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 28%, black 72%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, black 28%, black 72%, transparent 100%);
  z-index: -2;
}

#artists::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22140%22%20height%3D%22140%22%3E%3Cfilter%20id%3D%22n%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%220.85%22%20numOctaves%3D%222%22%20stitchTiles%3D%22stitch%22/%3E%3CfeColorMatrix%20type%3D%22saturate%22%20values%3D%220%22/%3E%3C/filter%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20filter%3D%22url%28%2523n%29%22%20opacity%3D%220.9%22/%3E%3C/svg%3E") repeat,
    linear-gradient(180deg, rgba(15, 20, 28, 0) 0%, rgba(15, 20, 28, 0.82) 30%, rgba(15, 20, 28, 0.88) 70%, rgba(15, 20, 28, 0) 100%);
  background-blend-mode: overlay, normal;
  z-index: -1;
}

#artists .tier-tagline,
#artists button.artist-name:hover,
#artists button.artist-name:focus-visible {
  color: #a9c0e6;
}

#artists .artist-list li::after {
  background: #a9c0e6;
}

#artists .search-row input:focus {
  border-color: #a9c0e6;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1.3s ease, transform 1.3s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 40px;
}

.section-head h2 {
  font-size: 26px;
  margin: 0 0 12px;
}

html[lang="ru"] .section-head h2 {
  font-family: "Old Standard TT", Georgia, serif;
}

.section-head p {
  color: var(--text-muted);
  margin: 0;
}

/* About */

.about-grid {
  display: grid;
  gap: 32px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.about-text {
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 300;
  font-style: italic;
  text-align: justify;
}

.caption-upper {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
}

.about-photo {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.about-photo[data-placeholder="true"] {
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
  font-size: 14px;
  padding: 20px;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gallery strip */

.gallery-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 24px 4px 22px;
  scroll-snap-type: x proximity;
}

.gallery-thumb {
  flex: 0 0 auto;
  width: 84px;
  height: 84px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.gallery-thumb:hover {
  transform: scale(1.1);
  border-color: var(--accent);
  z-index: 1;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 720px) {
  .about-grid {
    grid-template-columns: 1.3fr 1fr;
  }
}

/* Artists */

.tiers {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tier {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.tier h3 {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.tier-head {
  min-height: 52px;
  margin-bottom: 20px;
}

.tier-head h3 {
  margin: 0 0 4px;
}

.tier-tagline {
  display: block;
  color: var(--accent);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.artist-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.artist-list li {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.artist-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.artist-list li::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.artist-list li:hover::after,
.artist-list li:focus-within::after {
  transform: scaleX(1);
}

.artist-name {
  font-weight: 300;
  font-size: 15px;
}

.artist-list .artist-name {
  font-weight: 200;
  font-style: italic;
}

button.artist-name {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font-family: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transform-origin: left center;
  transition: color 0.25s ease, transform 0.25s ease;
}

button.artist-name:hover,
button.artist-name:focus-visible {
  color: var(--accent);
  transform: scale(1.06);
}

.badge {
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(28, 26, 23, 0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 10px;
}

.catalog-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 24px;
  font-style: italic;
}

/* Artist search */

.artist-search {
  max-width: 520px;
  margin: 0 auto 40px;
}

.search-row {
  display: flex;
  gap: 10px;
}

.search-row input {
  flex: 1;
  padding: 13px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
}

.search-row input:focus {
  outline: none;
  border-color: var(--accent);
}

.search-row input::placeholder {
  color: rgba(110, 106, 98, 0.6);
  font-weight: 300;
  font-style: italic;
}

.search-results {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.search-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.search-result-info {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.search-empty {
  padding: 18px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

.search-empty p {
  margin: 0 0 12px;
}

/* Request modal */

.request-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28, 26, 23, 0.55);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.request-modal.is-open {
  display: flex;
}

.request-modal-box {
  background: var(--bg);
  border-radius: var(--radius);
  max-width: 460px;
  width: 100%;
  padding: 32px;
  position: relative;
}

.request-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: none;
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.request-modal-box h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.request-modal-box p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 22px;
}

/* Contact */

.contact-wrap {
  max-width: 560px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field label {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(110, 106, 98, 0.6);
  font-weight: 300;
  font-style: italic;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

.form-thanks {
  display: none;
  font-size: 15px;
  text-align: center;
}

.form-thanks.is-visible {
  display: block;
}

.form-thanks strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text);
}

/* Static/legal pages */

.legal-body {
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 0;
}

.legal-body h1 {
  font-size: 28px;
  margin-bottom: 20px;
}

.legal-body p {
  color: var(--text-muted);
}

.legal-body h2 {
  font-size: 18px;
  margin: 36px 0 12px;
}

.legal-body h3 {
  font-size: 15px;
  margin: 20px 0 8px;
}

.legal-body ul {
  color: var(--text-muted);
  padding-left: 20px;
  margin: 0 0 16px;
}

.legal-body li {
  margin-bottom: 6px;
}

.legal-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

.legal-body .legal-updated {
  font-size: 14px;
  margin-bottom: 32px;
}

/* Responsive */

@media (min-width: 720px) {
  .main-nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .header-actions .btn {
    display: inline-block;
  }

  .hero h1 {
    font-size: 46px;
  }

  html[lang="ru"] .hero h1 {
    white-space: nowrap;
    font-size: clamp(19px, 3.6vw, 40px);
  }

  .hero p.hero-note {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(11px, 2.4vw, 17px);
  }

  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }

  .tiers {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .tier {
    flex: 0 1 320px;
  }
}
