/* Layout idea: dark "studio" bands (hero, featured episode, footer) alternate with white reading bands;
   the logo's seven sound bars are the one moving element — a quiet level meter of a voice speaking. */
:root {
  --ink: #32332F;        /* primary dark grey */
  --ink-2: #4A4B46;      /* secondary text / guest panels */
  --paper: #FFFFFF;
  --gold: #E5C158;       /* accent only: never a background, never text on white */
  --gold-soft: #F5EBC8;  /* light gold field */
  --line: #E5E5E5;       /* hairlines */
  --display: "Cairo", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --body: "IBM Plex Sans Arabic", "Cairo", system-ui, sans-serif;
  --latin: "Montserrat", system-ui, sans-serif;
  --wrap: 1180px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.85 var(--body); }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.latin { font-family: var(--latin); font-weight: 400; letter-spacing: .28em; text-transform: uppercase; font-size: 11px; direction: ltr; unicode-bidi: isolate; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.3; margin: 0; text-wrap: balance; }
p { margin: 0; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(6px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.top .logo img { height: 40px; width: auto; }
.nav { display: flex; gap: 26px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--gold); }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 22px; border-radius: 3px; font: 600 15px/1 var(--body); text-decoration: none; transition: background .2s, color .2s; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-2); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #ecd07e; }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.55); color: var(--paper); }
.btn-ghost:hover { border-color: var(--gold); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn { white-space: nowrap; }

/* ---------- hero ---------- */
.hero { background: var(--ink); color: var(--paper); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; padding: 88px 0 96px; }
.hero .latin { color: var(--gold); }
.hero h1 { font-size: clamp(44px, 6.4vw, 84px); font-weight: 800; line-height: 1.12; margin: 18px 0 22px; }
.hero h1 .rule { display: block; width: 72px; height: 4px; background: var(--gold); margin-top: 26px; }
.hero .lead { font-size: clamp(18px, 2vw, 22px); color: var(--line); max-width: 30em; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.meter { width: 100%; max-width: 420px; justify-self: center; }
.meter rect { fill: var(--gold); transform-box: fill-box; transform-origin: center; }
.meter path { fill: var(--paper); }
@media (prefers-reduced-motion: no-preference) {
  .meter rect { animation: speak 2.6s ease-in-out infinite; }
  .meter rect:nth-child(1) { animation-delay: -.2s; } .meter rect:nth-child(2) { animation-delay: -1.1s; }
  .meter rect:nth-child(3) { animation-delay: -.5s; } .meter rect:nth-child(4) { animation-delay: -1.7s; }
  .meter rect:nth-child(5) { animation-delay: -.8s; } .meter rect:nth-child(6) { animation-delay: -1.4s; }
  .meter rect:nth-child(7) { animation-delay: -.35s; }
}
@keyframes speak { 0%, 100% { transform: scaleY(1); } 35% { transform: scaleY(.72); } 65% { transform: scaleY(1.08); } }

/* ---------- sections ---------- */
.band { padding: 96px 0; }
.band-soft { background: #FAFAF8; border-block: 1px solid var(--line); }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.kicker { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; }
.kicker::before { content: ""; width: 36px; height: 3px; background: var(--gold); }
.head h2 { font-size: clamp(30px, 3.4vw, 44px); }
.head .latin { color: var(--ink-2); }

/* about */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.about .text { display: grid; gap: 20px; font-size: 18px; max-width: 36em; }
.about .text p:first-child { font-family: var(--display); font-size: clamp(22px, 2.3vw, 28px); font-weight: 600; line-height: 1.6; }
.values { display: grid; gap: 0; border-top: 1px solid var(--line); }
.value { display: grid; grid-template-columns: 56px 1fr; gap: 6px 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.value b { grid-row: span 2; font: 700 30px/1 var(--display); color: var(--ink); }
.value h3 { font-size: 20px; }
.value p { color: var(--ink-2); font-size: 16px; }

/* episodes */
.thumb { position: relative; aspect-ratio: 16 / 9; background: var(--ink); display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 3px; }
.thumb .t { padding: 7% 7% 7% 4%; display: flex; flex-direction: column; justify-content: center; gap: 8px; color: var(--paper); border-right: 5px solid var(--gold); }
.thumb .t small { font: 600 12px/1 var(--body); color: var(--gold); }
.thumb .t strong { font: 700 clamp(15px, 1.7vw, 22px)/1.35 var(--display); }
.thumb .t span { font: 600 clamp(12px, 1.2vw, 15px)/1.3 var(--display); color: var(--gold); }
.thumb .g { background: var(--ink-2); display: flex; align-items: center; justify-content: center; color: var(--line); font-size: 13px; text-align: center; padding: 10px; }
.thumb .g svg { width: 46%; max-width: 120px; opacity: .55; }
.featured { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.featured .meta { display: grid; gap: 14px; }
.featured .meta h3 { font-size: clamp(26px, 2.8vw, 36px); }
.featured .meta .who { font-weight: 600; }
.featured .meta .who span { color: var(--ink-2); font-weight: 400; }
.featured .meta p { color: var(--ink-2); }
.featured .meta .btn { justify-self: start; margin-top: 8px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; margin-top: 72px; }
.card { display: grid; gap: 14px; text-decoration: none; }
.card .num { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.card h3 { font-size: 20px; }
.card .who { font-size: 15px; color: var(--ink-2); }
.card:hover .thumb { outline: 2px solid var(--gold); outline-offset: 3px; }

/* branches */
.branches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.branch { border: 1px solid var(--line); padding: 34px 28px 28px; display: grid; gap: 22px; align-content: start; background: var(--paper); }
.branch .lockup { height: 64px; display: flex; align-items: center; }
.branch .lockup img { max-height: 58px; width: auto; }
.branch .state { justify-self: start; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 99px; background: var(--ink); color: var(--paper); }
.branch .state.soon { background: transparent; color: var(--ink-2); border: 1px solid var(--line); }
.branch p { color: var(--ink-2); font-size: 16px; }

/* follow / contact */
.follow { background: var(--ink); color: var(--paper); }
.follow .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 88px 0; }
.follow h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 16px; }
.follow p { color: var(--line); max-width: 30em; }
.channels { display: grid; gap: 12px; }
.channel { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border: 1px solid #5a5b55; text-decoration: none; border-radius: 3px; transition: border-color .2s, background .2s; }
.channel:hover { border-color: var(--gold); background: #3a3b36; }
.channel .n { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.channel svg { width: 22px; height: 22px; fill: var(--gold); flex: none; }
.channel .h { font-family: var(--latin); font-size: 14px; color: var(--line); direction: ltr; }

footer { background: var(--ink); color: var(--line); border-top: 1px solid #45463f; }
footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px 0; flex-wrap: wrap; font-size: 14px; }
footer img { height: 36px; width: auto; }

/* ---------- additions for the Cloudflare build ---------- */
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 20; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 3px; }
.skip:focus { top: 12px; }
.top .end { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: var(--paper); border-radius: 3px; cursor: pointer; padding: 0; color: var(--ink); }
.menu-btn svg { width: 22px; height: 22px; margin: auto; display: block; }
.thumb .g img { width: 100%; height: 100%; object-fit: cover; }
.thumb .g:has(img) { padding: 0; }
.kicker .sep { display: inline-block; width: 1px; height: 14px; background: var(--ink-2); opacity: .5; margin-inline: 4px; }
.featured .meta .role { color: var(--ink-2); font-size: 16px; }
.empty { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 36px 40px; background: var(--ink); color: var(--paper); border-radius: 3px; border-inline-start: 5px solid var(--gold); }
.empty img { width: 84px; height: auto; }
.empty h3 { font-size: 24px; margin-bottom: 6px; }
.empty p { color: var(--line); }
.follow .kicker { color: var(--line); }
.follow a.mail { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(229,193,88,.45); direction: ltr; unicode-bidi: isolate; }
.follow a.mail:hover { border-bottom-color: var(--gold); }
.notfound { min-height: 62vh; display: grid; align-items: center; }
.notfound .wrap { display: grid; gap: 22px; justify-items: start; padding: 96px 0; }
.notfound .code { font: 800 clamp(64px, 10vw, 120px)/1 var(--display); color: var(--ink); }
.notfound h1 { font-size: clamp(28px, 3.4vw, 40px); }
.notfound p { color: var(--ink-2); max-width: 32em; }
.notfound .cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; inset-inline: 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; box-shadow: 0 12px 24px rgba(50,51,47,.08); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .empty { grid-template-columns: 1fr; padding: 30px 26px; }
  .hero .wrap, .about, .featured, .follow .wrap { grid-template-columns: 1fr; }
  .hero .wrap { padding: 64px 0 72px; gap: 40px; }
  .meter { max-width: 300px; justify-self: start; }
  .grid, .branches { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .top .logo img { height: 32px; }
  .top .btn { padding: 0 14px; min-height: 40px; font-size: 14px; }
  .hide-sm { display: none; }
  .band { padding: 68px 0; }
  .grid, .branches { grid-template-columns: 1fr; }
}
