/* ==========================================================================
   OUDISTIC — التصميم
   Layout: a night sky whose light changes with each collection; content in one
   centred column; names set in Ruqaa like a signature; a player docked below.
   ========================================================================== */

/* ---------- fonts (self-hosted) ---------- */
@font-face { font-family: "Oud Ruqaa"; src: url(fonts/aref-ruqaa-arabic-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E, U+2010-2011; }
@font-face { font-family: "Oud Ruqaa"; src: url(fonts/aref-ruqaa-arabic-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E, U+2010-2011; }
@font-face { font-family: "Oud Amiri"; src: url(fonts/amiri-arabic-400-normal.woff2) format("woff2"); font-weight: 400 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E, U+2010-2011; }
@font-face { font-family: "Oud Amiri"; src: url(fonts/amiri-arabic-700-normal.woff2) format("woff2"); font-weight: 600 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E, U+2010-2011; }
@font-face { font-family: "Oud Sans"; src: url(fonts/ibm-plex-sans-arabic-arabic-300-normal.woff2) format("woff2"); font-weight: 300; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E, U+2010-2011; }
@font-face { font-family: "Oud Sans"; src: url(fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E, U+2010-2011; }
@font-face { font-family: "Oud Sans"; src: url(fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E, U+2010-2011; }
@font-face { font-family: "Oud Sans"; src: url(fonts/ibm-plex-sans-arabic-latin-300-normal.woff2) format("woff2"); font-weight: 300; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Oud Sans"; src: url(fonts/ibm-plex-sans-arabic-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Oud Sans"; src: url(fonts/ibm-plex-sans-arabic-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Oud Serif"; src: url(fonts/cormorant-garamond-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Oud Serif"; src: url(fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Oud Serif"; src: url(fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); font-weight: 600 700; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Oud Serif"; src: url(fonts/cormorant-garamond-latin-400-italic.woff2) format("woff2"); font-weight: 400 500; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Oud Mono"; src: url(fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }

@property --amb-top  { syntax: "<color>"; inherits: true; initial-value: #060d18; }
@property --amb-bot  { syntax: "<color>"; inherits: true; initial-value: #0f2038; }
@property --amb-glow { syntax: "<color>"; inherits: true; initial-value: #d9b478; }
@property --accent   { syntax: "<color>"; inherits: true; initial-value: #e3c088; }

:root {
  color-scheme: dark;
  --night-deep: #060d18;
  --panel: rgba(14, 26, 46, .58);
  --panel-solid: #0e1a2e;
  --line: rgba(217, 180, 120, .18);
  --line-soft: rgba(239, 233, 219, .08);
  --gold: #d9b478;
  --gold-bright: #f0cf95;
  --ivory: #f1ebde;
  --ivory-dim: #b6bcc6;
  --ivory-faint: #7f8897;
  --ink-on-accent: #0b1220;

  --amb-top: #060d18; --amb-bot: #0f2038; --amb-glow: #d9b478; --accent: #e3c088;

  /* names (collections, tracks) = Ruqaa; headings = Amiri; text = Plex */
  --sig: "Oud Serif", "Oud Ruqaa", "Amiri", Georgia, serif;
  --display: "Oud Serif", "Oud Amiri", "Amiri", Georgia, serif;
  --body: "Oud Sans", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --mono: "Oud Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --wrap: 1180px;
  --player-h: 76px;
  --r: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
body[data-amb="dawn"]  { --amb-top: #0b1628; --amb-bot: #5a3a48; --amb-glow: #eaa878; --accent: #f3c28e; }
body[data-amb="night"] { --amb-top: #050a14; --amb-bot: #142a52; --amb-glow: #8fa9d4; --accent: #c6d6ee; }
body[data-amb="dusk"]  { --amb-top: #0b1020; --amb-bot: #4d2730; --amb-glow: #e38f5c; --accent: #eeaa78; }
body[data-amb="still"] { --amb-top: #051115; --amb-bot: #173c3c; --amb-glow: #7fbca3; --accent: #acd5c1; }
body[data-amb="brand"] { --amb-top: #060d18; --amb-bot: #0f2038; --amb-glow: #d9b478; --accent: #e3c088; }
body { transition: --amb-top 1.4s ease, --amb-bot 1.4s ease, --amb-glow 1.4s ease, --accent 1.4s ease; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--night-deep); color: var(--ivory); font-family: var(--body); font-weight: 300; font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
[dir="rtl"] body { line-height: 1.9; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; margin: 0; line-height: 1.2; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sig { font-family: var(--sig); font-weight: 400; }
[dir="rtl"] .sig { line-height: 1.45; }

/* ---------- sky ---------- */
.sky { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(120% 60% at 50% 105%, color-mix(in srgb, var(--amb-glow) 42%, transparent), transparent 60%),
              linear-gradient(180deg, var(--amb-top) 0%, var(--amb-top) 35%, var(--amb-bot) 100%); }
.sky::after { content: ""; position: absolute; inset-inline: 0; bottom: 18vh; height: 1px; background: linear-gradient(90deg, transparent, var(--amb-glow), transparent); opacity: .3; }
.stars { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(1.4px 1.4px at 12% 18%, #fff, transparent 60%), radial-gradient(1px 1px at 28% 44%, #fff, transparent 60%),
    radial-gradient(1.4px 1.4px at 46% 9%, #fff, transparent 60%), radial-gradient(1px 1px at 62% 30%, #fff, transparent 60%),
    radial-gradient(1.6px 1.6px at 78% 16%, #fff, transparent 60%), radial-gradient(1px 1px at 91% 41%, #fff, transparent 60%),
    radial-gradient(1.2px 1.2px at 35% 58%, #fff, transparent 60%), radial-gradient(1px 1px at 6% 52%, #fff, transparent 60%),
    radial-gradient(1px 1px at 56% 63%, #fff, transparent 60%), radial-gradient(1.3px 1.3px at 84% 57%, #fff, transparent 60%);
  animation: twinkle 8s ease-in-out infinite alternate; }
body[data-amb="dawn"] .stars { opacity: .35; }
@keyframes twinkle { from { opacity: .45 } to { opacity: .85 } }

.app { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
main { flex: 1; padding-bottom: 48px; }

/* ---------- header ---------- */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(180deg, color-mix(in srgb, var(--amb-top) 92%, transparent), color-mix(in srgb, var(--amb-top) 55%, transparent)); border-bottom: 1px solid var(--line-soft); }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: "Oud Serif", Georgia, serif; font-size: 1.3rem; letter-spacing: .34em; color: var(--gold-bright); white-space: nowrap; }
.brand img { width: 36px; height: 36px; border-radius: 50%; }
.nav { display: flex; gap: 2px; margin-inline-start: auto; }
.nav a { padding: 7px 14px; border-radius: 999px; color: var(--ivory-dim); font-size: .95rem; transition: color .3s, background .3s; white-space: nowrap; }
.nav a:hover { color: var(--ivory); }
.nav a.on { color: var(--ivory); background: rgba(239, 233, 219, .07); }
.lang { font-family: var(--body); font-size: .85rem; min-width: 42px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--gold); }
.lang:hover { border-color: var(--gold); }
@media (max-width: 860px) {
  .top .wrap { flex-wrap: wrap; gap: 6px 12px; padding-block: 10px 6px; min-height: 0; }
  .brand { font-size: 1.05rem; }
  .lang { margin-inline-start: auto; }
  .nav { order: 3; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); width: calc(100% + var(--gutter) * 2); }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 5px 12px; font-size: .9rem; }
}
body[data-page="links"] .top .nav, body[data-page="links"] .foot { display: none; }

/* ---------- shared ---------- */
.eyebrow { font-family: var(--mono); font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: .7em; }
.eyebrow::before { content: ""; width: 1.6em; height: 1px; background: currentColor; opacity: .6; }
[dir="rtl"] .eyebrow { font-family: var(--body); letter-spacing: 0; font-size: .88rem; font-weight: 400; }
.section { padding-block: clamp(44px, 7vw, 88px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); margin-top: 6px; }
.more { color: var(--ivory-dim); font-size: .95rem; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.more:hover { color: var(--ivory); border-color: var(--accent); }
.muted { color: var(--ivory-dim); }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); color: var(--ivory); font-weight: 400; transition: background .3s, border-color .3s; white-space: nowrap; }
.btn:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.btn.solid { background: var(--accent); color: var(--ink-on-accent); border-color: var(--accent); }
.btn.solid:hover { background: color-mix(in srgb, var(--accent) 85%, white); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ivory-dim); font-size: .88rem; transition: all .3s; }
.chip:hover { color: var(--ivory); border-color: var(--accent); }
.chip.on { background: var(--accent); color: var(--ink-on-accent); border-color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.dot.dawn { background: #f3c28e; } .dot.night { background: #c6d6ee; } .dot.dusk { background: #eeaa78; } .dot.still { background: #acd5c1; }
.strings { display: flex; justify-content: center; gap: 9px; height: 56px; margin: 28px auto 0; width: fit-content; }
.strings i { width: 1px; height: 100%; background: linear-gradient(transparent, var(--accent) 45%, transparent); opacity: .7; animation: pluck 3.4s ease-in-out infinite; }
.strings i:nth-child(odd) { height: 76%; animation-delay: .2s; } .strings i:nth-child(3n) { animation-delay: .5s; }
@keyframes pluck { 0%, 100% { transform: translateX(0) } 50% { transform: translateX(1.2px) } }

/* ---------- hero ---------- */
.hero { padding-block: clamp(36px, 7vw, 88px) 0; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero .pre { font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--ivory-dim); margin-top: 16px; }
.hero h1 { font-family: var(--sig); font-weight: 400; font-size: clamp(3.6rem, 10vw, 7.6rem); line-height: 1.05; color: var(--accent); margin-top: 2px; }
[dir="rtl"] .hero h1 { line-height: 1.5; margin-top: .35em; }
[dir="rtl"] .hero .pre { line-height: 1.3; }
[dir="ltr"] .hero h1 { font-style: italic; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ivory); opacity: .86; margin-top: 14px; max-width: 34em; }
.hero .btn-row { margin-top: 28px; }
.hero-art { position: relative; aspect-ratio: 4 / 5; max-width: 100%; border-radius: 220px 220px 18px 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hero-art:hover img { transform: scale(1.03); }
.hero-art .cap { position: absolute; inset-inline: 0; bottom: 0; padding: 70px 22px 18px; background: linear-gradient(transparent, rgba(4,8,16,.88)); display: grid; }
.hero-art .cap b { font-family: var(--sig); font-weight: 400; font-size: 1.9rem; line-height: 1.3; }
.hero-art .cap small { color: var(--ivory-dim); font-size: .88rem; }
.clock { font-family: var(--mono); font-size: .8rem; color: var(--ivory-faint); margin-top: 22px; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { max-width: 380px; aspect-ratio: 1; border-radius: 170px 170px 16px 16px; } }

/* ---------- collection cards ---------- */
.coll-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1000px) { .coll-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .coll-grid { gap: 12px; } }
.coll { position: relative; display: flex; flex-direction: column; border-radius: 130px 130px var(--r) var(--r); overflow: hidden; border: 1px solid var(--line-soft); background: var(--panel); transition: transform .5s var(--ease), border-color .4s; }
.coll:hover { transform: translateY(-4px); border-color: var(--line); }
.coll .art { position: relative; aspect-ratio: 9 / 10; overflow: hidden; display: block; }
.coll .art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.coll:hover .art img { transform: scale(1.04); }
.coll .art .fab { position: absolute; bottom: 12px; inset-inline-end: 12px; }
.coll .body { padding: 14px 18px 20px; display: grid; gap: 2px; }
.coll h3 { font-family: var(--sig); font-weight: 400; font-size: 1.9rem; line-height: 1.35; }
.coll .tag { color: var(--ivory-dim); font-size: .92rem; }
.coll .meta { font-size: .8rem; color: var(--ivory-faint); margin-top: 6px; display: flex; align-items: center; gap: 8px; }
.coll .now { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); font-size: .75rem; background: var(--accent); color: var(--ink-on-accent); padding: 2px 12px; border-radius: 999px; white-space: nowrap; font-weight: 400; }
@media (max-width: 480px) { .coll { border-radius: 90px 90px 12px 12px; } .coll h3 { font-size: 1.5rem; } .coll .body { padding: 10px 12px 14px; } .coll .tag { font-size: .82rem; } .coll .now { font-size: .68rem; top: 12px; } }

.fab { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--ink-on-accent); box-shadow: 0 10px 24px -8px rgba(0,0,0,.6); transition: transform .3s var(--ease); flex: none; }
.fab:hover { transform: scale(1.06); }
.fab svg { width: 20px; height: 20px; }
.fab.sm { width: 40px; height: 40px; } .fab.sm svg { width: 16px; height: 16px; }
.fab.ghost { background: rgba(239,233,219,.08); color: var(--ivory); box-shadow: none; border: 1px solid var(--line); }

/* ---------- track list ---------- */
.tracks { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.trk { display: grid; grid-template-columns: 28px 54px minmax(0, 1fr) auto 44px; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; transition: background .25s; }
.trk:hover, .trk.playing { background: rgba(239,233,219,.05); }
.trk .n { font-family: var(--mono); font-size: .78rem; color: var(--ivory-faint); text-align: center; font-variant-numeric: tabular-nums; }
.trk.playing .n { color: var(--accent); }
.trk img { width: 54px; height: 54px; border-radius: 8px; object-fit: cover; }
.trk .tt { min-width: 0; }
.trk .tt a { font-family: var(--sig); font-size: 1.45rem; line-height: 1.4; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trk.playing .tt a { color: var(--accent); }
.trk .tt small { color: var(--ivory-faint); font-size: .86rem; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.5; }
.trk .d { font-family: var(--mono); font-size: .8rem; color: var(--ivory-faint); font-variant-numeric: tabular-nums; }
.trk .pbtn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: all .25s; }
.trk .pbtn:hover, .trk.playing .pbtn { background: var(--accent); color: var(--ink-on-accent); border-color: var(--accent); }
.trk .pbtn svg { width: 15px; height: 15px; }
.trk .soon { font-size: .78rem; color: var(--accent); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
@media (max-width: 560px) { .trk .soon + span { display: none; } .trk { grid-template-columns: 46px minmax(0,1fr) auto; gap: 12px; padding: 8px 6px; } .trk .n, .trk .d { display: none; } .trk img { width: 46px; height: 46px; } .trk .tt a { font-size: 1.28rem; } }
.eq { display: inline-flex; gap: 2px; height: 12px; align-items: end; }
.eq i { width: 2px; background: currentColor; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: .2s } .eq i:nth-child(3) { animation-delay: .4s }
@keyframes eq { 0%,100% { height: 30% } 50% { height: 100% } }

/* ---------- release cards ---------- */
.rel-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .rel-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rel { display: grid; gap: 10px; align-content: start; }
.rel .cv { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 1; }
.rel .cv img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.rel:hover .cv img { transform: scale(1.04); }
.rel .cv .fab { position: absolute; bottom: 12px; inset-inline-end: 12px; opacity: 0; transform: translateY(6px); transition: all .35s var(--ease); }
.rel:hover .cv .fab, .rel .cv .fab:focus-visible, .rel.playing .cv .fab { opacity: 1; transform: none; }
@media (hover: none) { .rel .cv .fab { opacity: 1; transform: none; } }
.rel b { font-family: var(--sig); font-weight: 400; font-size: 1.5rem; display: block; line-height: 1.35; }
.rel small { color: var(--ivory-faint); font-size: .85rem; display: flex; align-items: center; gap: 8px; }

/* ---------- upcoming / countdown ---------- */
.upcoming { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: clamp(18px, 3vw, 36px); align-items: center; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); border-radius: 22px; background: var(--panel); backdrop-filter: blur(8px); }
.upcoming img { border-radius: 14px; width: 200px; aspect-ratio: 1; object-fit: cover; }
.upcoming h3 { font-family: var(--sig); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1.3; margin-top: 4px; }
.upcoming p { color: var(--ivory-dim); margin-top: 6px; max-width: 36em; }
.upcoming .side { display: grid; gap: 12px; justify-items: center; }
.count { display: flex; gap: 10px; direction: ltr; }
[dir="rtl"] .count { direction: rtl; }
.count div { min-width: 70px; text-align: center; padding: 10px 6px; border: 1px solid var(--line-soft); border-radius: 12px; background: rgba(4,8,16,.25); }
.count b { display: block; font-family: var(--mono); font-weight: 400; font-size: 1.7rem; font-variant-numeric: tabular-nums; color: var(--accent); line-height: 1.2; }
.count small { color: var(--ivory-faint); font-size: .75rem; }
@media (max-width: 860px) { .upcoming { grid-template-columns: 110px minmax(0,1fr); } .upcoming img { width: 110px; } .upcoming .side { grid-column: 1 / -1; justify-items: start; } }

/* ---------- designs ---------- */
.masonry { columns: 3 260px; column-gap: 18px; }
.masonry .ds { break-inside: avoid; margin-bottom: 18px; }
.ds { display: block; width: 100%; text-align: start; position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-soft); background: var(--panel-solid); }
.ds img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.ds:hover img { transform: scale(1.03); }
.ds .lbl { position: absolute; inset-inline: 0; bottom: 0; padding: 48px 14px 12px; background: linear-gradient(transparent, rgba(4,8,16,.92) 70%); font-size: .9rem; display: flex; justify-content: space-between; gap: 8px; align-items: end; }
.ds .kind { font-size: .75rem; color: var(--accent); white-space: nowrap; }
.ds-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: start; }
.ds-row .ds img { aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 900px) { .ds-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- videos ---------- */
.vid-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 900px) { .vid-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .vid-grid { grid-template-columns: 1fr; } }
.vid { display: grid; gap: 10px; align-content: start; }
.vid .frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-soft); background: #000; }
.vid .frame img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .8s var(--ease), opacity .4s; }
.vid .frame:hover img { transform: scale(1.03); opacity: 1; }
.vid .frame .fab { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.vid .frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid .frame .badge { position: absolute; top: 10px; inset-inline-start: 10px; font-size: .75rem; background: rgba(4,8,16,.72); padding: 2px 10px; border-radius: 999px; color: var(--ivory-dim); }
.vid b { font-family: var(--display); font-weight: 500; font-size: 1.25rem; display: block; line-height: 1.4; }
.vid small { color: var(--ivory-faint); font-size: .84rem; }

/* ---------- collection page ---------- */
.c-hero { padding-block: clamp(32px, 6vw, 72px) 12px; display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(24px, 5vw, 60px); align-items: end; }
.c-hero .art { border-radius: 170px 170px 18px 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.c-hero .art img { width: 100%; aspect-ratio: 9 / 11; object-fit: cover; }
.c-hero h1 { font-family: var(--sig); font-weight: 400; font-size: clamp(3.6rem, 9vw, 7rem); line-height: 1.1; margin-top: 6px; color: var(--accent); }
[dir="rtl"] .c-hero h1 { line-height: 1.4; }
.alt { font-family: "Oud Serif", Georgia, serif; font-style: italic; color: var(--ivory-faint); font-size: 1.35rem; }
[dir="ltr"] .alt { font-family: var(--sig); font-style: normal; }
.c-hero .mood { font-size: clamp(1.05rem, 1.6vw, 1.22rem); opacity: .9; margin-top: 16px; max-width: 36em; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; color: var(--ivory-dim); font-size: .92rem; }
.facts span { display: inline-flex; align-items: center; gap: 8px; }
.facts svg { width: 16px; height: 16px; color: var(--accent); }
.c-hero .btn-row { margin-top: 26px; }
@media (max-width: 760px) { .c-hero { grid-template-columns: 1fr; } .c-hero .art { max-width: 250px; } }

/* ---------- track page ---------- */
.t-hero { padding-block: clamp(32px, 6vw, 72px) 0; display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.t-hero .cv { border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.75); border: 1px solid var(--line); }
.t-hero .cv img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.t-hero h1 { font-family: var(--sig); font-weight: 400; font-size: clamp(3.4rem, 8vw, 6rem); line-height: 1.1; margin-top: 8px; }
[dir="rtl"] .t-hero h1 { line-height: 1.4; }
.t-hero .story { margin-top: 16px; font-size: 1.12rem; opacity: .92; max-width: 34em; }
.platforms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; align-items: center; }
.platforms a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: .9rem; color: var(--ivory-dim); display: inline-flex; gap: 8px; align-items: center; transition: all .3s; }
.platforms a:hover { color: var(--ivory); border-color: var(--accent); }
.platforms a svg { width: 13px; height: 13px; }
.t-hero .count { margin-top: 22px; }
@media (max-width: 760px) { .t-hero { grid-template-columns: 1fr; } .t-hero .cv { max-width: 340px; } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.panel { border: 1px solid var(--line-soft); border-radius: 18px; padding: clamp(16px, 3vw, 24px); background: var(--panel); }
.panel h3 { font-size: 1.45rem; margin-bottom: 12px; }

/* ---------- follow ---------- */
.follow { text-align: center; padding: clamp(32px, 6vw, 64px) clamp(16px, 4vw, 48px); border-radius: 28px; border: 1px solid var(--line); background: radial-gradient(80% 120% at 50% 120%, color-mix(in srgb, var(--amb-glow) 22%, transparent), transparent 70%), var(--panel); }
.follow h2 { font-size: clamp(2rem, 4.4vw, 3rem); margin-top: 10px; }
.follow p { color: var(--ivory-dim); margin: 10px auto 0; max-width: 34em; }
.follow .platforms { justify-content: center; }
.news { display: flex; gap: 10px; max-width: 460px; margin: 26px auto 0; flex-wrap: wrap; }
.news input { flex: 1 1 220px; min-width: 0; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); background: rgba(4,8,16,.45); color: var(--ivory); font: inherit; }
.news input::placeholder { color: var(--ivory-faint); }
.news input:focus { outline: none; border-color: var(--accent); }
.news { position: relative; } .news .trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; pointer-events: none; }
.news-msg { margin-top: 12px; font-size: .92rem; color: var(--accent); min-height: 1.6em; }

/* ---------- links page (for Instagram bio) ---------- */
.links { max-width: 520px; margin-inline: auto; padding-block: 36px 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; text-align: center; }
.links > * { min-width: 0; }
.lcard > * { min-width: 0; }
.links .me img { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto; border: 1px solid var(--line); }
.links .me h1 { font-family: "Oud Serif", Georgia, serif; letter-spacing: .3em; font-size: 1.6rem; color: var(--gold-bright); margin-top: 12px; font-weight: 500; }
.links .me p { color: var(--ivory-dim); }
.lcard { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); text-align: start; }
.lcard img { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; }
.lcard small { color: var(--accent); font-size: .8rem; display: block; }
.lcard b { font-family: var(--sig); font-weight: 400; font-size: 1.6rem; line-height: 1.35; display: block; }
.lbtn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 20px; border-radius: 16px; border: 1px solid var(--line); background: rgba(4,8,16,.35); font-weight: 400; transition: all .3s; }
.lbtn:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.lbtn svg { width: 16px; height: 16px; opacity: .7; }
.lbtn.solid { background: var(--accent); color: var(--ink-on-accent); border-color: var(--accent); }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; padding-top: clamp(32px, 6vw, 72px); }
.about img { border-radius: 50%; border: 1px solid var(--line); }
.about h1 { font-family: "Oud Serif", Georgia, serif; font-size: clamp(2.6rem, 6vw, 4.2rem); letter-spacing: .12em; margin-top: 8px; }
.about .text { font-size: 1.14rem; margin-top: 16px; max-width: 36em; opacity: .92; white-space: pre-line; }
.contact { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.contact code { font-family: var(--mono); font-size: .95rem; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); user-select: all; direction: ltr; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .about img { max-width: 180px; } }

/* ---------- footer ---------- */
.foot { position: relative; z-index: 1; border-top: 1px solid var(--line-soft); padding-block: 36px calc(var(--player-h) + 36px); color: var(--ivory-faint); font-size: .88rem; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot a:hover { color: var(--ivory); }

/* ---------- player bar ---------- */
body.has-player main { padding-bottom: calc(var(--player-h) + 48px); }
.player { position: fixed; inset-inline: 0; bottom: 0; z-index: 50; padding-bottom: env(safe-area-inset-bottom, 0px); background: color-mix(in srgb, var(--night-deep) 88%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .6s var(--ease); }
.player:not(.show) { visibility: hidden; }
.player.show { transform: none; }
.player .prog { position: absolute; top: -1px; inset-inline: 0; height: 3px; direction: ltr; cursor: pointer; }
.player .prog i { position: absolute; inset-block: 0; left: 0; background: var(--accent); width: 0; }
.pbar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; min-height: var(--player-h); max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.pnow { display: flex; align-items: center; gap: 12px; min-width: 0; text-align: start; }
.pnow img { width: 50px; height: 50px; border-radius: 8px; flex: none; object-fit: cover; }
.pnow .txt { min-width: 0; }
.pnow b { font-family: var(--sig); font-weight: 400; font-size: 1.3rem; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.35; }
.pnow small { color: var(--ivory-faint); font-size: .8rem; display: flex; gap: 6px; align-items: center; overflow: hidden; white-space: nowrap; }
.tag-mini { font-size: .68rem; padding: 0 7px; border-radius: 999px; border: 1px solid var(--line); color: var(--accent); }
.pctl { display: flex; align-items: center; gap: 6px; direction: ltr; }
.ib { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--ivory-dim); transition: color .2s, background .2s; position: relative; }
.ib:hover { color: var(--ivory); background: rgba(239,233,219,.06); }
.ib.on { color: var(--accent); }
.ib svg { width: 19px; height: 19px; }
.ib .badge { position: absolute; top: 3px; right: 1px; font-family: var(--mono); font-size: .58rem; background: var(--accent); color: var(--ink-on-accent); border-radius: 999px; padding: 0 4px; line-height: 1.4; }
.pctl .fab { width: 46px; height: 46px; }
.pside { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
.ptime { font-family: var(--mono); font-size: .76rem; color: var(--ivory-faint); font-variant-numeric: tabular-nums; direction: ltr; white-space: nowrap; margin-inline-end: 6px; }
.vol { width: 90px; accent-color: var(--accent); }
@media (max-width: 860px) { .pbar { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; } .pside { display: none; } .pctl .hide-sm { display: none; } .pnow img { width: 44px; height: 44px; } }

/* ---------- now playing ---------- */
.sheet { position: fixed; inset: 0; z-index: 60; display: grid; background: linear-gradient(180deg, var(--amb-top), var(--amb-bot)); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(24px); transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s .45s; }
.sheet.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.sheet-in { width: 100%; max-width: 1080px; margin: auto; padding: calc(env(safe-area-inset-top, 0px) + 20px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 28px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 56px); align-items: center; }
.sheet .close { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 14px); inset-inline-end: 14px; z-index: 2; }
.stage { position: relative; aspect-ratio: 1; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 50px 100px -40px rgba(0,0,0,.8); }
.stage img { width: 100%; height: 100%; object-fit: cover; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sheet h2 { font-family: var(--sig); font-weight: 400; font-size: clamp(3rem, 6vw, 4.4rem); line-height: 1.35; margin-top: 6px; }
.sheet .from { color: var(--ivory-dim); }
.sheet .from a { border-bottom: 1px solid var(--line); }
.seek { margin-top: 24px; direction: ltr; }
.seek input { width: 100%; accent-color: var(--accent); }
.seek .times { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .76rem; color: var(--ivory-faint); font-variant-numeric: tabular-nums; }
.big-ctl { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 12px; direction: ltr; }
.big-ctl .fab { width: 64px; height: 64px; } .big-ctl .fab svg { width: 24px; height: 24px; }
.sleep { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sleep > span { font-size: .9rem; color: var(--ivory-dim); display: inline-flex; gap: 8px; align-items: center; margin-inline-end: 4px; }
.sleep > span svg { width: 16px; height: 16px; color: var(--accent); }
.sleep .chip { padding: 4px 12px; font-size: .82rem; }
.queue { margin-top: 24px; }
.queue h4 { font-family: var(--body); font-weight: 400; font-size: .9rem; color: var(--ivory-faint); margin-bottom: 8px; }
.queue .tracks { max-height: 240px; overflow-y: auto; }
.queue .trk { grid-template-columns: 40px minmax(0,1fr) auto; padding: 6px 8px; }
.queue .trk img { width: 40px; height: 40px; }
.queue .trk .tt a { font-size: 1.2rem; }
@media (max-width: 760px) { .sheet-in { grid-template-columns: 1fr; padding-top: calc(env(safe-area-inset-top, 0px) + 64px); } .stage { max-width: 340px; margin-inline: auto; width: 100%; } }

/* ---------- end of preview card ---------- */
.endcard { position: fixed; inset: 0; z-index: 75; display: grid; place-items: center; padding: var(--gutter); background: rgba(3,6,12,.7); backdrop-filter: blur(6px); }
.endcard .box { width: min(440px, 100%); padding: 28px 24px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--amb-top), var(--amb-bot)); text-align: center; display: grid; gap: 12px; justify-items: center; }
.endcard img { width: 120px; height: 120px; border-radius: 14px; object-fit: cover; }
.endcard b { font-family: var(--sig); font-weight: 400; font-size: 2rem; line-height: 1.3; }
.endcard p { color: var(--ivory-dim); }
.endcard .platforms { justify-content: center; margin-top: 4px; }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 70; background: rgba(3,6,12,.94); display: grid; grid-template-rows: minmax(0,1fr) auto; gap: 14px; padding: calc(env(safe-area-inset-top,0px) + 60px) var(--gutter) calc(env(safe-area-inset-bottom,0px) + 20px); }
.lb img { max-height: 100%; max-width: 100%; margin: auto; object-fit: contain; border-radius: 10px; min-height: 0; }
.lb .bar { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: center; }
.lb .bar b { font-family: var(--display); font-weight: 500; font-size: 1.35rem; }
.lb .close { position: absolute; top: calc(env(safe-area-inset-top,0px) + 10px); inset-inline-end: 12px; }
.lb .nav-a { position: absolute; top: 50%; transform: translateY(-50%); }
.lb .prev { inset-inline-start: 8px; } .lb .next { inset-inline-end: 8px; }

.toast { position: fixed; left: 50%; bottom: calc(var(--player-h) + 20px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); z-index: 80; background: var(--ivory); color: var(--ink-on-accent); padding: 10px 20px; border-radius: 999px; font-size: .92rem; opacity: 0; pointer-events: none; transition: all .35s var(--ease); max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.view { animation: rise .6s var(--ease) both; }
@keyframes rise { from { transform: translateY(10px) } to { transform: none } }
.empty { padding: 40px; text-align: center; color: var(--ivory-dim); border: 1px dashed var(--line); border-radius: 18px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* ---------- video viewing room ---------- */
.vmodal { position: fixed; inset: 0; z-index: 72; display: grid; place-items: center; overflow-y: auto; background: rgba(3,6,12,.93); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: calc(env(safe-area-inset-top, 0px) + 64px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 24px); animation: vin .35s var(--ease); }
@keyframes vin { from { opacity: .4 } to { opacity: 1 } }
.vbox { width: min(1100px, 100%); display: grid; gap: 16px; }
.vframe { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; border: 1px solid var(--line); box-shadow: 0 50px 100px -40px rgba(0,0,0,.9); }
.vbox.tall { width: auto; justify-items: center; }
.vbox.tall .vframe { width: auto; height: min(72vh, 760px); max-width: calc(100vw - 2 * var(--gutter)); aspect-ratio: 9 / 16; }
.vframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.vbox.tall .vbar { justify-content: center; text-align: center; max-width: 420px; }
.vbar b { font-family: var(--display); font-weight: 500; font-size: 1.45rem; line-height: 1.4; }
.vclose { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 12px); inset-inline-end: 12px; z-index: 1; }
