/* jadabumrad.com — redesign, Nov 2026 */
:root {
  --ink: #181818;
  --mute: #8c8c8c;
  --line: #e9e9e9;
  --paper: rgba(255, 255, 255, 0.88);
}

*, *::before, *::after { box-sizing: border-box; }

html { background: #fff; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font: 300 17px/1.75 "Lato", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

/* ---------- animated dot backgrounds ---------- */

#bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: #fff; pointer-events: none; }
#bg .layer {
  position: absolute; inset: -28px;
  background-repeat: no-repeat; background-position: center; background-size: cover;
  transition: opacity .7s ease, transform .6s cubic-bezier(.2,.7,.2,1);
  will-change: transform, opacity;
}
#bg .dots  { background-image: url(images/bodybg.gif); background-repeat: repeat; background-size: auto; opacity: .9; animation: drift 90s linear infinite alternate; }
#bg .hover { opacity: 0; }
#bg .hover.on { opacity: 1; }

@keyframes drift { from { transform: translate3d(0,0,0); } to { transform: translate3d(-40px,-24px,0); } }

body[data-page="bio"]      #bg .base { background-image: url(images/jad-abumrad_bioback.gif); }
body[data-page="music"]    #bg .base { background-image: url(images/jad-abumrad_musicback.gif); }
body[data-page="radio"]    #bg .base { background-image: url(images/jad-abumrad_radioback.gif); }
body[data-page="speaking"] #bg .base { background-image: url(images/jad-abumrad_speakingback.gif); }
body[data-page="press"]    #bg .base { background-image: url(images/jad-abumrad_pressback.gif); }
body[data-page="contact"]  #bg .base { background-image: url(images/jad-abumrad_contactback.gif); }
body[data-page="thanks"]   #bg .base { background-image: url(images/jad-abumrad_thankyouback.gif); }
body[data-page="news"]     #bg .base { background-image: url(images/jad-abumrad_bioback.gif); }

/* ---------- header ---------- */

header { padding: 44px 24px 0; text-align: center; }

.wordmark {
  display: inline-block;
  font-family: "BellGothicBT-Black", "Lato", sans-serif;
  font-size: 1.7rem; line-height: 1; letter-spacing: -.01em; text-transform: lowercase;
  color: var(--ink); text-decoration: none;
  background: rgba(255,255,255,.9); padding: 6px 12px;
}

nav { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 26px; }
nav a {
  position: relative; padding: 6px 2px; background: rgba(255,255,255,.9);
  font-size: .95rem; letter-spacing: .04em; text-transform: lowercase;
  color: var(--mute); text-decoration: none; transition: color .3s;
}
nav a::after {
  content: ""; position: absolute; left: 2px; right: 2px; bottom: 1px; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
nav a:hover, nav a:focus-visible, nav a[aria-current="page"] { color: var(--ink); }
nav a:hover::after, nav a:focus-visible::after, nav a[aria-current="page"]::after { transform: scaleX(1); }

/* ---------- content ---------- */

main {
  max-width: 660px; margin: 48px auto 0; padding: 36px 36px 28px;
  background: var(--paper); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  animation: rise .8s ease both;
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

h1 {
  margin: 0 0 1.1em;
  font: normal clamp(2.3rem, 7vw, 3.4rem)/1 "BellGothicBT-Black", "Lato", sans-serif;
  letter-spacing: -.02em; text-transform: lowercase;
}
h2 { font-weight: 400; font-size: 1.05rem; margin: 0 0 .2em; }

p { margin: 0 0 1.25em; }

a { color: var(--ink); text-decoration: underline; text-decoration-color: #c4c4c4; text-underline-offset: 3px; transition: text-decoration-color .25s, color .25s; }
a:hover { text-decoration-color: var(--ink); }

.small, .dates { font-size: .85rem; color: var(--mute); }

footer { max-width: 660px; margin: 0 auto; padding: 28px 24px 56px; text-align: center; font-size: .78rem; letter-spacing: .06em; color: var(--mute); }
footer span { background: rgba(255,255,255,.9); padding: 3px 8px; }

img { max-width: 100%; height: auto; }

/* ---------- bio ---------- */

.portrait { float: left; width: 168px; margin: 4px 28px 12px 0; filter: grayscale(1); transition: filter .6s; }
.portrait:hover { filter: none; }
main::after { content: ""; display: block; clear: both; }

/* ---------- music / radio ---------- */

.piece { margin: 0 0 2.6em; }
.piece iframe { display: block; width: 100%; border: 0; margin: 0 0 1.1em; }
.piece h2 { margin-bottom: .6em; }

.episode img.banner { display: block; width: 100%; filter: grayscale(1); transition: filter .6s; margin-bottom: 10px; }
.episode:hover img.banner { filter: none; }
.episode iframe { display: block; width: 100%; height: 54px; border: 0; margin-bottom: 1.1em; }
.episode { margin: 0 0 2.8em; }

/* ---------- press ---------- */

.clip { display: grid; grid-template-columns: 110px 1fr; gap: 0 24px; margin: 0 0 2.4em; }
.clip.noimg { grid-template-columns: 1fr; }
.clip img { width: 110px; filter: grayscale(1); transition: filter .6s; }
.clip:hover img { filter: none; }
.clip .src { font-size: .85rem; color: var(--mute); margin: .1em 0 .7em; }
.clip p { margin: 0 0 .5em; font-size: .95rem; }
.clip h2 a { text-decoration: none; }
.clip h2 a:hover { text-decoration: underline; }

/* ---------- contact ---------- */

.forms { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 1.6em; }
form h2 { font-family: "BellGothicBT-Black", "Lato", sans-serif; font-weight: normal; font-size: 1.15rem; text-transform: lowercase; margin-bottom: 1em; }
label { display: block; font-size: .78rem; letter-spacing: .06em; text-transform: lowercase; color: var(--mute); margin-top: 1.1em; }
input[type=text], input[type=email], textarea {
  display: block; width: 100%; padding: 6px 0; background: transparent; border: 0; border-bottom: 1px solid #d6d6d6; border-radius: 0;
  font: inherit; font-size: 1rem; color: var(--ink); outline: none; transition: border-color .25s; resize: vertical;
}
input[type=text]:focus, input[type=email]:focus, textarea:focus { border-bottom-color: var(--ink); }
textarea { min-height: 96px; }
input[type=submit] {
  margin-top: 1.4em; padding: 8px 18px; background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: 999px;
  font: 400 .8rem "Lato", sans-serif; letter-spacing: .12em; text-transform: lowercase; cursor: pointer; transition: background .25s, color .25s;
}
input[type=submit]:hover { background: #fff; color: var(--ink); }

/* ---------- misc ---------- */

.center { text-align: center; }
.news p { font-size: 1rem; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  main { margin-top: 28px; padding: 26px 20px 18px; }
  .portrait { float: none; display: block; margin: 0 0 20px; width: 150px; }
  .forms { grid-template-columns: 1fr; gap: 36px; }
  .clip { grid-template-columns: 80px 1fr; gap: 0 16px; }
  .clip img { width: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  #bg .dots, main { animation: none; }
  #bg .layer, nav a::after { transition: none; }
}

.bio-text { overflow: hidden; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* press sections */
html { scroll-behavior: smooth; }
.jump { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: -.4em 0 2.4em; font-size: .88rem; }
.jump a { color: var(--mute); text-decoration: none; letter-spacing: .03em; }
.jump a:hover { color: var(--ink); }
.press-section { margin: 0 0 3.4em; scroll-margin-top: 24px; }
.stitle { font: normal 1.6rem/1.1 "BellGothicBT-Black", "Lato", sans-serif; letter-spacing: -.01em; text-transform: lowercase; margin: 0 0 .5em; }
.sintro { font-size: .95rem; color: #555; margin: 0 0 1.8em; }
.pull { font-size: 1.15rem; font-style: italic; margin: 0 0 1.8em; padding-left: 16px; border-left: 2px solid var(--ink); }
.pull span { font-style: normal; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-left: .6em; }

.speaker { display: block; width: 100%; max-width: 440px; height: auto; margin: 0 0 1.8em; filter: grayscale(1); transition: filter .6s; }
.speaker:hover { filter: none; }
