:root {
  --black: #050505;
  --black-soft: #0b0b0b;
  --charcoal: #121212;
  --charcoal-2: #1a1a1a;
  --red: #e10600;
  --red-bright: #ff2418;
  --crimson: #7a0505;
  --crimson-deep: #3d0101;
  --white: #ffffff;
  --gray: #b9b9b9;
  --gray-dim: #8d8d8d;
  --line: rgba(225, 6, 0, 0.28);
  --glow: 0 0 28px rgba(225, 6, 0, 0.28);
  --radius: 18px;
  --nav-h: 78px;
  --font-display: "Arial Black", "Arial Bold", Arial, Helvetica, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + env(safe-area-inset-top));
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(225, 6, 0, 0.22);
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
textarea {
  font-family: inherit;
}

h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin: 0;
}

p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 1000;
  background: var(--red);
  color: var(--white);
  padding: 10px 16px;
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.section {
  position: relative;
  padding: 108px 0;
}

.section-kicker {
  color: var(--red);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  margin-bottom: 18px;
}

.section-title span,
.accent {
  color: var(--red);
}

.section-copy {
  color: var(--gray);
  max-width: 640px;
  font-size: 1.05rem;
}

.center {
  text-align: center;
}

.center .section-copy {
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  background: linear-gradient(180deg, var(--red-bright), var(--red));
  color: var(--white);
  box-shadow: var(--glow);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-large {
  min-height: 58px;
  padding: 0 32px;
  font-size: 0.88rem;
}

.btn:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: calc(var(--nav-h) + env(safe-area-inset-top));
  display: flex;
  align-items: center;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(225, 6, 0, 0.12);
  padding-top: env(safe-area-inset-top);
}

.nav.is-scrolled {
  background: rgba(5, 5, 5, 0.92);
}

.nav-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.12em;
  font-size: 0.92rem;
  white-space: nowrap;
  line-height: 1;
}

.logo span {
  color: var(--red);
}

.nav-menu {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}

.nav-menu a {
  display: block;
  padding: 10px 9px;
  color: var(--gray);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
}

.nav-menu a.is-active {
  color: var(--red);
}

.nav-menu a.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--red);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 4px;
  z-index: 51;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(5, 5, 5, 0.55);
}

.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--gray);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  padding: 0 12px;
  min-height: 36px;
  min-width: 44px;
  cursor: pointer;
  touch-action: manipulation;
}

.lang-switch button.is-active {
  background: var(--red);
  color: var(--white);
}

html[lang="ru"] .btn,
html[lang="ru"] .section-kicker,
html[lang="ru"] .hero-kicker,
html[lang="ru"] .nav-menu a,
html[lang="ru"] .lang-switch button {
  letter-spacing: 0.06em;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  touch-action: manipulation;
  padding: 0;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  margin: 0 auto;
  position: relative;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav.is-open .nav-toggle span {
  background: transparent;
}

.nav.is-open .nav-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav.is-open .nav-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--black);
}

.hero-bg,
.hero-bg img,
.hero-overlay,
#particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg img {
  object-fit: cover;
  opacity: 0.42;
}

.hero-overlay {
  background:
    radial-gradient(ellipse at 20% 80%, rgba(225, 6, 0, 0.28), transparent 42%),
    radial-gradient(ellipse at 80% 10%, rgba(122, 5, 5, 0.35), transparent 38%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.35) 0%, rgba(5, 5, 5, 0.72) 55%, #050505 100%);
  pointer-events: none;
}

#particles {
  pointer-events: none;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 72px 24px 120px;
}

.hero-kicker {
  color: var(--gray);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-family: var(--font-display);
  font-weight: 900;
  margin-bottom: 22px;
  animation: fadeUp 0.8s ease both;
}

.hero h1 {
  font-size: clamp(3.2rem, 11vw, 8.4rem);
  line-height: 0.86;
  margin-bottom: 22px;
  text-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
  animation: fadeUp 0.9s ease 0.12s both;
}

.hero h1 span {
  display: block;
  color: var(--red);
}

.hero-sub {
  color: var(--gray);
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 14px;
  animation: fadeUp 0.9s ease 0.22s both;
}

.hero-tag {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.05rem, 2.4vw, 1.5rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 36px;
  line-height: 1.25;
  animation: fadeUp 0.9s ease 0.32s both;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.9s ease 0.42s both;
}

.waveform {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 18px;
  height: 92px;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.hero-freq .freq-track {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 100%;
  animation-duration: 18s;
}

.music-grid,
.release-grid,
.genre-grid,
.equip-grid,
.social-grid {
  display: grid;
  gap: 22px;
  margin-top: 48px;
}

.music-grid,
.release-grid {
  grid-template-columns: repeat(4, 1fr);
}

.music-card,
.release-card {
  background: linear-gradient(180deg, #141414, #0d0d0d);
  border: 1px solid rgba(225, 6, 0, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.cover {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--charcoal);
}

.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.cover-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42px;
  opacity: 0.85;
}

.cover-wave svg {
  width: 100%;
  height: 100%;
}

.music-body,
.release-body {
  padding: 22px 22px 24px;
}

.genre-tag {
  display: inline-block;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.music-body h3,
.release-body h3 {
  font-size: 1.28rem;
  margin-bottom: 10px;
}

.music-body p,
.release-body p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.spotify-embed {
  display: block;
  width: 100%;
  border: 0;
  margin: 8px 0 10px;
  min-height: 152px;
  background: #121212;
}

.music-players {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(720px, 100%);
  margin: 40px auto 0;
}

.music-players iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 152px;
  border: 0;
  border-radius: 12px;
  background: #121212;
}

.more-link {
  display: inline-block;
  color: var(--red);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.music-card .btn,
.release-card .btn {
  width: 100%;
}

.inspiration {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.55), rgba(5, 5, 5, 0.88)),
    url("../assets/the-nights-inspiration.jpg") center / cover no-repeat;
}

.inspiration-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  background: rgba(10, 10, 10, 0.72);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 48px;
  backdrop-filter: blur(10px);
}

.quote {
  color: var(--white);
  font-size: 1.18rem;
  line-height: 1.75;
  margin: 18px 0 24px;
}

.inspo-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}

.inspo-points li {
  border: 1px solid rgba(225, 6, 0, 0.2);
  background: rgba(225, 6, 0, 0.06);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.credit {
  color: var(--gray);
  font-size: 0.92rem;
}

.night-visual {
  position: relative;
  min-height: 420px;
  aspect-ratio: 1;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a0a0a;
}

.night-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.night-visual img.is-active {
  opacity: 1;
}

.night-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  background: rgba(5, 5, 5, 0.72);
  padding: 14px 16px;
  border-radius: 12px;
}

.night-caption strong {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
}

.avicii-quote {
  margin: 22px 0 18px;
  padding: 20px 22px;
  border-left: 3px solid var(--red);
  background: rgba(225, 6, 0, 0.07);
  border-radius: 0 16px 16px 0;
}

.avicii-quote p {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.08rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.avicii-quote cite {
  display: block;
  margin-top: 10px;
  color: var(--red);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.inspo-player {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  align-items: center;
  margin: 8px 0 18px;
  padding: 14px;
  border-radius: 18px;
  background: #0d0d0d;
  border: 1px solid rgba(225, 6, 0, 0.28);
}

.inspo-player audio {
  display: none;
}

.play-btn {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--red-bright), var(--red));
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--glow);
  touch-action: manipulation;
}

.play-btn svg {
  width: 22px;
  height: 22px;
}

.play-btn .icon-pause,
.inspo-player.is-playing .icon-play {
  display: none;
}

.inspo-player.is-playing .icon-pause {
  display: block;
}

.player-meta {
  min-width: 0;
}

.player-meta strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.player-meta small {
  display: block;
  color: var(--gray-dim);
  margin: 2px 0 8px;
}

.player-bar {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  gap: 8px;
  align-items: center;
  color: var(--gray);
  font-size: 0.75rem;
}

.player-range {
  width: 100%;
  accent-color: var(--red);
  height: 4px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) 18px minmax(280px, 1.14fr);
  gap: 36px;
  align-items: center;
}

.portrait {
  position: relative;
  margin: 0;
}

.portrait::before {
  content: "";
  position: absolute;
  inset: 8% -10%;
  background: radial-gradient(ellipse at center, rgba(225, 6, 0, 0.28), transparent 68%);
  filter: blur(18px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}

.portrait-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 678 / 1024;
  border: 1px solid rgba(225, 6, 0, 0.35);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(225, 6, 0, 0.08),
    0 0 40px rgba(225, 6, 0, 0.12);
}

.portrait-frame::before,
.portrait-frame::after {
  content: "";
  position: absolute;
  z-index: 3;
  width: 54px;
  height: 54px;
  pointer-events: none;
  opacity: 0;
}

.portrait-frame::before {
  top: 14px;
  left: 14px;
  border-top: 3px solid var(--red);
  border-left: 3px solid var(--red);
}

.portrait-frame::after {
  right: 14px;
  bottom: 14px;
  border-right: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.05) grayscale(0.08);
  transform: scale(1.08);
}

.portrait-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(225, 6, 0, 0.18) 50%, transparent 100%);
  transform: translateY(-100%);
  pointer-events: none;
  z-index: 2;
}

.portrait-label {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  background: rgba(5, 5, 5, 0.82);
  border-left: 3px solid var(--red);
  padding: 12px 14px;
  backdrop-filter: blur(8px);
  transform: translateY(12px);
  opacity: 0;
}

.portrait-label strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.portrait-label small {
  display: block;
  margin-top: 4px;
  color: var(--gray);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.about-rule {
  width: 3px;
  min-height: 280px;
  background: linear-gradient(180deg, transparent, var(--red), transparent);
  border-radius: 99px;
  box-shadow: 0 0 18px rgba(225, 6, 0, 0.45);
  justify-self: center;
  transform: scaleY(0);
  transform-origin: center;
}

.about-copy .section-kicker,
.about-copy .section-title {
  opacity: 0;
  transform: translateY(22px);
}

.bio {
  color: var(--gray);
  display: grid;
  gap: 16px;
  font-size: 1.02rem;
}

.bio p {
  opacity: 0;
  transform: translateY(22px);
}

.about-grid.is-visible .portrait-frame {
  animation: frameGlow 2.6s ease 0.1s both;
}

.about-grid.is-visible .portrait-frame::before,
.about-grid.is-visible .portrait-frame::after {
  animation: cornerIn 0.7s ease 0.15s forwards;
}

.about-grid.is-visible .portrait img {
  animation: portraitZoom 8s ease-out forwards;
}

.about-grid.is-visible .portrait-scan {
  animation: scanDown 2.4s ease 0.3s 1;
}

.about-grid.is-visible .portrait-label {
  animation: fadeUp 0.7s ease 0.45s forwards;
}

.about-grid.is-visible .about-rule {
  animation: lineGrow 0.9s ease 0.2s forwards;
}

.about-grid.is-visible .section-kicker,
.about-grid.is-visible .section-title {
  animation: fadeUp 0.7s ease forwards;
}

.about-grid.is-visible .section-kicker { animation-delay: 0.12s; }
.about-grid.is-visible .section-title { animation-delay: 0.2s; }

.about-grid.is-visible .bio p {
  animation: fadeUp 0.7s ease forwards;
}

.about-grid.is-visible .bio p:nth-child(1) { animation-delay: 0.25s; }
.about-grid.is-visible .bio p:nth-child(2) { animation-delay: 0.38s; }
.about-grid.is-visible .bio p:nth-child(3) { animation-delay: 0.51s; }
.about-grid.is-visible .bio p:nth-child(4) { animation-delay: 0.64s; }
.about-grid.is-visible .bio p:nth-child(5) { animation-delay: 0.77s; }
.about-grid.is-visible .bio p:nth-child(6) { animation-delay: 0.9s; }

.music-story-rule {
  display: none;
}

.journey-banner {
  background: var(--charcoal);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.journey-box {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.journey-box p {
  color: var(--gray);
  font-size: 1.12rem;
  margin-bottom: 16px;
}

#genres {
  padding: 64px 0;
}

.genre-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.genre-card {
  position: relative;
  min-height: 68px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(225, 6, 0, 0.2);
  background: #101010;
  display: grid;
  place-items: center;
  isolation: isolate;
  padding: 8px 6px 10px;
}

.genre-card h3 {
  position: relative;
  z-index: 2;
  font-size: clamp(0.68rem, 1.3vw, 0.82rem);
  letter-spacing: 0.12em;
  text-shadow: 0 6px 16px rgba(0, 0, 0, 0.85);
}

.genre-card .freq {
  mask-image: linear-gradient(180deg, transparent 0%, #000 58%, #000 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 58%, #000 100%);
}

.genre-card .freq-track {
  height: 36%;
  bottom: 6px;
  gap: 2px;
}

.genre-card .freq-col {
  width: 5px;
  flex-basis: 5px;
  gap: 1px;
}

.genre-card .freq-col i {
  height: 3px;
}

.freq {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent 8%, #000 42%, #000 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 8%, #000 42%, #000 100%);
}

.freq-track {
  position: absolute;
  left: 0;
  bottom: 16px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 68%;
  width: max-content;
  will-change: transform;
  animation: freqSlide 18s linear infinite;
}

.freq-col {
  display: flex;
  flex-direction: column-reverse;
  gap: 2px;
  width: 8px;
  flex: 0 0 8px;
  transform-origin: bottom center;
  animation: eqBounce 1.2s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

.freq-col i {
  display: block;
  height: 6px;
  width: 100%;
  background: var(--red);
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(225, 6, 0, 0.28);
}

.freq-col i:nth-child(odd) {
  opacity: 0.95;
}

.freq-col i:nth-child(even) {
  opacity: 0.45;
  background: #ff4d45;
}

.equip-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.equip-card {
  background: var(--charcoal);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 10px 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  align-items: center;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.equip-logo {
  width: 58px;
  height: 58px;
  aspect-ratio: 1;
  margin: 0;
  padding: 0;
  border-radius: 10px;
  background: #111;
  overflow: hidden;
}

.equip-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.equip-body {
  padding: 0;
}

.equip-card h3 {
  font-size: 0.92rem;
  margin-bottom: 4px;
  line-height: 1.15;
}

.equip-card p {
  color: var(--gray);
  font-size: 0.82rem;
  line-height: 1.4;
}

.aviation {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.55) 0%, rgba(5, 5, 5, 0.82) 100%),
    url("../assets/aviation-sky.jpg") center / cover no-repeat;
}

.aviation-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.flight-visual {
  position: relative;
  min-height: 360px;
}

.flight-path {
  position: absolute;
  inset: 40px 10px;
  border: 0;
}

.plane {
  position: absolute;
  left: 8%;
  top: 38%;
  width: min(78%, 420px);
  color: var(--white);
  filter: drop-shadow(0 0 18px rgba(225, 6, 0, 0.35));
  animation: fly 7s ease-in-out infinite;
}

.timeline {
  position: relative;
  margin-top: 56px;
  display: grid;
  gap: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--red), transparent);
  box-shadow: 0 0 12px rgba(225, 6, 0, 0.55);
}

.time-item {
  position: relative;
  padding: 0 0 42px 64px;
}

.time-item:last-child {
  padding-bottom: 0;
}

.dot {
  position: absolute;
  left: 10px;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(225, 6, 0, 0.15), 0 0 18px rgba(225, 6, 0, 0.7);
}

.time-item h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.time-item p {
  color: var(--gray);
}

.cta {
  background:
    radial-gradient(ellipse at center, rgba(225, 6, 0, 0.18), transparent 55%),
    var(--black-soft);
  text-align: center;
}

.cta .section-copy {
  margin-bottom: 32px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.social {
  background: var(--charcoal);
}

.social-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.social-link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 74px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.social-link svg {
  width: 22px;
  height: 22px;
  color: var(--red);
}

.social-link strong {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}

.social-link small {
  color: var(--gray-dim);
}

.social-link.is-soon::after {
  content: attr(data-note);
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 8px;
  font-size: 0.72rem;
  color: var(--red);
}

.contact {
  background:
    radial-gradient(ellipse at 16% 45%, rgba(225, 6, 0, 0.16), transparent 46%),
    var(--black);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) 18px minmax(280px, 1.18fr);
  gap: 36px;
  align-items: center;
}

.contact-icon {
  margin: 0;
  text-align: center;
}

.contact-icon-frame {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 12%;
  overflow: hidden;
  border-radius: 24px;
  background: #0a0a0a;
  border: 1px solid rgba(225, 6, 0, 0.35);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(225, 6, 0, 0.08),
    0 0 40px rgba(225, 6, 0, 0.14);
}

.contact-icon-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-icon-label {
  margin-top: 16px;
}

.contact-icon-label strong {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
}

.contact-icon-label strong span {
  color: var(--red);
}

.contact-icon-label small {
  color: var(--gray-dim);
}

.contact-rule {
  width: 3px;
  min-height: 280px;
  background: linear-gradient(180deg, transparent, var(--red), transparent);
  border-radius: 99px;
  box-shadow: 0 0 18px rgba(225, 6, 0, 0.45);
  justify-self: center;
  transform: scaleY(0);
  transform-origin: center;
}

.contact-grid.is-visible .contact-rule {
  animation: lineGrow 0.9s ease 0.2s forwards;
}

.contact-panel {
  min-width: 0;
}

.contact-form,
.contact-thanks {
  display: grid;
  gap: 16px;
  position: relative;
  border-radius: 24px;
  padding: 32px;
}

.contact-form {
  background: linear-gradient(180deg, #161616, #101010);
  border: 1px solid rgba(225, 6, 0, 0.18);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
}

.contact-form[hidden],
.contact-thanks[hidden] {
  display: none !important;
}

.contact-thanks {
  min-height: 320px;
  align-content: center;
  background:
    radial-gradient(ellipse at 18% 15%, rgba(225, 6, 0, 0.22), transparent 48%),
    var(--black);
  border: 1px solid rgba(225, 6, 0, 0.32);
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.45),
    0 0 28px rgba(225, 6, 0, 0.16);
}

.contact-thanks-copy {
  color: var(--gray);
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  line-height: 1.55;
  max-width: 28ch;
}

.contact-thanks-sign {
  color: var(--white);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.contact-thanks-sign #contact-thanks-name span {
  color: var(--red);
}

.contact-form .section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.contact-form .section-copy {
  max-width: none;
  margin-bottom: 6px;
}

.contact-form .btn {
  justify-self: start;
  min-width: 180px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}

input,
textarea {
  width: 100%;
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 1rem;
}

input:focus,
textarea:focus {
  outline: 2px solid var(--red);
  border-color: var(--red);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-status {
  min-height: 24px;
  font-size: 0.92rem;
}

.form-status.is-success {
  color: var(--white);
}

.form-status.is-error {
  color: var(--red-bright);
}

.footer {
  background: #050505;
  border-top: 1px solid rgba(225, 6, 0, 0.16);
  padding: 56px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
}

.footer .logo {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.footer p {
  color: var(--gray);
}

.footer h3 {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  margin-bottom: 14px;
  color: var(--red);
}

.footer-links,
.footer-social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-links a,
.footer-social a {
  color: var(--gray);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
  color: var(--gray-dim);
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes wave {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes pulseWave {
  0%,
  100% {
    transform: translateX(-8%) scaleY(1);
    opacity: 0.4;
  }
  50% {
    transform: translateX(-2%) scaleY(1.18);
    opacity: 0.8;
  }
}

@keyframes freqSlide {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes eqBounce {
  0%,
  100% {
    transform: scaleY(0.62);
  }
  50% {
    transform: scaleY(1);
  }
}

@keyframes fly {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(18px, -10px);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes portraitZoom {
  from {
    transform: scale(1.12);
    filter: contrast(1.08) grayscale(0.2);
  }
  to {
    transform: scale(1);
    filter: contrast(1.05) grayscale(0.08);
  }
}

@keyframes scanDown {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translateY(100%);
    opacity: 0;
  }
}

@keyframes cornerIn {
  from {
    opacity: 0;
    width: 12px;
    height: 12px;
  }
  to {
    opacity: 1;
    width: 54px;
    height: 54px;
  }
}

@keyframes lineGrow {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

@keyframes lineGrowX {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes frameGlow {
  0% {
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(225, 6, 0, 0.08);
  }
  45% {
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 48px rgba(225, 6, 0, 0.42);
  }
  100% {
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(225, 6, 0, 0.08), 0 0 40px rgba(225, 6, 0, 0.16);
  }
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    transform: translateY(-2px);
  }

  .btn-primary:hover {
    background: var(--red-bright);
    box-shadow: 0 0 34px rgba(225, 6, 0, 0.45);
  }

  .btn-ghost:hover {
    border-color: var(--red);
    color: var(--white);
    box-shadow: var(--glow);
  }

  .music-card:hover,
  .release-card:hover {
    transform: translateY(-8px);
    border-color: var(--red);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 28px rgba(225, 6, 0, 0.22);
  }

  .music-card:hover .cover img,
  .release-card:hover .cover img {
    transform: scale(1.06);
  }

  .music-card:hover .btn-primary,
  .release-card:hover .btn-primary {
    background: var(--red-bright);
  }

  .equip-card:hover,
  .social-link:hover {
    transform: translateY(-6px);
    border-color: var(--red);
    box-shadow: var(--glow);
  }

  .contact-form:hover {
    border-color: rgba(225, 6, 0, 0.4);
  }

  .nav-menu a:hover {
    color: var(--red);
  }

  .lang-switch button:hover:not(.is-active) {
    color: var(--white);
    background: rgba(225, 6, 0, 0.22);
  }

  .footer-links a:hover,
  .footer-social a:hover {
    color: var(--red);
  }
}

@media (max-width: 1200px) {
  .music-grid,
  .release-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .genre-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-menu {
    position: fixed;
    inset: calc(var(--nav-h) + env(safe-area-inset-top)) 0 0;
    background: rgba(5, 5, 5, 0.97);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding-bottom: env(safe-area-inset-bottom);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav-actions {
    margin-left: auto;
  }

  .nav.is-open .nav-menu {
    transform: none;
  }

  .nav-menu a {
    font-size: 1.2rem;
    font-weight: 900;
    padding: 16px 24px;
    min-height: 48px;
  }
}

@media (max-width: 1024px) {
  .equip-grid,
  .footer-top,
  .inspiration-card,
  .aviation-inner {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-icon {
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
  }

  .contact-rule {
    width: min(220px, 60%);
    height: 3px;
    min-height: 0;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    transform: scaleX(0);
  }

  .contact-grid.is-visible .contact-rule {
    animation: lineGrowX 0.9s ease 0.2s forwards;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .portrait {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  .about-rule {
    width: min(220px, 60%);
    height: 3px;
    min-height: 0;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    transform: scaleX(0);
  }

  .about-grid.is-visible .about-rule {
    animation: lineGrowX 0.9s ease 0.2s forwards;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 12vw, 6.5rem);
  }
}

@media (max-width: 768px) {
  .wrap {
    width: min(var(--max), calc(100% - 28px));
  }

  .section {
    padding: 72px 0;
  }

  .section-title {
    font-size: clamp(2.1rem, 10vw, 3.4rem);
    line-height: 1;
  }

  .genre-grid,
  .equip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .inspiration-card,
  .contact-form,
  .contact-thanks {
    padding: 22px;
  }

  .inspo-points {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 48px 16px 110px;
  }

  .hero-kicker {
    letter-spacing: 0.22em;
  }

  .hero-tag {
    font-size: 0.95rem;
    letter-spacing: 0.05em;
  }

  .logo {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 640px) {
  .music-players {
    width: 100%;
    gap: 12px;
  }

  .music-players iframe {
    height: 152px;
  }
  .inspo-player {
    grid-template-columns: 52px 1fr;
    padding: 12px;
  }

  .play-btn {
    width: 52px;
    height: 52px;
  }

  .avicii-quote p {
    font-size: 0.98rem;
  }

  .night-visual {
    min-height: 320px;
  }
  .music-grid,
  .release-grid,
  .genre-grid,
  .equip-grid,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    width: min(100%, 420px);
    margin-inline: auto;
  }

  .btn {
    width: 100%;
    min-height: 52px;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 14vw, 4.2rem);
  }

  .portrait-label {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .hero {
    min-height: calc(100svh - var(--nav-h));
  }

  .hero-content {
    padding: 36px 8px 100px;
  }

  .section {
    padding: 64px 0;
  }

  .music-body,
  .release-body {
    padding: 18px;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 36px 16px 80px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 3.6rem);
  }
}

@media (min-width: 1100px) {
  main {
    display: grid;
    grid-template-columns:
      48px
      minmax(0, 0.92fr)
      18px
      minmax(0, 1.25fr);
    align-items: stretch;
    column-gap: 28px;
  }

  main > section:not(#music):not(#story) {
    grid-column: 1 / -1;
  }

  .music-story-rule {
    display: block;
    grid-column: 3;
    grid-row: 2;
    width: 3px;
    justify-self: center;
    align-self: stretch;
    margin: 80px 0;
    background: linear-gradient(180deg, transparent, var(--red), transparent);
    border-radius: 99px;
    box-shadow: 0 0 18px rgba(225, 6, 0, 0.45);
  }

  #story {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
    padding: 80px 12px 80px 0;
    background: transparent;
    border: 0;
  }

  #music {
    grid-column: 4;
    grid-row: 2;
    padding: 80px 28px 80px 8px;
    background: transparent;
    border: 0;
  }

  #story .wrap,
  #music .wrap {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  #story .journey-box {
    text-align: left;
    margin: 0;
    max-width: none;
  }

  #story .journey-box p {
    max-width: none;
    font-size: 1.05rem;
    line-height: 1.75;
  }

  #story .section-title {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
  }

  #music header.center {
    text-align: left;
  }

  #music .section-copy {
    margin-inline: 0;
  }

  #music .music-players {
    width: 100%;
    max-width: none;
    margin: 22px 0 0;
    padding: 10px;
    border-radius: 24px;
    border: 1px solid rgba(225, 6, 0, 0.28);
    background: #0d0d0d;
    box-shadow:
      0 24px 60px rgba(0, 0, 0, 0.45),
      0 0 40px rgba(225, 6, 0, 0.1);
  }

  #music .music-players iframe {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .night-visual img,
  .night-visual img.is-active {
    opacity: 1;
    transition: none;
  }

  .night-visual img:not(.is-active) {
    display: none;
  }

  .reveal,
  .bio p,
  .portrait-label,
  .portrait img,
  .about-rule,
  .contact-rule,
  .portrait-frame::before,
  .portrait-frame::after {
    opacity: 1 !important;
    transform: none !important;
  }

  .freq-col {
    transform: none !important;
  }
}
