/*
Theme Name: Atharva Music 2026
Theme URI: https://atharvadubey.com/
Author: Atharva Dubey
Description: A polished, responsive music artist landing theme.
Version: 1.1.1
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: atharva-music-2026
*/

:root {
  --ink: #0b0b0c;
  --night: #141111;
  --paper: #f7f3ec;
  --cream: #fffaf2;
  --white: #ffffff;
  --muted: #746f67;
  --soft: rgba(255, 250, 242, 0.74);
  --line: rgba(12, 12, 12, 0.14);
  --line-light: rgba(255, 255, 255, 0.16);
  --rose: #f03762;
  --teal: #13c7b0;
  --amber: #f2b63f;
  --blue: #4269ff;
  --radius: 8px;
  --shadow: 0 28px 88px rgba(0, 0, 0, 0.34);
  --container: min(1160px, calc(100vw - 48px));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.58;
  margin: 0;
  text-rendering: optimizeLegibility;
}

body.no-scroll { overflow: hidden; }
body.admin-bar .site-header { top: 32px; }

a { color: inherit; }
img, iframe, canvas { max-width: 100%; }
img { display: block; }
h1, h2, h3, p, figure, ul { margin-top: 0; }
p:last-child { margin-bottom: 0; }

.skip-link {
  background: var(--white);
  border: 2px solid var(--ink);
  color: var(--ink);
  left: 16px;
  opacity: 0;
  padding: 10px 14px;
  position: fixed;
  top: 16px;
  transform: translateY(-12px);
  z-index: 1000;
}

.skip-link:focus { opacity: 1; transform: translateY(0); }

.site-header {
  background: rgba(9, 9, 10, 0.72);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line-light);
  color: var(--white);
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  transition: background-color 180ms ease, box-shadow 180ms ease;
  z-index: 80;
}

.site-header.is-scrolled {
  background: rgba(9, 9, 10, 0.92);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.nav-wrap {
  align-items: center;
  display: flex;
  gap: 24px;
  height: 76px;
  justify-content: space-between;
  margin: 0 auto;
  width: var(--container);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 900;
  gap: 12px;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  align-items: center;
  background: var(--rose);
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  font-size: 0.72rem;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 850;
  text-decoration: none;
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible { color: var(--white); }

.menu-toggle {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  color: var(--white);
  display: none;
  height: 42px;
  justify-content: center;
  padding: 0;
  width: 42px;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  background: currentColor;
  content: "";
  display: block;
  height: 2px;
  position: relative;
  width: 18px;
}

.menu-toggle span::before,
.menu-toggle span::after { left: 0; position: absolute; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.hero {
  align-items: end;
  color: var(--white);
  display: flex;
  min-height: 92svh;
  overflow: hidden;
  padding: 128px 0 64px;
  position: relative;
}

.hero-media,
.hero-shade,
.hero-canvas {
  inset: 0;
  position: absolute;
}

.hero-media {
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.04);
  width: 100%;
}

.hero-shade {
  background:
    radial-gradient(circle at 76% 22%, rgba(19, 199, 176, 0.26), transparent 28%),
    linear-gradient(90deg, rgba(4, 4, 5, 0.96), rgba(4, 4, 5, 0.72) 48%, rgba(4, 4, 5, 0.2)),
    linear-gradient(0deg, rgba(4, 4, 5, 0.94), rgba(4, 4, 5, 0.05) 54%);
}

.hero-canvas { opacity: 0.46; z-index: 1; }

.hero-inner {
  align-items: end;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 390px);
  margin: 0 auto;
  position: relative;
  width: var(--container);
  z-index: 2;
}

.eyebrow,
.section-kicker,
.video-card span {
  align-items: center;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 950;
  gap: 10px;
  letter-spacing: 0;
  line-height: 1.1;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.eyebrow,
.hero-card span { color: var(--soft); }

.eyebrow::before,
.section-kicker::before,
.video-card span::before {
  background: var(--teal);
  content: "";
  display: inline-block;
  height: 10px;
  width: 10px;
}

.hero h1 {
  font-size: clamp(4rem, 11vw, 9rem);
  letter-spacing: 0;
  line-height: 0.88;
  margin-bottom: 24px;
  max-width: 900px;
}

.lead {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.32rem;
  max-width: 710px;
}

.hero-actions,
.button-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 50px;
  padding: 13px 18px;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible { transform: translateY(-2px); }
.button.primary { background: var(--rose); color: var(--white); }
.button.secondary { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.32); color: var(--white); }
.button.dark { background: var(--ink); color: var(--white); }

.text-link,
.video-card a,
.footer a {
  color: inherit;
  font-weight: 900;
  text-decoration-color: var(--rose);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.hero-card strong {
  display: block;
  font-size: 2rem;
  letter-spacing: 0;
  line-height: 1;
  margin: 10px 0 8px;
}

.hero-card em {
  color: var(--soft);
  display: block;
  font-style: normal;
  margin-bottom: 18px;
}

.hero-card a { color: var(--white); font-weight: 900; }

.scroll-cue {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  bottom: 26px;
  display: flex;
  height: 42px;
  justify-content: center;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 28px;
  z-index: 3;
}

.scroll-cue span {
  animation: cue 1.6s ease-in-out infinite;
  background: var(--white);
  border-radius: 999px;
  height: 8px;
  width: 3px;
}

@keyframes cue {
  0%, 100% { opacity: 0.42; transform: translateY(-5px); }
  50% { opacity: 1; transform: translateY(5px); }
}

.link-strip {
  background: var(--rose);
  color: var(--white);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.link-strip a {
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  min-height: 96px;
  padding: 24px clamp(18px, 4vw, 42px);
  text-decoration: none;
  transition: background-color 160ms ease;
}

.link-strip a:hover,
.link-strip a:focus-visible { background: rgba(255, 255, 255, 0.11); }
.link-strip span { display: block; font-size: 1.08rem; font-weight: 950; }
.link-strip small { color: rgba(255, 255, 255, 0.74); display: block; margin-top: 4px; }

.section { padding: 96px 0; }
.section-inner { margin: 0 auto; width: var(--container); }
.section-heading { max-width: 760px; }
.section-copy { max-width: 720px; }

.section-heading h2,
.section-copy h2,
.connect-inner h2 {
  font-size: clamp(2.2rem, 5.2vw, 4.4rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 22px;
}

.section-heading p,
.section-copy p,
.connect-inner p {
  color: var(--muted);
  font-size: 1.08rem;
}

.release-section,
.watch-section { background: var(--paper); }

.split-grid,
.sound-grid,
.about-grid {
  align-items: center;
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.video-frame {
  background: #050506;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 58px rgba(13, 13, 15, 0.14);
  overflow: hidden;
}

.video-frame iframe {
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
  width: 100%;
}

.feature-video { transform: rotate(1deg); }

.video-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 38px;
}

.video-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 58px rgba(13, 13, 15, 0.09);
  overflow: hidden;
}

.video-card > div:last-child { padding: 22px; }
.video-card span { color: var(--rose); margin-bottom: 12px; }
.video-card span::before { background: var(--rose); }
.video-card h3 { font-size: 1.55rem; line-height: 1.12; margin-bottom: 10px; }

.sound-section {
  background: var(--night);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.sound-section::before {
  background: linear-gradient(135deg, rgba(19, 199, 176, 0.18), rgba(240, 55, 98, 0.08));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.sound-section .section-inner { position: relative; }
.sound-section .section-copy p { color: var(--soft); }

.portrait-stack {
  display: grid;
  grid-template-columns: 0.86fr 0.72fr;
  min-height: 560px;
  position: relative;
}

.portrait-stack img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: 520px;
  object-fit: cover;
  width: 100%;
}

.portrait-stack img:first-child { align-self: start; object-position: center top; }
.portrait-stack img:last-child { align-self: end; margin-left: -54px; margin-top: 120px; object-position: center top; }

.sound-list {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}

.sound-list li {
  border-top: 1px solid var(--line-light);
  display: grid;
  gap: 10px;
  grid-template-columns: 170px minmax(0, 1fr);
  padding-top: 16px;
}

.sound-list strong { color: var(--white); }
.sound-list span { color: var(--soft); }

.about-section { background: var(--cream); }
.about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); }
.about-image img {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  box-shadow: 0 18px 58px rgba(13, 13, 15, 0.11);
  height: min(58vw, 560px);
  object-fit: cover;
  object-position: center 36%;
  width: 100%;
}

.stats-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
}

.stats-row div {
  border-top: 3px solid var(--teal);
  padding-top: 14px;
}

.stats-row div:nth-child(2) { border-top-color: var(--amber); }
.stats-row div:nth-child(3) { border-top-color: var(--blue); }
.stats-row strong { display: block; font-size: 2rem; line-height: 1; }
.stats-row span { color: var(--muted); display: block; font-size: 0.9rem; font-weight: 850; margin-top: 8px; }

.connect-section { background: var(--ink); color: var(--white); }
.connect-inner { max-width: 880px; }
.connect-inner p { color: var(--soft); max-width: 720px; }

.connect-links {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.connect-links a {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.connect-links a:hover,
.connect-links a:focus-visible { background: rgba(255, 255, 255, 0.13); transform: translateY(-2px); }
.connect-links span { display: block; font-size: 1.14rem; font-weight: 950; }
.connect-links small { color: var(--soft); display: block; margin-top: 5px; }

.footer { background: #050506; color: rgba(255, 255, 255, 0.72); padding: 28px 0; }
.footer-inner {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  width: var(--container);
}
.footer a { color: var(--white); }

.reveal-item {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 640ms ease, transform 640ms ease;
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  :root { --container: min(760px, calc(100vw - 32px)); }
  .hero { min-height: 88svh; padding-top: 112px; }
  .hero-inner,
  .split-grid,
  .sound-grid,
  .about-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 460px; }
  .link-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 76px 0; }
  .portrait-stack { min-height: 500px; }
  .portrait-stack img { height: 460px; }
}

@media (max-width: 760px) {
  body.admin-bar .site-header { top: 46px; }
  .nav-wrap { height: 66px; }
  .menu-toggle { display: inline-flex; }
  .nav-links {
    background: rgba(9, 9, 10, 0.97);
    border-bottom: 1px solid var(--line-light);
    display: none;
    left: 0;
    padding: 18px 16px 22px;
    position: fixed;
    right: 0;
    top: 66px;
  }
  body.admin-bar .nav-links { top: 112px; }
  .nav-links.is-open { display: grid; gap: 14px; }
  .nav-links a { display: block; font-size: 1rem; min-height: 42px; padding: 10px 0; }
  .hero { min-height: 86svh; padding: 100px 0 44px; }
  .hero-media { object-position: 62% center; }
  .lead { font-size: 1.08rem; }
  .hero-actions .button,
  .button-row .button { width: 100%; }
  .link-strip,
  .video-grid,
  .connect-links,
  .stats-row { grid-template-columns: 1fr; }
  .link-strip a { border-right: 0; border-top: 1px solid rgba(255, 255, 255, 0.22); min-height: 82px; }
  .feature-video { transform: none; }
  .portrait-stack { display: block; min-height: auto; }
  .portrait-stack img { height: auto; max-height: 560px; }
  .about-image img { height: auto; max-height: 520px; }
  .portrait-stack img:last-child { display: none; }
  .sound-list li { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  :root { --container: min(100% - 28px, 520px); }
  .hero h1 { font-size: 3.7rem; }
  .hero-card strong { font-size: 1.55rem; }
  .section-heading h2,
  .section-copy h2,
  .connect-inner h2 { font-size: 2.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-item { opacity: 1; transform: none; }
}
