@font-face {
  font-family: "Lifta";
  src: url("https://aswat.habaq.online/assets/fonts/Lifta-Black.otf") format("opentype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

/* Lifta is a Black display face, so it is used for headings and key UI while body copy stays readable. */
h1,
h2,
h3,
.brand-copy strong,
nav a,
.button,
.eyebrow,
.song-open,
.tag,
.step-number,
.partner-role,
.footer-brand > span,
.coming-pill,
.track-copy strong,
.contribution-status strong {
  font-family: "Lifta", Tahoma, Arial, "Noto Sans Arabic", sans-serif;
  font-weight: 900;
}

.training-audio {
  width: min(360px, 100%);
  height: 40px;
  direction: ltr;
  accent-color: #000;
}

.track-ready {
  align-items: center;
  gap: 22px;
}

.track-ready .track-copy { min-width: 150px; }

/* Tighter editorial rhythm */
.hero { padding: 82px 0 68px; }
.section { padding: 76px 0; }
.section-head { margin-bottom: 34px; }
.hero h1 { font-size: clamp(50px, 5.8vw, 82px); }
.section h2 { font-size: clamp(34px, 3.8vw, 54px); }
.hero-copy { max-width: 610px; font-size: clamp(16px, 1.7vw, 18px); }
.hero-facts { grid-template-columns: repeat(3, auto); gap: 34px; }
.song-card { min-height: 285px; }
.steps article { min-height: 235px; }
.community-preview { min-height: 350px; }
.partners-head { margin-bottom: 28px; }

/* Real Óros branding */
.brand { gap: 22px; }
.brand-logo {
  width: 54px;
  height: 68px;
  object-fit: contain;
  flex: 0 0 auto;
  transform: scale(1.95);
  transform-origin: center;
  margin-inline: 11px;
}

.hero-logo-panel {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.hero-logo-frame {
  width: min(360px, 86%);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border: 1px solid #000;
  background: #fff;
  padding: clamp(22px, 4vw, 46px);
  position: relative;
  overflow: hidden;
}

.hero-logo-frame::before,
.hero-logo-frame::after {
  content: "";
  position: absolute;
  background: #000;
  z-index: 2;
}

.hero-logo-frame::before {
  width: 1px;
  height: 46px;
  top: -23px;
  inset-inline-start: 22%;
}

.hero-logo-frame::after {
  height: 1px;
  width: 46px;
  inset-inline-end: -23px;
  bottom: 22%;
}

.hero-logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(2.25);
  transform-origin: center;
}

.hero-logo-caption {
  margin: 0;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  direction: ltr;
  color: var(--muted);
}

.project-credit {
  margin-top: 28px;
  padding-top: 17px;
  border-top: 1px solid #000;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  font-size: 12px;
}
.project-credit span { display: inline-flex; gap: 6px; align-items: baseline; }
.project-credit strong { font-weight: 900; }

/* Photo documentation */
.gallery-section { background: #050505; color: #fff; }
.gallery-section .eyebrow,
.gallery-section .section-head > p { color: #bdbdbd; }
.gallery-section .section-head { border-bottom-color: #fff; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 250px;
  gap: 12px;
}
.photo-card { margin: 0; overflow: hidden; background: #111; min-width: 0; }
.photo-card.photo-wide { grid-column: span 2; }
.photo-card.photo-tall { grid-row: span 2; }
.photo-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transform: scale(1.001);
  transition: filter .35s ease, transform .5s ease;
}
.photo-card:hover img { filter: grayscale(0) contrast(1); transform: scale(1.025); }

/* Production and support */
.partners-section { background: #fff; border-top: 1px solid #000; }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #000;
}
.partner-item {
  min-height: 205px;
  padding: 22px 26px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}
.partner-item + .partner-item { border-inline-start: 1px solid #000; }
.partner-role { color: var(--muted); font-size: 11px; }

/* Every partner mark sits in the same-height zone and shares one visual baseline. */
.partner-logo-wrap,
.producer-logos {
  height: 118px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 34px;
  flex-wrap: nowrap;
  overflow: visible;
  padding-bottom: 6px;
}

.partner-logo {
  display: block;
  width: 150px;
  height: 88px;
  object-fit: contain;
  object-position: center bottom;
  flex: 0 0 auto;
}

/* Optical normalization for the three distinct logo shapes. */
.oros-partner-logo {
  width: 138px;
  height: 112px;
  transform: scale(2.35);
  transform-origin: center bottom;
}

/* The refreshed Nas asset now matches Habaq's source height, so both use one CSS height with no scaling. */
.nas-partner-logo,
.habaq-partner-logo {
  width: auto;
  height: 72px;
  transform: none;
  transform-origin: center bottom;
}

.afh-logo {
  width: 178px;
  height: 92px;
  transform-origin: center bottom;
}

/* Footer credits */
.footer-expanded { align-items: center; gap: 36px; }
.footer-brand { display: flex; align-items: center; gap: 22px; overflow: visible; }
.footer-oros-logo {
  width: 46px;
  height: 58px;
  object-fit: contain;
  transform: scale(2.05);
  transform-origin: center;
  margin-inline: 10px;
}
.footer-brand > span { color: #000; font-size: 14px; font-weight: 800; }
.footer-credit-logos {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-credit-logos > span { color: var(--muted); font-size: 10px; padding-bottom: 4px; }
.footer-credit-logos img {
  width: auto;
  height: 32px;
  object-fit: contain;
  object-position: center bottom;
}
.footer-credit-logos .footer-nas,
.footer-credit-logos .footer-habaq {
  width: auto;
  height: 32px;
  transform: none;
}
.footer-credit-logos .footer-afh { width: 104px; height: 38px; }

/* Avoid header crowding before mobile layout */
@media (max-width: 1120px) {
  nav { gap: 14px; }
  nav a { font-size: 12px; }
  .header-inner { gap: 18px; }
}

@media (max-width: 900px) {
  .wrap { width: min(100% - 32px, 1180px); }
  .site-header { background: rgba(255,255,255,.98); }
  .header-inner { min-height: 70px; }
  .brand-logo { width: 42px; height: 54px; transform: scale(1.85); margin-inline: 8px; }
  .brand-copy small { display: none; }

  .nav-toggle {
    display: grid;
    place-content: center;
    gap: 6px;
    width: 42px;
    height: 42px;
    border: 1px solid #000;
    background: #fff;
    padding: 0;
    flex: 0 0 auto;
  }
  .nav-toggle span { display: block; width: 18px; height: 1px; background: #000; }
  nav {
    display: none;
    position: fixed;
    inset: 70px 0 0 0;
    overflow-y: auto;
    background: #fff;
    padding: 26px 22px 40px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--line);
  }
  nav.open { display: flex; }
  nav a {
    font-size: clamp(18px, 4vw, 24px);
    font-weight: 900;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  nav a::after { display: none; }
  .nav-cta { border: 0; border-bottom: 1px solid #000; padding-inline: 0; }

  .hero-grid, .two-col, .contribution-panel { grid-template-columns: 1fr; }
  .hero-grid { gap: 44px; }
  .hero-logo-panel { min-height: auto; padding: 8px 0 12px; }
  .hero-logo-frame { width: min(330px, 74vw); }
  .hero-logo-frame img { transform: scale(2.15); }

  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }

  .partners-grid { grid-template-columns: 1fr; }
  .partner-item + .partner-item { border-inline-start: 0; border-top: 1px solid #000; }
  .partner-item { min-height: 175px; }
  .partner-logo-wrap, .producer-logos { height: 102px; }
  .oros-partner-logo { transform: scale(2.15); transform-origin: center bottom; }

  .footer-expanded { align-items: flex-start; flex-direction: column; }
  .footer-credit-logos { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 26px, 1180px); }
  .hero { padding: 54px 0 48px; }
  .section { padding: 60px 0; }
  .hero h1 { font-size: clamp(46px, 14vw, 66px); }
  .section h2 { font-size: clamp(34px, 10vw, 46px); }
  .hero-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .hero-facts span { white-space: normal; }
  .project-credit { display: grid; gap: 7px; }
  .project-credit span { display: block; }

  .photo-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 9px; }
  .photo-card,
  .photo-card.photo-wide,
  .photo-card.photo-tall {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .track-ready { align-items: stretch; flex-direction: column; }
  .track-ready .track-copy { min-width: 0; }
  .training-audio { width: 100%; }

  .partner-item { padding: 18px 20px 14px; }
  .partner-logo-wrap, .producer-logos { height: 96px; }
  .producer-logos { gap: 24px; }
  .oros-partner-logo { transform: scale(2); }
  .nas-partner-logo,
  .habaq-partner-logo {
    width: auto;
    height: 68px;
    transform: none;
  }
  .afh-logo { width: 160px; }

  .footer-oros-logo { width: 40px; height: 50px; transform: scale(1.9); }
  .footer-credit-logos {
    display: grid;
    grid-template-columns: auto repeat(2, minmax(0, auto));
    justify-content: start;
    align-items: end;
    gap: 10px 12px;
  }
  .footer-credit-logos > span:last-of-type { grid-column: 1; }
}

@media (max-width: 420px) {
  .hero-logo-frame { width: 80vw; padding: 30px; }
  .hero-logo-frame img { transform: scale(2.05); }
  .hero-facts { grid-template-columns: 1fr 1fr 1fr; }
  .partner-logo-wrap, .producer-logos { height: 94px; }
  .producer-logos { gap: 16px; }
  .footer-credit-logos { grid-template-columns: 1fr 1fr; }
  .footer-credit-logos > span { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .photo-card img { transition: none; }
}
