/* Hooman Mahdavian — site styles
   Base design: version 1 (dark + gold). One stylesheet for Persian (RTL) and English (LTR):
   layout uses logical properties; fonts come from fonts.css.
   Type roles:  body/UI/numbers = Manrope (English) or Vazirmatn (Persian)
                section headings, album names = Cormorant Garamond (English)
                big name on Home = Bodoni Moda (English, taken from design v2) */

:root {
  --bg: #0c0a08;
  --bg-2: #14110d;
  --surface: #1b1712;
  --line: rgba(236, 224, 200, 0.14);
  --text: #f1ebe0;
  --text-soft: #d9d0c0;
  --muted: #b3a894;
  --gold: #d4a857;
  --gold-hi: #e8c47d;
  --on-gold: #1a1308;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fa: "Vazirmatn", "Manrope", "Tahoma", sans-serif;
  --display: var(--serif);
  --body: var(--sans);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(88px, 11vw, 144px);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shade-dir: to right;
  color-scheme: dark;
}
[dir="rtl"] {
  --display: var(--fa);
  --body: var(--fa);
  --shade-dir: to left;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
/* sections already start with 88–144px of padding, which clears the 72px fixed menu */
html:has(body.onepage) { scroll-padding-top: 0; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.7 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
[dir="rtl"] body { line-height: 1.95; }
main { flex: 1 0 auto; }
img, video, svg { max-width: 100%; }
img, video { display: block; height: auto; }
a { color: inherit; }
em { font-style: normal; font-weight: 600; color: var(--gold-hi); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--gold); color: var(--on-gold); }
[hidden] { display: none !important; }
[tabindex="-1"]:focus { outline: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; z-index: 200; background: var(--gold); color: var(--on-gold); padding: 10px 16px; }
.skip:focus { inset-inline-start: 8px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* numbers: always the body font, equal-width lining digits */
.num, .awards .yr, .tour-date, .disco-num, .lb-count { font-family: var(--body); font-weight: 700; font-variant-numeric: tabular-nums lining-nums; letter-spacing: .01em; }

.eyebrow { margin: 0 0 14px; font: 500 0.75rem/1.6 var(--body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
[dir="rtl"] .eyebrow { font-weight: 600; font-size: 0.9rem; line-height: 1.7; letter-spacing: 0; text-transform: none; }
.h1, .h2 { margin: 0 0 24px; font: 500 clamp(2rem, 4.6vw, 3.4rem)/1.08 var(--display); letter-spacing: -0.01em; text-wrap: balance; }
[dir="rtl"] .h1, [dir="rtl"] .h2 { font-weight: 600; line-height: 1.45; letter-spacing: 0; font-size: clamp(1.7rem, 4vw, 2.8rem); }
.h2 .num { font-size: .9em; font-weight: 600; letter-spacing: 0; }
.h3 { margin: 40px 0 12px; font: 500 1.6rem/1.2 var(--display); }
[dir="rtl"] .h3 { font-weight: 600; font-size: 1.3rem; }
.section { padding-block: var(--section); position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-sub { color: var(--muted); margin: 0; }
.page-top { padding-top: calc(var(--header-h) + clamp(32px, 6vw, 72px)); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  font: 500 0.95rem/1.2 var(--body); text-decoration: none;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: var(--gold-hi); }
.btn-ghost { border-color: rgba(241, 235, 224, 0.4); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--gold-hi); color: var(--gold-hi); }
.btn:active { transform: scale(0.98); }
.link-arrow { color: var(--gold-hi); text-decoration: none; font-weight: 500; display: inline-flex; gap: 8px; padding-block: 12px; align-items: center; }
.link-arrow .arr { display: inline-block; transition: transform .2s var(--ease); }
.link-arrow:hover .arr { transform: translateX(4px); }
[dir="rtl"] .link-arrow .arr { transform: scaleX(-1); }
[dir="rtl"] .link-arrow:hover .arr { transform: scaleX(-1) translateX(4px); }

/* Header: menu only (no name or logo), at the start of the line: left in English, right in Persian */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; isolation: isolate; }
/* The tinted bar lives on a pseudo-element: backdrop-filter on the header itself
   would trap the full-screen mobile menu inside the 72px bar. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-bottom: 1px solid var(--line);
  background: rgba(12, 10, 8, 0.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: 0; transition: opacity .3s var(--ease);
}
.site-header.scrolled::before, .site-header.solid::before { opacity: 1; }
.header-inner { display: flex; align-items: center; justify-content: flex-start; gap: 16px; height: var(--header-h); }
.nav { display: flex; gap: 2px; align-items: center; }
.nav a {
  text-decoration: none; font-size: 0.86rem; letter-spacing: 0.06em; position: relative;
  padding: 12px 11px; min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); transition: color .2s var(--ease);
}
[dir="rtl"] .nav a { letter-spacing: 0; font-size: 0.92rem; }
.nav a:hover, .nav a[aria-current] { color: var(--text); }
.nav a[aria-current]::after { content: ""; position: absolute; inset-inline: 11px; bottom: 6px; height: 1px; background: var(--gold); }
.nav a.nav-cta { color: var(--gold-hi); border: 1px solid rgba(212, 168, 87, 0.5); border-radius: 999px; padding: 0 18px; margin-inline-start: 8px; }
.nav a.nav-cta::after { display: none; }
.nav a.nav-cta:hover, .nav a.nav-cta[aria-current] { background: var(--gold); color: var(--on-gold); }
.nav a.lang-switch { margin-inline-start: 4px; color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; font-size: 0.86rem; letter-spacing: 0; }
.nav a.lang-switch::after { display: none; }
.nav a.lang-switch:hover { border-color: var(--gold); color: var(--gold-hi); }
.menu-btn { display: none; }

/* Home hero (looping video, played at 0.85x by main.js) */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: #000; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 46% 30%; z-index: -3; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(var(--shade-dir), rgba(12,10,8,.9) 0%, rgba(12,10,8,.55) 42%, rgba(12,10,8,.12) 75%),
    linear-gradient(0deg, var(--bg) 0%, rgba(12,10,8,0) 38%),
    linear-gradient(180deg, rgba(12,10,8,.55) 0%, rgba(12,10,8,0) 22%);
}
.hero-content { padding-block: 140px clamp(80px, 12vh, 140px); }
.hero-content .eyebrow, .hero-lede { text-shadow: 0 1px 10px rgba(0, 0, 0, .7); }
.hero-title { margin: 0; font: 500 clamp(3.4rem, 10vw, 8.4rem)/0.9 var(--display); letter-spacing: -0.02em; }
[dir="rtl"] .hero-title { font-weight: 600; line-height: 1.2; letter-spacing: 0; font-size: clamp(3rem, 8.4vw, 6.8rem); }
/* English: the big name uses exactly the font of design v2 (Bodoni Moda 400, second line italic) */
html[lang="en"] .hero-title { font-family: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif; font-weight: 400; letter-spacing: -0.035em; line-height: .92; }
html[lang="en"] .hero-title span:nth-child(2) { font-style: italic; }
.hero-title span { display: block; }
.hero-lede { max-width: 31rem; margin: 22px 0 32px; color: var(--text-soft); text-wrap: pretty; font-size: clamp(1rem, 1.4vw, 1.12rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.motion-toggle {
  position: absolute; inset-inline-end: var(--gutter); bottom: 24px; z-index: 5;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(20, 17, 13, .65); color: var(--text); cursor: pointer; display: grid; place-items: center;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.motion-toggle:hover { border-color: var(--gold); color: var(--gold-hi); }
.motion-toggle svg { width: 20px; height: 20px; fill: currentColor; }
.motion-toggle .i-play { display: none; }
.motion-toggle[aria-pressed="true"] .i-play { display: block; }
.motion-toggle[aria-pressed="true"] .i-pause { display: none; }
.no-video .hero-video, .hero.is-still .hero-video { display: none; }
.no-video .motion-toggle { display: none; }

/* Home: latest album */
.latest { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.latest-cover img { width: 100%; border-radius: 4px; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.latest-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 8px; }

/* Bio: arch frame (design v2) with the photo and four strings drawn in the photo's own coordinates */
.bio-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.arch { position: sticky; top: calc(var(--header-h) + 24px); margin: 0; width: min(100%, 460px); justify-self: center; }
.arch-box { position: relative; }
.arch-frame { position: relative; aspect-ratio: 3 / 4; clip-path: url(#arch); background: #0b0d14; overflow: hidden; }
.arch-media { position: absolute; inset: 0; transform: scale(1.02); }
.arch-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; }
.strings-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.strings-svg { filter: drop-shadow(0 0 1.5px rgba(0, 0, 0, .55)); }
.strings-svg line { stroke: rgba(236, 214, 160, .8); stroke-width: 1.7; stroke-linecap: round; }
.arch-outline { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; opacity: 1; transform: translate(14px, -14px); }
[dir="rtl"] .arch-outline { transform: translate(-14px, -14px); }
.arch-outline path { fill: none; stroke: var(--gold); stroke-width: 1.2; }
.arch figcaption { margin-top: 18px; font: 500 .82rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); text-align: end; }
[dir="rtl"] .arch figcaption { font-size: .9rem; line-height: 1.4; letter-spacing: 0; text-transform: none; }
/* intro + string vibration — only with JS and when motion is allowed */
@media (prefers-reduced-motion: no-preference) {
  .js .arch-media { transform: scale(1.12); }
  .js .arch-outline { opacity: 0; transform: translate(0, 0); }
  .js .strings-svg { opacity: 0; }
  .js .arch.is-ready .arch-media { transform: scale(1.02); transition: transform 2.4s var(--ease) .15s; }
  .js .arch.is-ready .arch-outline { opacity: 1; transform: translate(14px, -14px); transition: opacity 1.2s var(--ease) .9s, transform 1.6s var(--ease) .9s; }
  .js[dir="rtl"] .arch.is-ready .arch-outline { transform: translate(-14px, -14px); }
  .js .arch.is-ready .strings-svg { opacity: 1; transition: opacity 1.2s var(--ease) .9s; }
  .arch.pluck .strings-svg line { animation: vibrate .9s var(--ease) both; }
  .arch.pluck .strings-svg line:nth-child(2) { animation-delay: .05s; }
  .arch.pluck .strings-svg line:nth-child(3) { animation-delay: .1s; }
  .arch.pluck .strings-svg line:nth-child(4) { animation-delay: .15s; }
}
@keyframes vibrate { 0%, 100% { translate: 0 0; } 12% { translate: 0 3.2px; } 26% { translate: 0 -2.6px; } 40% { translate: 0 1.9px; } 54% { translate: 0 -1.2px; } 70% { translate: 0 .5px; } }

.bio-text > p { color: var(--text-soft); max-width: 62ch; }
.awards { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.awards li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.awards .yr { font-size: 1rem; line-height: 1.7; color: var(--gold); }
.small-note { color: var(--muted); font-size: .85rem; margin: 14px 0 0; }

/* Albums list (version 1 behaviour: cover + backdrop on hover) */
.disco { background: var(--bg-2); overflow: hidden; }
.disco-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.12); filter: blur(2px) saturate(.9);
  transition: opacity .6s var(--ease), transform .9s var(--ease);
  pointer-events: none;
}
.disco-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--shade-dir), rgba(20,17,13,.95) 30%, rgba(20,17,13,.7)); }
.disco.has-active .disco-bg { opacity: 1; transform: scale(1); }
.disco .wrap { position: relative; }
.disco-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.disco-item a {
  display: grid; grid-template-columns: 56px 1fr 28px; align-items: center; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none;
  transition: color .25s var(--ease), padding .25s var(--ease), opacity .25s var(--ease);
}
.disco-num { font-size: 0.85rem; line-height: 1; font-weight: 600; color: var(--muted); }
.disco-main { display: flex; align-items: center; gap: 24px; min-width: 0; }
.disco-title { font: 500 clamp(1.5rem, 3.2vw, 2.4rem)/1.2 var(--display); }
[dir="rtl"] .disco-title { font-weight: 600; font-size: clamp(1.3rem, 2.8vw, 2rem); }
.disco-title small { display: block; font: 400 0.85rem/1.5 var(--body); color: var(--muted); margin-top: 4px; }
.disco-cover { width: 72px; height: 72px; flex: none; object-fit: cover; border-radius: 3px; opacity: 0; transform: translateX(12px) scale(.96); transition: opacity .35s var(--ease), transform .35s var(--ease); }
[dir="rtl"] .disco-cover { transform: translateX(-12px) scale(.96); }
/* English: the small cover sits to the LEFT of the album name; Persian: beside the Persian name */
html[lang="en"] .disco-cover { order: -1; transform: translateX(-12px) scale(.96); }
.disco-go { color: var(--gold); opacity: 0; transition: opacity .25s var(--ease); width: 22px; height: 22px; }
[dir="rtl"] .disco-go { transform: scaleX(-1); }
.disco.has-active .disco-item a { opacity: .45; }
.disco .disco-item a.active { opacity: 1; padding-inline-start: 12px; }
.disco-item a.active .disco-title { color: var(--gold-hi); }
.disco-item a.active .disco-cover { opacity: 1; transform: none; }
.disco-item a.active .disco-go { opacity: 1; }
.disco-item a:focus-visible { outline-offset: -2px; }

/* Album page */
.crumb { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; padding-block: 12px; margin-bottom: 20px; font-size: .92rem; min-height: 44px; }
.crumb:hover { color: var(--gold-hi); }
.crumb svg { width: 16px; height: 16px; }
[dir="rtl"] .crumb svg { transform: scaleX(-1); }
.album { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.album-cover { margin: 0; position: relative; }
.album-cover img { width: 100%; border-radius: 4px; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.album-info .h1 { margin-bottom: 8px; }
.album-sub { color: var(--muted); margin: 0 0 28px; font-size: 1.1rem; }
.meta-list { margin: 0 0 32px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.meta-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.meta-list .k { color: var(--muted); }
.platforms-h { font: 500 0.75rem/1.6 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
[dir="rtl"] .platforms-h { font-weight: 600; font-size: .9rem; line-height: 1.7; letter-spacing: 0; text-transform: none; }
.platforms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.platform-btn {
  display: grid; grid-template-columns: 28px 1fr 18px; align-items: center; gap: 14px;
  height: 64px; padding-inline: 18px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); text-decoration: none; font: 500 1rem/1.2 var(--sans);
  transition: border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease);
}
.platform-btn:hover { border-color: var(--gold); color: var(--gold-hi); background: #211c15; }
.platform-btn:active { transform: scale(.985); }
.platform-btn .ico { width: 28px; height: 28px; color: var(--gold); }
.platform-btn .ext { width: 16px; height: 16px; color: var(--muted); }
[dir="rtl"] .platform-btn .ext { transform: scaleX(-1); }
.platform-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.album-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); }
.album-nav a { color: var(--muted); text-decoration: none; padding-block: 12px; max-width: 48%; }
.album-nav a:hover { color: var(--gold-hi); }
.album-nav small { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
[dir="rtl"] .album-nav small { letter-spacing: 0; text-transform: none; font-size: .85rem; }
.album-nav strong { font: 500 1.25rem/1.3 var(--display); color: var(--text); }
.album-nav .next { text-align: end; margin-inline-start: auto; }

/* Concerts: dates, halls and cities are all in the body font */
.concerts { scroll-margin-top: 96px; }
.tour-tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 28px; }
.tour-tabs button {
  min-height: 44px; min-width: 88px; padding: 0 20px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--muted); font: 600 0.95rem var(--body); font-variant-numeric: tabular-nums lining-nums;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.tour-tabs button[aria-selected="true"] { background: var(--gold); color: var(--on-gold); }
.tour-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.tour-row { display: grid; grid-template-columns: 120px 1.3fr 1fr; gap: 20px; align-items: baseline; padding: 20px clamp(12px, 2vw, 24px); border-bottom: 1px solid var(--line); transition: background-color .2s var(--ease); }
.tour-row:hover { background: rgba(212,168,87,.05); }
.tour-date { font-size: 1.05rem; line-height: 1.35; color: var(--gold-hi); }
.tour-date small { display: block; font: 600 0.75rem var(--body); color: var(--muted); letter-spacing: .1em; text-transform: uppercase; font-variant-numeric: tabular-nums lining-nums; }
[dir="rtl"] .tour-date small { font-size: .85rem; letter-spacing: 0; }
.tour-venue { font: 600 1.1rem/1.45 var(--body); }
[dir="rtl"] .tour-venue { font-size: 1.05rem; }
.tour-venue.unknown { color: var(--muted); font-weight: 400; }
.tour-city { color: var(--muted); font-size: 0.95rem; }
.tour-note { color: var(--muted); font-size: 0.9rem; margin-top: 24px; padding-inline: clamp(12px, 2vw, 24px); }

/* News: portrait photo shown uncropped (the photographer's signature is at the bottom) */
.news-card { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: 0; margin-bottom: clamp(56px, 8vw, 96px); }
.news-card img { width: 100%; height: auto; border-start-start-radius: 6px; border-end-start-radius: 6px; }
.news-card-tall img { aspect-ratio: 2 / 3; object-fit: cover; }
.news-body { background: var(--surface); padding: clamp(28px, 4vw, 56px); border-start-end-radius: 6px; border-end-end-radius: 6px; border: 1px solid var(--line); border-inline-start: 0; display: flex; flex-direction: column; justify-content: center; }
.news-body p { color: var(--text-soft); margin: 0 0 12px; }
.news-body .news-meta { color: var(--muted); font-size: .88rem; }

/* Gallery */
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery a {
  display: block; width: 100%; margin: 0 0 16px; background: var(--surface); cursor: zoom-in;
  break-inside: avoid; border-radius: 4px; overflow: hidden; position: relative;
}
.gallery img { width: 100%; height: auto; filter: grayscale(.15) brightness(1); transition: transform .5s var(--ease), filter .5s var(--ease); }
.gallery a:focus-visible { outline-offset: -3px; }
/* hover: very small zoom + slight lift of brightness; JS adds a tiny shift that follows the pointer (--tx/--ty) */
@media (hover: hover) { .gallery a:hover img { filter: grayscale(0) brightness(1.07); } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .gallery a:hover img { transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0) scale(1.03); }
  .gallery a.tracking img { transition: transform .14s linear, filter .5s var(--ease); }
}

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; color: var(--text); max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; height: 100dvh; margin: 0; overflow: hidden; }
.lightbox::backdrop { background: rgba(8, 6, 4, 0.95); }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100vw; padding: 64px 72px 56px; touch-action: pan-y; }
.lb-figure img { max-width: min(92vw, 1500px); max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 3px; }
.lb-cap { margin: 0; max-width: 70ch; text-align: center; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.lb-close, .lb-nav { position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(20,17,13,.75); color: var(--text); cursor: pointer; display: grid; place-items: center; padding: 0; }
.lb-close svg, .lb-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lb-close:hover, .lb-nav:hover { border-color: var(--gold); color: var(--gold-hi); }
.lb-close { top: 16px; inset-inline-end: 16px; }
.lb-prev { inset-inline-start: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { inset-inline-end: 16px; top: 50%; transform: translateY(-50%); }
[dir="rtl"] .lb-nav svg { transform: scaleX(-1); }
.lb-count { position: fixed; top: 28px; inset-inline-start: 24px; margin: 0; color: var(--muted); font-size: .85rem; font-weight: 600; }

/* Videos */
.video-grid { display: grid; grid-template-columns: 4fr 5fr; gap: clamp(24px, 6vw, 80px); align-items: center; }
.video-grid > .h2 { margin: 0; }
.video-grid p { color: var(--text-soft); }
.video-frame { border-radius: 6px; overflow: hidden; border: 1px solid var(--line); background: #000; width: 100%; margin-inline: auto; }
.video-frame.portrait { max-width: 380px; }
.video-frame video { width: 100%; background: #000; }
.video-frame.portrait video { aspect-ratio: 9 / 16; }
.video-frame.landscape video { aspect-ratio: 16 / 9; }

/* Contact */
.contact { text-align: center; background: radial-gradient(ellipse at 50% 100%, rgba(212,168,87,.14), transparent 60%); }
.contact-inner { display: flex; flex-direction: column; align-items: center; padding-block: var(--section); }
.contact-title { margin: 0 0 20px; font: 500 clamp(2.6rem, 8vw, 6rem)/1.15 var(--display); }
[dir="rtl"] .contact-title { font-weight: 600; font-size: clamp(2.4rem, 7vw, 5rem); }
.contact-mail { display: inline-flex; align-items: center; min-height: 48px; font: 500 clamp(1.05rem, 2.6vw, 1.5rem)/1.4 var(--sans); color: var(--gold-hi); text-decoration: none; border-bottom: 1px solid rgba(232,196,125,.4); padding: 6px 0; word-break: break-word; direction: ltr; unicode-bidi: isolate; }
.contact-mail:hover { border-color: var(--gold-hi); }
.copy-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; min-width: 12.5rem; background: none; border: 1px solid transparent; border-radius: 999px; color: var(--muted); cursor: pointer; font: 500 .9rem var(--body); padding: 10px 18px; min-height: 44px; transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease); }
.copy-btn:hover { color: var(--gold-hi); }
.copy-btn svg { width: 18px; height: 18px; flex: none; }
.copy-btn .ico-check, .copy-btn.is-done .ico-copy { display: none; }
.copy-btn.is-done .ico-check { display: block; }
.copy-btn.is-done { color: var(--on-gold); background: var(--gold); border-color: var(--gold); }
.copy-btn.is-fail { color: #f0b0a0; border-color: rgba(240, 176, 160, .5); }
.copy-status { min-height: 1.5em; margin: 8px 0 0; font-size: .92rem; color: var(--text-soft); max-width: 42ch; }
.contact-mail.selected { background: rgba(212, 168, 87, .25); }

/* Contact form */
.contact-form { width: 100%; max-width: 760px; margin: 44px 0 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; text-align: start; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-subject, .field-message, .form-note, .form-preview, .form-actions, .form-status { grid-column: 1 / -1; }
.field label { font: 600 .78rem/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
[dir="rtl"] .field label { letter-spacing: 0; text-transform: none; font-size: .92rem; }
.field input, .field textarea { width: 100%; font: 400 1rem/1.5 var(--body); color: var(--text); background: rgba(241, 235, 224, .045); border: 1px solid var(--line); border-radius: 4px; padding: 14px 16px; min-height: 52px; transition: border-color .2s var(--ease), background .2s var(--ease); }
.field input[type="email"] { text-align: left; }
[dir="rtl"] .field input[type="email"] { text-align: right; direction: ltr; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: rgba(212, 168, 87, .45); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; border-color: var(--gold); background: rgba(241, 235, 224, .07); }
.field [aria-invalid="true"] { border-color: #e0907c; }
.field-err { margin: 0; font-size: .88rem; color: #f0b0a0; }
.field-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.form-note { margin: 0; font-size: .9rem; color: var(--muted); }
.form-preview { margin: 0; padding: 12px 16px; font-size: .92rem; color: var(--text-soft); border: 1px dashed rgba(212, 168, 87, .5); border-radius: 4px; }
.form-actions { display: flex; }
.form-actions .btn { cursor: pointer; font-family: var(--body); }
.form-actions .btn[disabled] { opacity: .6; cursor: progress; }
.form-status { margin: 0; min-height: 1.5em; font-size: .95rem; color: var(--text-soft); }
.form-status.ok { color: var(--gold-hi); }
.form-status.err { color: #f0b0a0; }
@media (max-width: 640px) {
  .contact-form { grid-template-columns: 1fr; margin-top: 32px; }
  .field-name, .field-email { grid-column: 1; }
  .form-actions .btn { width: 100%; }
}
.socials { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 0; margin: 28px 0 0; }
.socials a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .92rem; transition: border-color .2s var(--ease), color .2s var(--ease); }
.socials a:hover { border-color: var(--gold); color: var(--gold-hi); }
.socials svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.socials svg .fill { fill: currentColor; stroke: none; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-block: 28px; font-size: .85rem; color: var(--muted); }
.footer-inner p { margin: 0; }
.footer-inner a { text-decoration: none; padding: 12px 0; }
.footer-inner a:hover { color: var(--gold-hi); }

/* Root language chooser + 404 */
.chooser { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px var(--gutter); }
.chooser h1 { font: 500 clamp(2.6rem, 8vw, 5rem)/1.1 var(--serif); margin: 0 0 32px; }
.chooser .btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Reveal on scroll (JS adds .js) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Tablet */
@media (max-width: 960px) {
  .bio-grid, .video-grid, .album, .latest { grid-template-columns: 1fr; }
  .arch { position: relative; top: 0; width: min(76vw, 380px); }
  .news-card { grid-template-columns: 1fr; }
  .news-card img { max-width: 440px; width: 100%; margin-inline: auto; border-radius: 6px 6px 0 0; }
  .news-body { border-inline-start: 1px solid var(--line); border-top: 0; border-radius: 0 0 6px 6px; }
  .album-cover { max-width: 460px; }
  .latest-cover { max-width: 320px; }
}

/* Mobile nav */
@media (max-width: 960px) {
  .menu-btn {
    display: grid; place-content: center; gap: 7px; width: 48px; height: 48px; margin-inline-start: -8px;
    background: none; border: 0; cursor: pointer; position: relative; z-index: 60; color: var(--text);
  }
  .menu-btn span { display: block; width: 26px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; z-index: 55; flex-direction: column; justify-content: center; gap: 4px; overflow-y: auto; padding: 80px 16px 40px;
    background: rgba(12,10,8,.98); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  }
  .nav.open { opacity: 1; visibility: visible; }
  .nav a { font: 500 1.9rem/1.2 var(--display); letter-spacing: 0; color: var(--text); padding: 10px 24px; }
  [dir="rtl"] .nav a { font-weight: 600; font-size: 1.5rem; }
  .nav a[aria-current]::after { inset-inline: 24px; bottom: 6px; }
  .nav a.nav-cta { margin: 12px 0 0; font: 500 1rem var(--body); padding: 14px 28px; }
  .nav a.lang-switch { margin: 12px 0 0; font: 500 1rem var(--body); padding: 12px 24px; }
  body.menu-open { overflow: hidden; }
}

/* Phone */
@media (max-width: 640px) {
  .hero-media { object-position: 42% 40%; }
  .hero-shade { background:
      linear-gradient(0deg, var(--bg) 6%, rgba(12,10,8,.78) 46%, rgba(12,10,8,.18) 80%),
      linear-gradient(180deg, rgba(12,10,8,.55) 0%, rgba(12,10,8,0) 18%); }
  .hero-content { padding-bottom: 96px; }
  .hero-actions .btn { width: 100%; }
  .motion-toggle { bottom: 28px; }
  .disco-item a { grid-template-columns: 64px 1fr; gap: 16px; padding: 14px 0; }
  .disco-main { display: contents; }
  .disco-cover, html[lang="en"] .disco-cover { grid-row: 1; grid-column: 1; width: 64px; height: 64px; opacity: 1; transform: none; order: 0; }
  [dir="rtl"] .disco-cover { transform: none; }
  .disco-title { grid-column: 2; grid-row: 1; }
  .disco-num, .disco-go { display: none; }
  .disco .disco-item a.active { padding-inline-start: 0; }
  /* Persian: the cover stays on the LEFT of the title (as in English), the title keeps right alignment */
  [dir="rtl"] .disco-item a { display: flex; justify-content: flex-start; align-items: center; gap: 16px; }
  [dir="rtl"] .disco-item a .disco-title { flex: 0 1 auto; }
  [dir="rtl"] .disco-item a .disco-cover { order: 2; }
  .disco.has-active .disco-item a { opacity: 1; }
  .platforms { grid-template-columns: 1fr; }
  .tour-row { grid-template-columns: 84px 1fr; gap: 2px 14px; padding-inline: 12px; }
  .tour-date { grid-row: 1 / span 2; }
  .tour-venue { font-size: 1.05rem; }
  .gallery { columns: 2; column-gap: 10px; }
  .gallery a { margin-bottom: 10px; }
  .awards li { grid-template-columns: 56px 1fr; }
  .lb-figure { padding: 70px 8px 96px; }
  .lb-figure img { max-width: 100vw; max-height: calc(100dvh - 190px); max-height: calc(100vh - 190px); }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .album-nav { flex-direction: column; }
  .album-nav a { max-width: none; }
  .album-nav .next { text-align: start; margin-inline-start: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-video { display: none; }
  .hero.user-play .hero-video { display: block; }
}
