:root {
  --ink: #15120f;
  --paper: #f8f4ea;
  --white: #fffaf2;
  --teal: #1f6f68;
  --gold: #c28a3d;
  --red: #9d2e31;
  --blue: #243c5a;
  --muted: #6e675d;
  --line: rgba(21, 18, 15, 0.16);
  --shadow: 0 22px 70px rgba(21, 18, 15, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(248, 244, 234, 0.94);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.brand-mark {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  flex: 0 0 46px;
}

.brand-logo {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 18px rgba(21, 18, 15, 0.24));
}

.brand-name {
  font-size: 18px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 34px);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  direction: ltr;
  gap: 3px;
  padding: 4px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.language-switcher a {
  min-width: 34px;
  padding: 8px 9px;
  border-radius: 999px;
  text-align: center;
}

.language-switcher a::after {
  display: none;
}

.language-switcher a[aria-current="page"] {
  color: var(--ink);
  background: var(--gold);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: min(820px, 90vh);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center 18%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 8, 7, 0.86), rgba(9, 8, 7, 0.44) 42%, rgba(9, 8, 7, 0.12)),
    linear-gradient(0deg, rgba(9, 8, 7, 0.55), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  margin: 0 0 clamp(46px, 8vw, 90px) clamp(20px, 6vw, 86px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.split-copy h2,
.newsletter h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 0.94;
}

.hero h1 {
  font-size: clamp(70px, 13vw, 178px);
}

.hero-title {
  margin: 4px 0 0;
  color: var(--gold);
  font-size: clamp(26px, 4vw, 54px);
  font-weight: 900;
}

.hero-copy {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 250, 242, 0.86);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.5;
}

.hero-actions,
.release-actions {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid currentColor;
  border-radius: 999px;
  font-weight: 900;
  text-transform: uppercase;
}

.button-primary {
  border-color: var(--gold);
  color: var(--ink);
  background: var(--gold);
}

.button-ghost {
  color: var(--white);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.release-strip,
.content-band,
.platforms-section,
.newsletter {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 920px;
  margin: 0 auto 34px;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading h2,
.split-copy h2,
.newsletter h2 {
  font-size: clamp(38px, 6vw, 84px);
}

.release-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: 24px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.release-featured {
  grid-column: 1 / -1;
}

.release,
.news-item {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.release {
  display: grid;
  grid-template-columns: minmax(190px, 44%) minmax(0, 1fr);
  min-height: 360px;
}

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

.release > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 46px);
}

.release h3,
.news-item h3,
.date-row h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.05;
}

.release p,
.news-item p,
.date-row p,
.split-copy p,
.site-footer p {
  color: var(--muted);
  line-height: 1.6;
}

.tag {
  width: fit-content;
  margin: 0 0 16px;
  padding: 8px 11px;
  color: var(--white) !important;
  background: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tag-red {
  background: var(--red);
}

.release-actions a,
.text-link,
.date-row a,
.release-details summary {
  color: var(--teal);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.release-details summary {
  cursor: pointer;
  list-style: none;
}

.release-details summary::-webkit-details-marker {
  display: none;
}

.release-details[open] {
  flex-basis: 100%;
}

.release-details-panel {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(31, 111, 104, 0.08);
}

.release-details-panel p {
  margin: 0;
}

.release-details-panel p + p {
  margin-top: 12px;
}

.future-releases {
  margin-top: clamp(42px, 7vw, 86px);
}

.release-grid-secondary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.release-grid-secondary .release:only-child {
  grid-column: 1 / -1;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 22s linear infinite;
}

.ticker span {
  padding: 20px 28px;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

.content-band {
  background: var(--paper);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.news-item {
  min-height: 280px;
  padding: 28px;
}

.news-item time {
  display: block;
  margin-bottom: 22px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(360px, 1fr);
  min-height: 620px;
  background: var(--white);
}

.video-panel {
  display: grid;
  place-items: center;
  min-height: 480px;
  padding: clamp(28px, 4vw, 56px);
  background: var(--ink);
}

.video-button {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 9 / 16;
  max-height: min(760px, calc(100vh - 112px));
  min-height: 0;
  padding: 0;
  border: 0;
  background: var(--ink);
  cursor: pointer;
  overflow: hidden;
}

.video-button video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(0.75) contrast(1.06);
}

.play-icon {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
}

.play-icon::after {
  position: absolute;
  top: 24px;
  left: 31px;
  border-block: 15px solid transparent;
  border-left: 22px solid var(--ink);
  content: "";
}

.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(38px, 6vw, 78px);
}

.dates-band {
  background: #ede6d7;
}

.date-list {
  width: min(1000px, 100%);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.date-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.date-row time {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.date-row time span {
  display: block;
  color: var(--red);
  font-size: 12px;
  text-transform: uppercase;
}

.date-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 38px;
  padding: 0 14px;
  color: var(--ink);
  background: rgba(194, 138, 61, 0.24);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 160ms ease, transform 160ms ease;
}

.date-note:hover {
  background: rgba(194, 138, 61, 0.38);
  transform: translateY(-1px);
}

.platforms-section {
  color: var(--white);
  background: var(--blue);
}

.platforms-section .eyebrow {
  color: var(--gold);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.platform-link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 16px;
  border: 1px solid rgba(255, 250, 242, 0.16);
  background: rgba(255, 250, 242, 0.08);
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.platform-link:hover {
  border-color: rgba(255, 250, 242, 0.36);
  background: rgba(255, 250, 242, 0.13);
  transform: translateY(-2px);
}

.platform-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  flex: 0 0 42px;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.platform-icon img {
  width: 22px;
  height: 22px;
}

.platform-instagram {
  background: #e4405f;
}

.platform-telegram {
  background: #26a5e4;
}

.platform-spotify {
  background: #1db954;
}

.platform-apple {
  background: #fa243c;
}

.platform-yandex {
  background: #ffcc00;
}

.platform-youtube {
  background: #ff0000;
}

.platform-vk {
  background: #0077ff;
}

.platform-deezer {
  background: #a238ff;
}

.platform-kion {
  background: #6c2dff;
}

.platform-zvuk {
  background: var(--gold);
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  background: var(--ink);
  color: var(--white);
}

.signup-form {
  display: grid;
  gap: 14px;
}

.signup-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 250, 242, 0.82);
  font-weight: 800;
}

.contact-email {
  margin: 26px 0 0;
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 900;
}

.contact-email a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.signup-form input,
.signup-form textarea {
  width: 100%;
  border: 2px solid rgba(255, 250, 242, 0.26);
  border-radius: 0;
  padding: 14px;
  color: var(--white);
  background: transparent;
}

.signup-form input {
  min-height: 54px;
}

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

.signup-form input::placeholder,
.signup-form textarea::placeholder {
  color: rgba(255, 250, 242, 0.46);
}

.consent {
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  font-size: 14px;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--gold);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(20px, 5vw, 72px);
  background: var(--white);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  z-index: 40;
  inset: 0;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.modal-dialog {
  position: relative;
  width: min(900px, calc(100% - 32px));
  margin: 8vh auto 0;
  background: var(--ink);
}

.modal-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  border: 0;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--gold);
  font-weight: 900;
  cursor: pointer;
}

.modal-video {
  display: block;
  width: 100%;
  max-height: 82vh;
  background: var(--ink);
}

.downloads-page {
  direction: rtl;
}

.fa-site {
  direction: rtl;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: 15px;
}

.fa-site h1,
.fa-site h2,
.fa-site h3,
.fa-site .hero h1,
.fa-site .section-heading h2,
.fa-site .split-copy h2,
.fa-site .newsletter h2 {
  font-family: Tahoma, "Segoe UI", Arial, sans-serif;
  line-height: 1.12;
}

.fa-site .brand,
.fa-site .site-footer,
.fa-site .site-footer nav {
  direction: ltr;
}

.fa-site .hero-content {
  margin-right: clamp(20px, 6vw, 86px);
  margin-left: 0;
}

.fa-site .hero-overlay {
  background:
    linear-gradient(270deg, rgba(9, 8, 7, 0.86), rgba(9, 8, 7, 0.44) 42%, rgba(9, 8, 7, 0.12)),
    linear-gradient(0deg, rgba(9, 8, 7, 0.55), transparent 42%);
}

.downloads-page .site-header {
  color: var(--ink);
  background: rgba(248, 244, 234, 0.94);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
}

.downloads-page .brand,
.downloads-page .site-footer,
.downloads-page .site-footer nav {
  direction: ltr;
}

.fa-section-label {
  font-size: 18px;
}

.downloads-main {
  padding-top: 76px;
}

.downloads-hero {
  display: grid;
  align-items: end;
  min-height: min(560px, 72vh);
  padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 72px) clamp(48px, 8vw, 86px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(9, 8, 7, 0.1), rgba(9, 8, 7, 0.58)),
    linear-gradient(0deg, rgba(9, 8, 7, 0.78), rgba(9, 8, 7, 0.18)),
    url("./assets/Downloads/yek-seda-iran-esi-afi.webp") center 48% / cover;
}

.downloads-hero-copy {
  width: min(760px, 100%);
  margin-right: auto;
}

.downloads-hero h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(56px, 10vw, 132px);
  line-height: 0.96;
}

.downloads-page .eyebrow,
.downloads-page .fa-section-label {
  font-size: 18px;
}

.downloads-hero p:not(.eyebrow) {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 250, 242, 0.9);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.85;
}

.downloads-page .tag {
  padding: 9px 12px;
  font-size: 14px;
}

.download-section,
.more-music-section {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.download-grid {
  display: grid;
  gap: 24px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.download-card {
  display: grid;
  grid-template-columns: minmax(240px, 38%) minmax(0, 1fr);
  min-height: 380px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.download-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.download-card > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 5vw, 56px);
}

.download-card h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1;
}

.download-card p:not(.tag) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.download-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
}

.more-music-section {
  background: #ede6d7;
}

.mini-release-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.mini-release {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 98px;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.72);
  font-weight: 900;
  transition: transform 160ms ease, background 160ms ease;
}

.mini-release:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.mini-release img {
  width: 74px;
  height: 74px;
  object-fit: cover;
}

.mini-release span {
  overflow-wrap: anywhere;
}

@media (min-width: 1024px) {
  .downloads-hero {
    background:
      linear-gradient(90deg, rgba(9, 8, 7, 0.04), rgba(9, 8, 7, 0.64)),
      linear-gradient(0deg, rgba(9, 8, 7, 0.78), rgba(9, 8, 7, 0.14)),
      url("./assets/Downloads/yek-seda-iran-esi-afi.webp") center center / contain no-repeat,
      #0b0907;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 12px 20px 22px;
    color: var(--ink);
    background: rgba(248, 244, 234, 0.98);
    box-shadow: 0 18px 40px rgba(21, 18, 15, 0.12);
    transform: translateY(-130%);
    transition: transform 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .language-switcher {
    width: fit-content;
    margin-top: 14px;
  }

  .downloads-page .site-nav {
    font-size: 18px;
  }

  .release-grid,
  .news-grid,
  .split-section,
  .platform-grid,
  .newsletter,
  .download-card,
  .mini-release-grid {
    grid-template-columns: 1fr;
  }

  .video-panel {
    padding: clamp(22px, 5vw, 36px);
  }

  .release {
    grid-template-columns: 1fr;
  }

  .release img {
    aspect-ratio: 1;
  }

  .download-card img {
    aspect-ratio: 1;
  }

  .section-heading-row {
    align-items: start;
    flex-direction: column;
  }

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

@media (min-width: 1440px) {
  .split-section {
    grid-template-columns: minmax(420px, 0.72fr) minmax(460px, 1fr);
  }

  .video-button {
    width: min(42vw, 560px);
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 68px;
  }

  .brand-name {
    font-size: 16px;
  }

  .hero {
    min-height: 92svh;
    padding-top: 82px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(9, 8, 7, 0.88), rgba(9, 8, 7, 0.18) 72%),
      linear-gradient(90deg, rgba(9, 8, 7, 0.38), transparent);
  }

  .hero-image {
    object-position: center 12%;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 16px 30px;
  }

  .fa-site .hero-content {
    margin: 0 16px 30px;
  }

  .hero h1 {
    font-size: clamp(58px, 19vw, 74px);
  }

  .hero-title {
    font-size: clamp(24px, 8vw, 32px);
  }

  .hero-copy {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .platform-grid {
    gap: 12px;
  }

  .platform-link {
    min-height: 68px;
  }

  .date-row {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .date-row a,
  .date-note {
    grid-column: 2;
    width: fit-content;
  }

  .modal-dialog {
    margin-top: 12vh;
  }

  .modal-video {
    max-height: 72vh;
  }

  .downloads-main {
    padding-top: 68px;
  }

  .downloads-hero {
    min-height: 72svh;
  }

  .download-actions .button {
    width: 100%;
  }

  .mini-release {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .mini-release img {
    width: 64px;
    height: 64px;
  }
}
