/* ═══════════ Sawalif Tijarah — brand site ═══════════ */

@font-face { font-family: "FF Shamel"; src: url("../assets/fonts/FFShamelFamily-SansLight.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "FF Shamel"; src: url("../assets/fonts/FFShamelFamily-SansBook.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "FF Shamel"; src: url("../assets/fonts/FFShamelFamily-SansMedium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "FF Shamel"; src: url("../assets/fonts/FFShamelFamily-SansBold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --royal: #0B29FF;
  --royal-deep: #0020D6;
  --green: #01E7A2;
  --dark-teal: #0C2A2B;
  --midnight: #0B1F65;
  --navy: #15262E;
  --sky: #B6E8F3;
  --sky-soft: #E7F6FB;
  --orange: #E87F4A;
  --yellow: #ECCB50;

  --bg: #FFFFFF;
  --ink: #15262E;
  --ink-soft: #4A5860;
  --line: #E6EAEF;

  --radius: 18px;
  --shadow-sm: 0 2px 10px rgba(11, 31, 101, .06);
  --shadow-md: 0 14px 36px rgba(11, 31, 101, .12);
  --shadow-lg: 0 26px 70px rgba(11, 31, 101, .18);
  --player-h: 84px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* CRITICAL: hidden overlays must never render or capture clicks */
[hidden] { display: none !important; }

html { scroll-padding-top: 88px; }
body {
  font-family: "FF Shamel", "Segoe UI", Tahoma, sans-serif;
  background: var(--bg); color: var(--ink);
  line-height: 1.75; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.player-open { padding-bottom: calc(var(--player-h) + 16px); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
::selection { background: var(--royal); color: #fff; }

.num { font-variant-numeric: lining-nums; direction: ltr; unicode-bidi: embed; }
.green-text { color: var(--green); }
.inline-link { color: var(--royal); font-weight: 700; }
.inline-link:hover { text-decoration: underline; }

/* ───── Buttons — icons flex-centered; text span gets the optical nudge ───── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px;
  border-radius: 14px;
  font-size: 15px; font-weight: 700; line-height: 1;
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .25s, color .25s, opacity .25s;
}
.btn svg { flex-shrink: 0; display: block; }
.btn > span { translate: 0 .09em; }
.btn-lg { padding: 17px 30px; font-size: 16px; border-radius: 16px; }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-primary { background: var(--royal); color: #fff; box-shadow: 0 10px 26px rgba(11, 41, 255, .3); }
.btn-primary:hover { background: var(--royal-deep); transform: translateY(-2px); box-shadow: 0 16px 36px rgba(11, 41, 255, .38); }
.btn-primary:active { transform: scale(.97); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--royal); color: var(--royal); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--royal); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0, 0, 0, .25); }

.btn-shine::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(110%);
  transition: transform .7s var(--ease-out);
}
.btn-shine:hover::after { transform: translateX(-110%); }

/* ───── Header ───── */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 42px; border-radius: 12px; transition: transform .4s var(--ease-spring); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.08); }
.brand-name { font-size: 14px; color: var(--ink-soft); line-height: 1.25; }
.brand-name b { display: block; font-size: 16.5px; color: var(--ink); font-weight: 700; }
.main-nav { display: flex; gap: 22px; margin-inline-start: auto; }
.main-nav a { font-size: 14.5px; font-weight: 500; color: var(--ink-soft); position: relative; padding-block: 6px; transition: color .25s; }
.main-nav a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2.5px;
  background: var(--royal); border-radius: 2px;
  transform: scaleX(0); transform-origin: right center;
  transition: transform .35s var(--ease-out);
}
.main-nav a:hover { color: var(--royal); }
.main-nav a:hover::after { transform: scaleX(1); }
.header-cta { font-size: 14px; padding: 11px 18px; border-radius: 12px; }
.scroll-progress {
  position: absolute; bottom: -1px; inset-inline-start: 0; height: 2.5px; width: 0%;
  background: linear-gradient(90deg, var(--royal), var(--green)); border-radius: 2px;
}
@media (max-width: 980px) {
  .main-nav { display: none; }
  .header-cta { margin-inline-start: auto; }
}

/* ───── 1) Hero ───── */
.hero { position: relative; padding: 150px 0 60px; overflow: hidden; background: #fff; }
.hero-decor { position: absolute; inset: 0; pointer-events: none; }
.shape { position: absolute; background: var(--sky-soft); }
.sh-1 { width: 560px; height: 560px; border-radius: 50%; top: -220px; inset-inline-start: -180px; }
.sh-2 { width: 300px; height: 300px; border-radius: 50% 0 0 0; bottom: -110px; inset-inline-end: -80px; background: var(--sky); opacity: .35; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 56px; align-items: center;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 9px 16px; font-size: 13.5px; font-weight: 700; color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.hero-kicker > span:last-child { translate: 0 .09em; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); position: relative; flex-shrink: 0; }
.pulse-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  background: rgba(1, 231, 162, .35); animation: pulse 2s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.7); opacity: 0; } }

.hero-title {
  font-size: clamp(34px, 4.8vw, 58px);
  font-weight: 700; line-height: 1.3;
  margin: 22px 0 14px; letter-spacing: -.5px;
}
.hero-title .w { display: inline-block; }
.accent { color: var(--royal); position: relative; display: inline-block; }
.accent::after {
  content: ""; position: absolute; inset-inline: -2px; bottom: 5px; height: 12px;
  background: rgba(1, 231, 162, .5); z-index: -1; border-radius: 4px;
  transform: scaleX(0); transform-origin: right center;
  animation: underline .7s var(--ease-out) 1.1s forwards;
}
@keyframes underline { to { transform: scaleX(1); } }
.hero-sub { font-size: 17.5px; color: var(--ink-soft); max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* عرض صريح للحاوية (بدون fit-content الدائري — ينهار لصفر في بعض المتصفحات) */
.hero-art { position: relative; width: min(430px, 100%); margin-inline: auto; }
.hero-card {
  position: relative;
  width: 100%;
  aspect-ratio: 924 / 1100; /* مطابق لأبعاد الصورة — تعبئة كاملة بدون قص */
  background: linear-gradient(150deg, var(--royal) 0%, var(--royal-deep) 100%);
  border-radius: 44px 44px 6px 44px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
/* الصورة معتمة (استوديو) — الشعار الأزرق فوقها في زاوية الجدار الفاضي */
.hero-card-logo { position: absolute; top: 22px; inset-inline-end: 22px; width: 96px; opacity: 1; z-index: 2; }
.hero-photo {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center bottom;
}
.hero-nametag {
  position: absolute; bottom: 26px; inset-inline-start: -14px; z-index: 3;
  background: var(--royal); color: #fff;
  font-weight: 700; font-size: 15px;
  padding: 14px 22px 10px;
  border-radius: 14px 14px 2px 14px;
  box-shadow: 0 12px 30px rgba(11, 41, 255, .35);
  animation: floaty 7s ease-in-out infinite;
}

/* ───── Marquee — unified brand colors ───── */
.marquee {
  padding-block: 24px;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #fff;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(50%); } }

.pill {
  display: inline-flex; align-items: center;
  padding: 11px 22px 7px;
  border-radius: 999px;
  font-size: 14.5px; font-weight: 700; white-space: nowrap;
  transition: transform .3s var(--ease-spring);
}
.pill:hover { transform: translateY(-3px) rotate(-2deg); }
.p-blue { background: var(--royal); color: #fff; }
.p-sky { background: var(--sky); color: var(--midnight); }
.p-green { background: var(--green); color: var(--dark-teal); }
.p-yellow { background: var(--yellow); color: var(--navy); }

/* ───── Sections base ───── */
section { padding: 84px 0; }
.section-head { margin-bottom: 40px; }
.section-head h2 { font-size: clamp(27px, 3.4vw, 40px); font-weight: 700; margin-top: 14px; letter-spacing: -.4px; }
.section-sub { color: var(--ink-soft); max-width: 60ch; margin-top: 8px; font-size: 16px; }
.tag {
  display: inline-block; padding: 9px 16px 5px;
  border-radius: 10px 10px 10px 2px;
  font-size: 13px; font-weight: 700;
}
.tag-sky { background: var(--sky); color: var(--midnight); }
.tag-orange { background: var(--orange); color: #fff; }

/* ───── 2) Episodes ───── */
.episodes { background: var(--sky-soft); clip-path: polygon(0 0, 100% 1.6%, 100% 100%, 0 100%); padding-top: 104px; }
.episodes .section-head { text-align: center; }
.episodes .section-sub { margin-inline: auto; }
.episodes-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; }
.episodes-grid .ep-card { width: min(420px, 100%); }
.episodes-empty { color: var(--ink-soft); text-align: center; padding: 30px 0; }

.ep-card {
  background: #fff; border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(11, 41, 255, .06);
  display: flex; flex-direction: column;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
  will-change: transform;
}
.ep-card:hover { box-shadow: var(--shadow-md); }
.ep-cover { position: relative; overflow: hidden; }
.ep-cover img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--sky); transition: transform .7s var(--ease-out); }
.ep-card:hover .ep-cover img { transform: scale(1.05); }
.ep-badge {
  position: absolute; top: 14px; inset-inline-start: 14px;
  background: var(--royal); color: #fff;
  font-weight: 700; font-size: 12.5px;
  padding: 8px 14px 4px;
  border-radius: 10px 10px 10px 2px;
}
.ep-eq { position: absolute; bottom: 12px; inset-inline-start: 14px; color: #fff; opacity: 0; transition: opacity .3s; }
.ep-card.is-listening .ep-eq { opacity: 1; }
.ep-body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ep-guest { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ep-guest b { color: var(--royal); font-size: 15px; font-weight: 700; }
.ep-guest small { color: var(--ink-soft); font-size: 12.5px; }
.ep-title { font-size: 18px; font-weight: 700; line-height: 1.5; }
.ep-meta { font-size: 13px; color: var(--ink-soft); }
.ep-desc {
  color: var(--ink-soft); font-size: 14.5px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ep-actions { margin-top: auto; padding-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; }
.ep-watch, .ep-listen {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 14.5px; line-height: 1;
  padding: 11px 22px; border-radius: 12px;
  transition: transform .35s var(--ease-out), background .25s, box-shadow .35s var(--ease-out), color .25s;
}
.ep-watch > span, .ep-listen > span { translate: 0 .09em; }
.ep-watch { background: var(--royal); color: #fff; box-shadow: 0 8px 22px rgba(11, 41, 255, .28); }
.ep-watch:hover { background: var(--royal-deep); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(11, 41, 255, .36); }
.ep-listen { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.ep-listen:hover { color: var(--royal); box-shadow: inset 0 0 0 1.5px var(--royal); transform: translateY(-2px); }
.ep-listen.is-listening { background: var(--green); color: var(--dark-teal); box-shadow: none; }
.episodes-more { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.episodes-more .btn-ghost { background: #fff; }
#allEpisodesBtn svg { transition: transform .35s var(--ease-out); }
#allEpisodesBtn.is-open svg { transform: rotate(180deg); }

/* equalizer */
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.eq i { width: 3.5px; border-radius: 2px; background: currentColor; height: 30%; }
.eq.on i { animation: eqBar 1s ease-in-out infinite; }
.eq i:nth-child(1) { animation-delay: 0s; }
.eq i:nth-child(2) { animation-delay: .18s; }
.eq i:nth-child(3) { animation-delay: .36s; }
.eq i:nth-child(4) { animation-delay: .1s; }
@keyframes eqBar { 0%, 100% { height: 25%; } 50% { height: 100%; } }

/* ───── 3) About ───── */
.about-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.about-media { position: relative; }
.about-media img {
  width: 100%; height: auto; aspect-ratio: 4 / 3;
  object-fit: cover; object-position: left center;
  border-radius: 24px 24px 4px 24px;
  box-shadow: var(--shadow-md);
}
.about-badge {
  position: absolute; top: -14px; inset-inline-start: 18px;
  background: var(--green); color: var(--dark-teal);
  font-weight: 700; font-size: 13px;
  padding: 9px 16px 5px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.about-copy h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; margin: 14px 0 16px; letter-spacing: -.4px; }
.about-copy p { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 12px; max-width: 56ch; }
.about-copy p b { color: var(--ink); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ───── 4) Platforms ───── */
.platforms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.platform {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1.5px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s;
}
.platform:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--royal); }
.platform-ic {
  width: 52px; height: 52px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 16px; color: #fff;
  overflow: hidden;
  transition: transform .4s var(--ease-spring);
}
.platform:hover .platform-ic { transform: scale(1.12) rotate(-5deg); }
.ic-yt { background: #FF0000; }
.ic-sp { background: #1DB954; }
.ic-ap { background: #A45FE8; }
.ic-am { background: #12A5B5; }
.ic-img { background: none; }
.ic-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.platform-txt b { display: block; font-size: 16px; font-weight: 700; }
.platform-txt small { color: var(--ink-soft); font-size: 12.5px; }

/* ───── 5+6) CTA bands ───── */
.cta-band { padding: 64px 0; }
.band-sky { background: var(--sky-soft); }
.band-royal {
  background: linear-gradient(150deg, var(--royal) 0%, var(--royal-deep) 100%);
  color: #fff;
  clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%);
  padding: 84px 0;
}
.band-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.band-copy h2 { font-size: clamp(23px, 2.8vw, 34px); font-weight: 700; letter-spacing: -.3px; }
.band-copy p { margin-top: 8px; font-size: 16px; color: var(--ink-soft); max-width: 58ch; }
.band-royal .band-copy p { color: #fff; }

/* ───── 7) Contact ───── */
.contact {
  background: var(--dark-teal);
  color: #fff;
  padding: 96px 0 0;
}
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: start;
  padding-bottom: 72px;
}
.contact-copy h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; line-height: 1.35; margin-bottom: 14px; }
.contact-copy p { color: rgba(255, 255, 255, .85); font-size: 16.5px; margin-bottom: 24px; max-width: 46ch; }
.contact-platforms { display: flex; gap: 10px; }
.contact-platforms a {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  transition: background .25s, transform .3s var(--ease-spring);
}
.contact-platforms a:hover { background: rgba(255, 255, 255, .22); transform: translateY(-3px); }
.contact-platforms .cp-glyph { width: 20px; height: 20px; object-fit: contain; }

/* contact form */
.contact-form {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  padding: 28px;
  display: grid; gap: 16px;
}
.ff { display: grid; gap: 7px; }
.ff label { font-size: 13.5px; font-weight: 700; color: rgba(255, 255, 255, .85); }
.ff input, .ff textarea, .ff select {
  font-family: inherit; font-size: 15px; color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1.5px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color .25s, background .25s;
  width: 100%;
}
.ff input::placeholder, .ff textarea::placeholder { color: rgba(255, 255, 255, .4); }
.ff input:focus, .ff textarea:focus, .ff select:focus {
  outline: none; border-color: var(--green); background: rgba(255, 255, 255, .12);
}
.ff textarea { resize: vertical; min-height: 90px; }
.hp-field { position: absolute; inset-inline-start: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-submit { justify-self: start; }
.form-note { font-size: 14px; font-weight: 500; min-height: 1.4em; }
.form-note[data-state="ok"] { color: var(--green); }
.form-note[data-state="error"] { color: #FFB4A8; }
.form-note[data-state="sending"] { color: rgba(255, 255, 255, .7); }

.site-footer {
  background: var(--dark-teal); color: #fff;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.footer-inner {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-block: 22px;
  font-size: 13.5px; color: rgba(255, 255, 255, .75);
}

/* ───── Player ───── */
.player {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 80;
  background: rgba(12, 27, 28, .93);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  color: #fff;
  transform: translateY(110%);
  transition: transform .55s var(--ease-out);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, .25);
}
.player.open { transform: translateY(0); }
.player-progress {
  position: relative; height: 5px; background: rgba(255, 255, 255, .14);
  cursor: pointer; touch-action: none;
}
.player-progress:hover, .player-progress:focus-visible { height: 8px; }
.player-progress:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.pp-buffered, .pp-played {
  position: absolute; inset-block: 0; inset-inline-start: 0;
  border-radius: 0 3px 3px 0; pointer-events: none;
}
.pp-buffered { background: rgba(255, 255, 255, .22); width: 0%; }
.pp-played { background: linear-gradient(90deg, var(--green), var(--royal)); width: 0%; }
.pp-thumb {
  position: absolute; inset-inline-end: -6px; top: 50%;
  width: 13px; height: 13px; border-radius: 50%;
  background: #fff; transform: translateY(-50%) scale(0);
  transition: transform .25s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}
.player-progress:hover .pp-thumb { transform: translateY(-50%) scale(1); }
.player-inner { display: flex; align-items: center; gap: 20px; height: var(--player-h); }
.player-meta { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1; }
.player-meta img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; background: var(--sky); }
.player-titles { min-width: 0; }
.player-titles b { display: block; font-size: 14.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-time { font-size: 12.5px; color: rgba(255, 255, 255, .6); display: inline-block; }
.player-eq { color: var(--green); flex-shrink: 0; }
.player-controls { display: flex; align-items: center; gap: 10px; }
.pc-btn {
  display: grid; place-items: center; position: relative;
  width: 44px; height: 44px; border-radius: 14px;
  color: rgba(255, 255, 255, .85);
  transition: background .25s, color .25s, transform .3s var(--ease-out);
}
.pc-btn:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.pc-btn small { position: absolute; font-size: 8.5px; font-weight: 700; margin-top: 2px; }
.pc-play {
  width: 56px; height: 56px; border-radius: 18px;
  background: var(--royal); color: #fff;
  box-shadow: 0 8px 24px rgba(11, 41, 255, .45);
}
.pc-play:hover { background: var(--royal-deep); transform: scale(1.06); }
.pc-play .ic-play { margin-left: 3px; } /* play triangle points left-of-center; physical nudge */
.player-extras { display: flex; align-items: center; gap: 6px; }
.rate-btn { font-size: 13px; font-weight: 700; }
@media (max-width: 720px) {
  .player-extras #muteBtn { display: none; }
  .player-eq { display: none; }
  .player-inner { gap: 10px; }
  .pc-btn { width: 40px; height: 40px; }
  .pc-play { width: 50px; height: 50px; }
}

/* ───── Video modal ───── */
.video-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; }
.vm-backdrop {
  position: absolute; inset: 0;
  background: rgba(12, 27, 28, .72);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .35s;
}
.video-modal.open .vm-backdrop { opacity: 1; }
.vm-card {
  position: relative;
  /* keep headroom for the close button on short viewports */
  width: min(960px, 100%, calc((100dvh - 130px) * 16 / 9));
  transform: translateY(26px) scale(.96); opacity: 0;
  transition: transform .45s var(--ease-out), opacity .45s;
}
.video-modal.open .vm-card { transform: none; opacity: 1; }
.vm-frame {
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.vm-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.vm-close {
  position: absolute; top: -52px; inset-inline-end: 0;
  width: 42px; height: 42px; border-radius: 14px;
  background: rgba(255, 255, 255, .14); color: #fff;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .25);
  transition: background .25s, transform .3s;
}
.vm-close:hover { background: rgba(255, 255, 255, .28); transform: rotate(90deg); }

/* ───── Form modals ───── */
.form-modal { position: fixed; inset: 0; z-index: 92; display: grid; place-items: center; padding: 20px; }
.fm-backdrop {
  position: absolute; inset: 0;
  background: rgba(12, 27, 28, .66);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .35s;
}
.form-modal.open .fm-backdrop { opacity: 1; }
.fm-card {
  position: relative;
  width: min(640px, 100%);
  max-height: min(88dvh, 820px);
  overflow-y: auto;
  background: #fff; color: var(--ink);
  border-radius: 24px;
  padding: 32px 30px;
  box-shadow: var(--shadow-lg);
  transform: translateY(26px) scale(.97); opacity: 0;
  transition: transform .45s var(--ease-out), opacity .45s;
}
.form-modal.open .fm-card { transform: none; opacity: 1; }
.fm-close {
  position: absolute; top: 18px; inset-inline-end: 18px;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--sky-soft); color: var(--ink);
  display: grid; place-items: center;
  transition: background .25s, transform .3s;
}
.fm-close:hover { background: var(--sky); transform: rotate(90deg); }
.fm-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 6px; padding-inline-end: 44px; }
.fm-sub { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 20px; }
.fm-card form { display: grid; gap: 14px; }
.ff-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fm-card .ff label { color: var(--ink); }
.fm-card .ff input, .fm-card .ff textarea, .fm-card .ff select {
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
}
.fm-card .ff input::placeholder, .fm-card .ff textarea::placeholder { color: #A7B0B8; }
.fm-card .ff input:focus, .fm-card .ff textarea:focus, .fm-card .ff select:focus {
  border-color: var(--royal); background: #fff;
  box-shadow: 0 0 0 3px rgba(11, 41, 255, .1);
}
.fm-card .ff select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%); background-position: calc(18px) 55%, calc(18px + 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.fm-card .form-note[data-state="ok"] { color: #0A9E71; }
.fm-card .form-note[data-state="error"] { color: #D64530; }
.fm-card .form-note[data-state="sending"] { color: var(--ink-soft); }
@media (max-width: 560px) {
  .ff-row { grid-template-columns: 1fr; }
  .fm-card { padding: 26px 20px; }
}

/* ───── Reveal & motion ───── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(.92) translateY(20px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-spring); }
.reveal-scale.in { opacity: 1; transform: none; }
.hero-title .w {
  opacity: 0; transform: translateY(26px) rotate(2deg);
  filter: blur(4px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-spring), filter .7s var(--ease-out);
}
.hero-title.played .w { opacity: 1; transform: none; filter: none; }

/* ───── Responsive ───── */
@media (max-width: 980px) {
  .hero { padding-top: 118px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-art { width: min(360px, calc(100vw - 68px)); }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  section { padding: 60px 0; }
  .cta-band { padding: 52px 0; }
  .band-royal { padding: 72px 0; }
  .hero-actions .btn-lg { padding: 15px 20px; font-size: 14.5px; }
  .contact-form { padding: 22px 18px; }
}

/* ───── Reduced motion ───── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .reveal-scale { opacity: 1; transform: none; }
  .hero-title .w { opacity: 1; transform: none; filter: none; }
  .marquee-track { animation: none; }
}
