/*! cinematic-books — podbor-audioknig.ru (COMPUTE-inspired, amber ink) */
@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Instrument+Serif:ital@0;1&display=swap");

:root {
  --bg: #050508;
  --bg-elev: #0c0c12;
  --text: #f4f1ea;
  --muted: rgba(244, 241, 234, 0.62);
  --accent: #e8b86d;
  --accent-soft: rgba(232, 184, 109, 0.18);
  --border: rgba(244, 241, 234, 0.12);
  --white: #ffffff;
  --font-sans: "Instrument Sans", system-ui, sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;
  --max: 1400px;
  --header-h: 5rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 1024px) {
  .wrap { padding: 0 2rem; }
}

/* —— Nav —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border: 0;
  padding: 0;
  background: transparent;
  transition: background 0.45s ease, backdrop-filter 0.45s ease, border-color 0.45s ease;
}
.site-header.is-scrolled {
  background: rgba(5, 5, 8, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
  max-width: var(--max);
}
.logo {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 2.25rem;
}
.nav-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -0.25rem;
  width: 0; height: 1px;
  background: var(--white);
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  display: none;
  align-items: center;
  gap: 1rem;
}
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.35rem;
  border-radius: 999px;
  background: var(--white);
  color: #0a0a0a;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.btn-pill:hover { background: rgba(255, 255, 255, 0.9); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: border-color 0.3s, background 0.3s;
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}
.header-phone {
  color: rgba(255, 255, 255, 0.7) !important;
  font-weight: 500;
  font-size: 0.875rem;
}
.nav-toggle {
  display: inline-flex;
  background: transparent;
  border: 0;
  color: var(--white);
  padding: 0.35rem;
  cursor: pointer;
}
@media (min-width: 900px) {
  .nav-links, .nav-cta { display: flex; }
  .nav-toggle { display: none; }
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(5, 5, 8, 0.97);
  padding: 6rem 2rem 2rem;
  flex-direction: column;
  gap: 1.5rem;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile[hidden] { display: none !important; }
.nav-mobile.is-open[hidden] { display: flex !important; }
body.nav-open { overflow: hidden; }
.site-header { z-index: 70; }
.nav-mobile a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3rem);
  text-decoration: none;
  color: var(--text);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: #000;
  padding: calc(var(--header-h) + 2rem) 0 2.5rem;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media .hero__photo,
.hero__media img.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: kenburns 28s ease-out forwards;
  transform-origin: center center;
}
@keyframes kenburns {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__media .hero__photo { animation: none !important; }
}
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 5, 8, 0.28) 0%, rgba(5, 5, 8, 0.12) 32%, rgba(5, 5, 8, 0.72) 70%, rgba(5, 5, 8, 0.96) 100%),
    linear-gradient(90deg, rgba(5, 5, 8, 0.5) 0%, transparent 58%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.hero__brand {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 9vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--white);
  font-weight: 400;
}
.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 9vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--white);
  font-weight: 400;
}
.hero__eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}
.hero__lead {
  margin: 0 0 1.75rem;
  max-width: 32rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.78);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  max-width: 40rem;
}
.hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
}
.hero__stat span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

/* visually use h1 as brand block */
h1.hero__brand { font-size: clamp(2.75rem, 9vw, 5.5rem); }

/* —— Sections —— */
.section {
  position: relative;
  padding: clamp(4rem, 10vw, 8rem) 0;
  overflow: hidden;
}
.section--ink { background: var(--bg); }
.section--elev { background: var(--bg); }
.section--tight { padding: clamp(3rem, 7vw, 5rem) 0; }
.band-links {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  max-width: 40rem;
}
@media (min-width: 720px) {
  .band-links { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}
.band-link {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 1.2rem;
  text-decoration: none;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(5, 5, 8, 0.35);
  backdrop-filter: blur(6px);
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.band-link:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(5, 5, 8, 0.5);
  transform: translateY(-2px);
}
.band-link__n {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent);
  line-height: 1;
}
.band-link__t {
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.15;
}
.band-link__d {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.68);
}
.band-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.5rem;
}
.band-chips a {
  display: inline-flex;
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  text-decoration: none;
  font-size: 0.88rem;
  background: rgba(5, 5, 8, 0.28);
  transition: border-color 0.25s, background 0.25s;
}
.band-chips a:hover {
  border-color: var(--accent);
  background: rgba(232, 184, 109, 0.18);
}
.seo-block {
  padding: 0;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
.seo-block h2 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--text);
}
.cta { display: none !important; }
.section__label {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}
.section__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 400;
  max-width: 16ch;
}
.section__title em {
  font-style: italic;
  color: var(--accent);
}
.section__text {
  margin: 0 0 2rem;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
}
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; }
  .split--rev > :first-child { order: 2; }
}

.bleed-img {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  min-height: 22rem;
}
.bleed-img img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
}
@media (min-width: 900px) {
  .bleed-img, .bleed-img img { min-height: 32rem; }
}

.steps {
  display: grid;
  gap: 1.75rem;
  margin-top: 2.5rem;
}
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
.step__n {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.step h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
}
.step p { margin: 0; color: var(--muted); }

.atmosphere {
  position: relative;
  min-height: min(78vh, 52rem);
  display: flex;
  align-items: flex-end;
  padding: 4rem 0 3.5rem;
  overflow: hidden;
}
.atmosphere .section__label {
  color: rgba(232, 184, 109, 0.95);
}
.atmosphere__bg {
  position: absolute;
  inset: 0;
}
.atmosphere__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.atmosphere__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,5,8,0.2), rgba(5,5,8,0.88));
}
.atmosphere__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.atmosphere__inner h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4.75rem);
  line-height: 1.02;
  font-weight: 400;
  max-width: 14ch;
}
.atmosphere__inner p {
  margin: 0;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.75);
}

.seo-block {
  padding: 3rem 0 1rem;
  color: var(--muted);
  font-size: 0.98rem;
}
.seo-block a { color: var(--accent); }

/* CTA form restyle */
.cta {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 2rem 0 0;
  margin: 0;
}
.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 400;
  color: var(--text);
  margin: 0 0 0.75rem;
}
.cta__hint { color: var(--muted); }
.cta__hint a { color: var(--accent); }
.lead-form label { color: var(--muted); }
.lead-form input,
.lead-form select,
.lead-form textarea {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 0.5rem;
}
.lead-form button {
  background: var(--white);
  color: #0a0a0a;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
}

.band-cta {
  position: relative;
  padding: clamp(5rem, 12vw, 9rem) 0;
  text-align: left;
  overflow: hidden;
}
.band-cta__bg {
  position: absolute;
  inset: 0;
}
.band-cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.band-cta__veil {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 8, 0.72);
}
.band-cta__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.band-cta h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  line-height: 1.05;
  font-weight: 400;
  max-width: 14ch;
}
.band-cta p {
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 30rem;
}

/* Footer */
.site-footer {
  background: #000;
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  color: var(--muted);
}
.site-footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.site-footer a:hover { color: var(--white); }
.site-footer .wrap {
  display: grid;
  gap: 1.25rem;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--white);
  margin: 0;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Inner pages (page-inner) under this theme */
main.wrap {
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: 3rem;
}
main.wrap h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -0.02em;
}
main.wrap .content a { color: var(--accent); }
.breadcrumbs { color: var(--muted); }
.breadcrumbs a { color: var(--accent); }

.phone-link__tail {
  filter: blur(5px);
}
