/* Ali Pahlavan — "liner notes" layout: light gallery paper, Khiale To blue. English: Instrument Serif + Hanken Grotesk. Persian: Vazirmatn. */
:root {
  color-scheme: light;
  --paper: #fbfbf9;
  --mist: #edf1f3;
  --ink: #111820;
  --ink-2: #4b5560;
  --rule: #d6dde2;
  --blue: #0b5a7c;      /* from the Khiale To cover */
  --blue-deep: #083f58;
  --display: "Instrument Serif", "Times New Roman", serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --fa: "Vazirmatn", Tahoma, sans-serif;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.7 var(--body); -webkit-font-smoothing: antialiased;
}
html[lang="fa"] body { font-family: var(--fa); font-size: 17px; line-height: 1.95; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
h2 { font-family: var(--display); font-size: clamp(2.4rem, 5.5vw, 4.2rem); line-height: 1.02; letter-spacing: -.01em; }
h2 em { color: var(--blue); }
h3 { font-family: var(--display); font-size: 1.75rem; line-height: 1.15; }
html[lang="fa"] h2 { font-family: var(--fa); font-weight: 300; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.35; letter-spacing: 0; }
html[lang="fa"] h3 { font-family: var(--fa); font-weight: 600; font-size: 1.3rem; line-height: 1.6; }
html[lang="fa"] h2 em { font-style: normal; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.label {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .74rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--blue);
}
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
html[lang="fa"] .label { letter-spacing: 0; font-size: .9rem; }
.muted { color: var(--ink-2); }
.lead { font-size: 1.18rem; color: var(--ink-2); max-width: 58ch; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 40; background: rgba(251,251,249,.9);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 20px; }
.mark { display: block; line-height: 0; }
.mark img { height: 30px; width: auto; }
.menu { display: flex; align-items: center; gap: 28px; font-size: .86rem; letter-spacing: .06em; }
.menu a { text-decoration: none; color: var(--ink-2); }
.menu a:hover, .menu a[aria-current] { color: var(--ink); }
.lang {
  border: 1px solid var(--ink); border-radius: 999px; padding: 5px 14px; color: var(--ink) !important;
  font-family: var(--fa); letter-spacing: 0;
}
html[lang="fa"] .lang { font-family: var(--body); }
.lang:hover { background: var(--ink); color: var(--paper) !important; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 12px 10px; cursor: pointer; color: var(--ink); }
.burger i { display: block; height: 1.5px; background: currentColor; margin: 5px 0; transition: transform .25s, opacity .25s; }
@media (max-width: 900px) {
  .burger { display: block; }
  .menu {
    position: fixed; inset: 64px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule); padding: 6px 20px 22px;
    transform: translateY(-110%); visibility: hidden; transition: transform .3s ease, visibility .3s;
  }
  .menu a { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 1.05rem; }
  .menu .lang { align-self: flex-start; margin-top: 16px; border-bottom: 1px solid var(--ink); }
  body.open .menu { transform: none; visibility: visible; }
  body.open .burger i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  body.open .burger i:nth-child(2) { opacity: 0; }
  body.open .burger i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

/* Hero */
.hero { padding: clamp(40px, 7vw, 90px) 0 0; overflow: hidden; }
.hero-head { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px clamp(28px, 5vw, 70px); align-items: end; }
.hero-head > * { min-width: 0; }
.hero h1 { font-family: var(--display); font-size: clamp(4.2rem, 13vw, 11rem); line-height: .86; letter-spacing: -.025em; }
.hero-logo img { width: clamp(220px, 34vw, 460px); height: auto; }
.hero h1 span { display: block; font-style: italic; color: var(--blue); }
html[lang="fa"] .hero h1 { font-family: var(--fa); font-weight: 200; font-size: clamp(3.6rem, 11vw, 9rem); line-height: 1.15; letter-spacing: -.01em; }
.hero h1 span { font-style: normal; font-weight: 600; }
.hero-side .lead { margin: 14px 0 0; }
.roles { font-size: .8rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--blue); margin: 0; }
html[lang="fa"] .roles { letter-spacing: 0; font-size: 1rem; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  padding: 13px 24px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  font-size: .86rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; transition: .2s;
}
.btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.line { background: transparent; color: var(--ink); }
.btn.line:hover { background: var(--ink); color: var(--paper); }
html[lang="fa"] .btn { letter-spacing: 0; font-size: .95rem; }
.hero-photo { margin: clamp(36px, 6vw, 70px) 0 0; position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.hero-photo figcaption { font-size: .8rem; color: var(--ink-2); padding: 10px 0; }
@media (max-width: 760px) {
  .hero-head { grid-template-columns: 1fr; }
  .hero-photo img { aspect-ratio: 4 / 3; }
}

/* Highlights ribbon */
.ribbon { background: var(--ink); color: var(--paper); }
.ribbon ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.ribbon li { padding: 26px 24px 26px 0; display: grid; gap: 4px; }
.ribbon li + li { padding-inline-start: 24px; border-inline-start: 1px solid rgba(255,255,255,.18); }
.ribbon b { font-family: var(--display); font-weight: 400; font-size: 1.45rem; line-height: 1.2; }
html[lang="fa"] .ribbon b { font-family: var(--fa); font-weight: 600; font-size: 1.1rem; }
.ribbon small { color: #9fb6c4; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
html[lang="fa"] .ribbon small { letter-spacing: 0; font-size: .9rem; }
@media (max-width: 760px) {
  .ribbon ul { grid-template-columns: 1fr; }
  .ribbon li, .ribbon li + li { padding: 18px 0; border-inline-start: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .ribbon li:first-child { border-top: 0; }
}

/* Sections */
.sec { padding: clamp(70px, 10vw, 130px) 0; }
.sec.mist { background: var(--mist); }
.sec-head { display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 60px); align-items: end; }
.sec-head .label { grid-column: 1 / -1; }
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; } }

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); }
.cols > * { min-width: 0; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }
.dropcap::first-letter { font-family: var(--display); float: left; font-size: 4.6em; line-height: .8; padding: 8px 12px 0 0; color: var(--blue); }
html[lang="fa"] .dropcap::first-letter { all: unset; }

.figures { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.figures div { padding: 22px 0 24px; border-bottom: 1px solid var(--rule); }
.figures div:nth-child(odd) { padding-inline-end: 20px; border-inline-end: 1px solid var(--rule); }
.figures div:nth-child(even) { padding-inline-start: 20px; }
.figures b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: var(--blue); }
.figures span { font-size: .9rem; color: var(--ink-2); }
html[lang="fa"] .figures b { font-family: var(--fa); font-weight: 300; font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.3; }

/* Releases */
.covers { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 36px); }
@media (max-width: 760px) { .covers { grid-template-columns: 1fr; } }
.release img { width: 100%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 24px 50px -28px rgba(8,30,45,.55); transition: transform .4s ease; }
.release a:hover img { transform: translateY(-4px); }
.release a { text-decoration: none; display: block; }
.release h3 { margin-top: 18px; }
.release .note { font-size: .92rem; color: var(--ink-2); margin-top: 4px; }
.release .award { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-top: 10px; }
html[lang="fa"] .release .award { letter-spacing: 0; font-size: .85rem; }

.tracklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); counter-reset: t; }
.tracklist li { counter-increment: t; display: grid; grid-template-columns: 3rem 1fr auto; gap: 12px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.tracklist li::before { content: counter(t, decimal-leading-zero); font-size: .8rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
html[lang="fa"] .tracklist li::before { content: counter(t, persian); }
.tracklist b { font-family: var(--display); font-weight: 400; font-size: 1.45rem; }
html[lang="fa"] .tracklist b { font-family: var(--fa); font-weight: 600; font-size: 1.1rem; }
.tracklist small { color: var(--ink-2); font-size: .85rem; }

.platforms { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; }
.platforms a { color: var(--ink-2); }
.platforms a:hover { color: var(--blue); }

.embed { margin-top: 28px; }
.embed iframe { width: 100%; border: 0; border-radius: 12px; display: block; }

/* Arian */
.arian { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.arian .stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.arian .stack img { aspect-ratio: 1; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .arian { grid-template-columns: 1fr; } }

/* News: featured story + cards; archive; story pages */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 64px); align-items: center; margin-bottom: clamp(40px, 6vw, 70px); }
.feature-img { display: block; }
.ph { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.feature-img:hover .ph img { transform: scale(1.03); }
.kicker { display: inline-block; background: var(--blue); color: #fff; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding: 5px 10px; margin-inline-end: 12px; }
html[lang="fa"] .kicker { letter-spacing: 0; font-size: .82rem; }
.feature time, .card time, .story-head time { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
html[lang="fa"] .feature time, html[lang="fa"] .card time, html[lang="fa"] .story-head time { letter-spacing: 0; font-size: .92rem; }
.feature h3 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; margin: 16px 0 18px; }
html[lang="fa"] .feature h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 300; line-height: 1.55; }
.feature h3 a { text-decoration: none; }
.feature p { color: var(--ink-2); font-size: 1.08rem; max-width: 52ch; }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; } }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
@media (max-width: 860px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.card h3 { font-size: 1.45rem; line-height: 1.2; transition: color .2s; }
html[lang="fa"] .card h3 { font-size: 1.08rem; line-height: 1.75; }
.card:hover h3 { color: var(--blue); }
.thumb { aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: 6px; background: var(--ink); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .thumb img { transform: scale(1.04); }
.tile { display: grid; place-items: center; padding: 20px; text-align: center; color: #fff;
  background: radial-gradient(120% 90% at 85% 0%, #1677a3 0%, transparent 60%), var(--blue-deep); }
.tile span { font-family: var(--display); font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.1; }
html[lang="fa"] .tile span { font-family: var(--fa); font-style: normal; font-weight: 300; }
.center { text-align: center; margin: clamp(40px, 6vw, 64px) 0 0; }

.news-archive { padding-block: clamp(40px, 6vw, 70px) clamp(70px, 10vw, 120px); }
.year { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 24px; padding: 34px 0; border-top: 1px solid var(--ink); }
.year-label { font-size: clamp(2rem, 4vw, 3rem); color: var(--blue); }
@media (max-width: 760px) { .year { grid-template-columns: 1fr; } }

.story-page { padding: clamp(36px, 6vw, 70px) 0 clamp(60px, 9vw, 110px); }
.back { font-size: .86rem; color: var(--ink-2); text-decoration: none; }
.back::before { content: "← "; }
html[lang="fa"] .back::before { content: "→ "; }
.story-head { margin: 28px 0 clamp(30px, 5vw, 56px); max-width: 30ch; }
html[lang="fa"] .story-head { max-width: 40ch; }
.story-head h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 5.5vw, 4.4rem); line-height: 1.04; margin-top: 14px; }
html[lang="fa"] .story-head h1 { font-family: var(--fa); font-weight: 300; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.5; }
.story-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 70px); align-items: start; }
.story-img { margin: 0; position: sticky; top: 90px; }
.story-img img { width: 100%; }
.story-img.tile { aspect-ratio: 4 / 3; }
.story-text { font-size: 1.12rem; max-width: 62ch; }
.story-text p { margin: 0 0 1.2em; }
@media (max-width: 760px) { .story-grid { grid-template-columns: 1fr; } .story-img { position: static; } }

h3.sub { margin-bottom: 18px; }
h2.sub2 { margin: 18px 0 22px; }

/* Awards */
.awards { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.awards li { display: grid; grid-template-columns: 6rem 15rem minmax(0, 1fr); gap: 6px 28px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.a-year { font-family: var(--display); font-size: 1.6rem; line-height: 1; color: var(--blue); font-variant-numeric: tabular-nums; }
html[lang="fa"] .a-year { font-family: var(--fa); font-weight: 300; font-size: 1.4rem; }
.a-result { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
html[lang="fa"] .a-result { letter-spacing: 0; font-size: .95rem; }
.a-what b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.45rem; line-height: 1.2; }
html[lang="fa"] .a-what b { font-family: var(--fa); font-weight: 600; font-size: 1.08rem; line-height: 1.7; }
.a-what small { color: var(--ink-2); font-size: .92rem; }
@media (max-width: 760px) {
  .awards li { grid-template-columns: 4.5rem minmax(0, 1fr); }
  .a-what { grid-column: 2; }
}

/* Live */
.shows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.shows li { display: grid; grid-template-columns: 10rem 1fr auto; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.shows time { font-variant-numeric: tabular-nums; color: var(--ink-2); font-size: .92rem; }
.shows b { font-family: var(--display); font-weight: 400; font-size: 1.5rem; }
html[lang="fa"] .shows b { font-family: var(--fa); font-weight: 600; font-size: 1.1rem; }
.shows .tag { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--blue); color: var(--blue); padding: 3px 10px; border-radius: 999px; }
html[lang="fa"] .shows .tag { letter-spacing: 0; font-size: .82rem; }
@media (max-width: 640px) { .shows li { grid-template-columns: 1fr; gap: 4px; } .shows .tag { justify-self: start; } }

/* Contact */
.contact-big { font-family: var(--display); font-size: clamp(1.9rem, 5.5vw, 4rem); line-height: 1.1; text-decoration: none; word-break: break-word; color: var(--blue); }
.contact-big:hover { color: var(--ink); }

/* Footer */
.foot { border-top: 1px solid var(--rule); padding: 36px 0 44px; font-size: .88rem; color: var(--ink-2); }
.foot-logo { line-height: 0; }
.foot-logo img { width: 64px; height: auto; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot a { text-decoration: none; }

.page-head { padding: clamp(60px, 9vw, 110px) 0 clamp(30px, 5vw, 50px); border-bottom: 1px solid var(--rule); }
.page-head .lead { margin-top: 18px; }
.page-head h1 { font-family: var(--display); font-size: clamp(3.2rem, 9vw, 7rem); line-height: .95; margin-top: 16px; }
html[lang="fa"] .page-head h1 { font-family: var(--fa); font-weight: 300; font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.3; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
