/* Black and gold. Two photos only, both faded into the page as backgrounds with the content on top. */
:root {
  color-scheme: dark;
  --backdrop: #121212;
  --backdrop-deep: #0b0b0b;
  --line: #2c2a25;
  --fg: #efece4;
  --muted: #aaa69c;
  --gold: #d4af5a;
  --gold-light: #e3c27a;
  --f-display: "Instrument Serif", "Times New Roman", serif;
  --f-body: "Figtree", system-ui, sans-serif;
  --f-fa: "Vazirmatn", system-ui, sans-serif;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--backdrop-deep); color: var(--fg); font-family: var(--f-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
html[dir="rtl"] body { font-family: var(--f-fa); }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.bar {
  position: fixed; inset: 0 0 auto; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gutter-r) 14px var(--gutter-l);
  background: linear-gradient(to bottom, rgb(11 11 11 / 0.85), rgb(11 11 11 / 0));
}
.mark { font-family: var(--f-display); font-size: 26px; text-decoration: none; letter-spacing: .02em; }
.bar nav { display: flex; gap: 22px; align-items: center; font-size: 14px; }
.bar nav a { text-decoration: none; color: #cfcfcc; }
.bar nav a:hover { color: var(--fg); }
.lang { font: inherit; font-family: var(--f-fa); font-size: 14px; color: var(--fg); background: rgb(11 11 11 / 0.4); border: 1px solid rgb(255 255 255 / 0.25); border-radius: 999px; padding: 5px 14px; cursor: pointer; }
html[dir="rtl"] .lang { font-family: var(--f-body); }

canvas.bg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* Hero: faded broadcast portrait behind the bio */
.hero { position: relative; min-height: min(100svh, 980px); display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero canvas.bg { z-index: -2; opacity: .7; inset: 36px max(2%, calc((100% - 1180px) / 4)) 0 auto; height: calc(100% - 36px); width: min(60%, 840px); -webkit-mask-image: linear-gradient(to right, transparent, #000 40%); mask-image: linear-gradient(to right, transparent, #000 35%, #000 85%, transparent); }
html[dir="rtl"] .hero canvas.bg { inset: 36px auto 0 max(2%, calc((100% - 1180px) / 4)); -webkit-mask-image: linear-gradient(to left, transparent, #000 40%); mask-image: linear-gradient(to left, transparent, #000 35%, #000 85%, transparent); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to right, var(--backdrop-deep) 0%, rgb(11 11 11 / .82) 38%, rgb(11 11 11 / .15) 75%),
    linear-gradient(to top, var(--backdrop-deep) 0%, rgb(11 11 11 / 0) 35%); }
html[dir="rtl"] .hero::after { background:
    linear-gradient(to left, var(--backdrop-deep) 0%, rgb(11 11 11 / .82) 38%, rgb(11 11 11 / .15) 75%),
    linear-gradient(to top, var(--backdrop-deep) 0%, rgb(11 11 11 / 0) 35%); }
.hero-in { width: 100%; max-width: 1180px; margin: 0 auto; padding: 120px var(--gutter-r) clamp(48px, 8vw, 96px) var(--gutter-l); display: grid; gap: 18px; justify-items: start; }
.name { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(64px, 10vw, 140px); line-height: .86; letter-spacing: -.01em; }
.name span { display: block; }
.name span + span { font-style: italic; color: var(--gold); }
html[dir="rtl"] .name { font-family: var(--f-fa); font-weight: 800; line-height: 1.15; }
html[dir="rtl"] .name span + span { font-style: normal; }
.tagline { margin: 0; font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: #c4c4c1; }
.bio { margin: 0; max-width: 50ch; font-size: 18px; color: #e2e1dd; text-shadow: 0 1px 12px rgb(0 0 0 / .5); }
html[dir="rtl"] .bio { font-size: 17px; line-height: 2; }
.socials { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 6px; }
.socials a { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; text-decoration: none; font-size: 15.5px; color: var(--fg); border: 1px solid rgb(212 175 90 / .45); background: rgb(11 11 11 / .5); border-radius: 999px; padding: 9px 18px 9px 14px; transition: border-color .2s, color .2s, background .2s; }
html[dir="rtl"] .socials a { padding: 9px 14px 9px 18px; }
.socials svg { width: 19px; height: 19px; fill: var(--gold-light); flex: none; transition: fill .2s; }
.socials a:hover { border-color: var(--gold); color: var(--gold-light); background: rgb(212 175 90 / .08); }

main { max-width: 1180px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }

/* ZAMAN */
.zaman { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: 64px; }
.zaman-head { min-width: 0; display: grid; gap: 12px; justify-items: start; }
.kicker { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); }
html[dir="rtl"] .kicker { letter-spacing: 0; font-size: 14px; }
.zaman h2 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(64px, 10vw, 132px); line-height: .85; letter-spacing: .06em; }
.zaman p { margin: 0; max-width: 46ch; color: #d4d3cf; font-size: 17px; }
.player { min-width: 0; }
.player iframe { width: 100%; border: 0; border-radius: 12px; display: block; }
.link { font-size: 14px; color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.link:hover { color: var(--gold); }

/* Band between ZAMAN and podcasts: the radio portrait, clearly visible, soft edges only */
.band { position: relative; height: clamp(420px, 62vw, 760px); overflow: hidden; isolation: isolate; }
.band canvas.bg { z-index: -2; opacity: .95; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, var(--backdrop-deep) 0%, rgb(11 11 11 / 0) 18%, rgb(11 11 11 / 0) 82%, var(--backdrop-deep) 100%), radial-gradient(ellipse 70% 90% at 50% 45%, rgb(11 11 11 / 0) 55%, var(--backdrop-deep) 100%); }

/* Podcasts: cards rise slightly into the fade of the band above. */
.podcasts { position: relative; overflow: hidden; isolation: isolate; padding-block: 24px 96px; margin-top: -120px; }
.podcasts-in { max-width: 1180px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.podcasts .section-title { text-shadow: 0 2px 18px rgb(0 0 0 / .7); }
.section-title { margin: 0 0 28px; font-family: var(--f-display); font-weight: 400; font-size: clamp(44px, 6vw, 72px); line-height: 1; }
html[dir="rtl"] .section-title { font-family: var(--f-fa); font-weight: 800; }
.pods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pod { min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 18px; background: rgb(11 11 11 / .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: 14px; }
.pod-head { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: start; }
.pod-head img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; }
.pod h3 { margin: 0 0 4px; font-family: var(--f-fa); font-weight: 600; font-size: 21px; line-height: 1.4; }
.pod h3 small { display: block; font-family: var(--f-body); font-weight: 400; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.pod p { margin: 0; font-size: 14.5px; color: var(--muted); }
html[dir="rtl"] .pod p { line-height: 1.9; }
.pod iframe { width: 100%; border: 0; border-radius: 12px; margin-top: auto; display: block; }
.pod .link { align-self: flex-start; }

footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 1180px; margin: 0 auto; padding: 24px var(--gutter-r) calc(28px + env(safe-area-inset-bottom, 0px)) var(--gutter-l); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--gold); }

@media (max-width: 960px) {
  .pods { grid-template-columns: minmax(0, 1fr); }
  .zaman { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .hero { min-height: 92svh; }
  .hero canvas.bg, html[dir="rtl"] .hero canvas.bg { opacity: .55; inset: 0; width: 100%; height: 100%; -webkit-mask-image: none; mask-image: none; }
  .hero::after, html[dir="rtl"] .hero::after { background: linear-gradient(to top, var(--backdrop-deep) 8%, rgb(11 11 11 / .85) 45%, rgb(11 11 11 / .2) 80%); }
  .bar nav { gap: 14px; }
  .band { height: 460px; }
  .podcasts { margin-top: -60px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
