/*
Theme Name: Hanna Abi Hanna
Theme URI: https://www.instagram.com/hannaabihanna1/
Author: Hanna Abi Hanna
Description: One-page dark theme for singer Hanna Abi Hanna. Concerts and covers are managed in the admin panel, texts, photos and contact details in Appearance > Customize.
Version: 1.3.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hah
*/

/* Layout: a night stage. Giant name behind a spotlit portrait, serif statements in his own words, thin rule dividers, then live dates, setlist and booking. Single dark look by choice. */
:root {
  --hah-night: #110a14;
  --hah-plum: #1b1120;
  --hah-plum-2: #261a2d;
  --hah-ivory: #f2e8da;
  --hah-mute: #a8979f;
  --hah-giant: #f2e8da1c;
  --hah-brass: #d4a65a;
  --hah-brass-soft: #d4a65a2e;
  --hah-line: #f2e8da1c;

  --f-ar: "Aref Ruqaa", "Noto Naskh Arabic", "Times New Roman", serif;
  --f-serif: "Cormorant Garamond", "Garamond", "Times New Roman", serif;
  --f-sans: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;

  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--hah-night);
  color: var(--hah-ivory);
  font: 300 1.06rem/1.7 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
}
/* Film grain over everything */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 1px solid var(--hah-brass); outline-offset: 4px; }

.wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.label {
  font: 500 .74rem/1.3 var(--f-sans);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--hah-brass);
  margin: 0;
}
h2 {
  font: 300 clamp(2.4rem, 5.4vw, 4rem)/1.04 var(--f-serif);
  margin: 0;
  text-wrap: balance;
}
h2 i { color: var(--hah-brass); }
section { padding-block: clamp(72px, 10vw, 128px); }

/* Divider: thin vertical rule with a label, centred */
.divider { display: grid; justify-items: center; gap: 14px; padding-top: clamp(48px, 7vw, 80px); }
.divider::before { content: ""; width: 1px; height: 72px; background: linear-gradient(transparent, var(--hah-brass)); }
.divider span { font: 400 .72rem/1 var(--f-sans); letter-spacing: .32em; text-transform: uppercase; color: var(--hah-mute); }
.sec-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 60px); justify-items: center; text-align: center; }
.sec-head p.small { max-width: 34rem; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--hah-night); }
.bar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9;
  background: color-mix(in srgb, var(--hah-night) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hah-line);
}
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo .ar { font: 700 1.9rem/1 var(--f-ar); color: var(--hah-brass); }
.logo .lat { font: 400 .78rem/1.2 var(--f-sans); letter-spacing: .3em; text-transform: uppercase; }
.bar nav { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 34px); }
.bar nav a { font: 400 .76rem/1 var(--f-sans); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; color: var(--hah-mute); transition: color .2s ease; }
.bar nav a:hover { color: var(--hah-ivory); }
.bar nav a.book-link { color: var(--hah-night); background: var(--hah-brass); padding: 11px 16px; border-radius: 999px; }
.bar nav a.book-link:hover { color: var(--hah-night); background: var(--hah-ivory); }
@media (max-width: 760px) { .bar nav a.opt { display: none; } .logo .lat { display: none; } }

/* Hero: giant name behind a spotlit portrait */
.hero { padding-block: clamp(24px, 4vw, 40px) clamp(48px, 7vw, 80px); overflow: hidden; }
.stage { position: relative; display: grid; place-items: center; }
.giant {
  position: absolute; inset: 0; display: grid; place-items: center; margin: 0;
  font: 600 clamp(6rem, 25vw, 22rem)/.8 var(--f-sans);
  letter-spacing: -.02em; text-transform: uppercase;
  color: var(--hah-giant); white-space: nowrap; user-select: none;
}
.spot {
  position: absolute; width: min(78vw, 640px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #d4a65a33 0%, #d4a65a10 45%, transparent 70%);
}
.portrait { position: relative; margin: 0; width: min(68vw, 400px); }
.portrait img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; box-shadow: 0 40px 80px -30px #000; }
.hero-meta {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px;
  margin-top: clamp(28px, 4vw, 44px);
}
.hero-meta .left { display: grid; gap: 10px; }
.hero-meta h1 { margin: 0; font: 400 clamp(1.05rem, 1.6vw, 1.2rem)/1.3 var(--f-sans); letter-spacing: .3em; text-transform: uppercase; }
.hero-meta .left p { margin: 0; color: var(--hah-mute); max-width: 26rem; }
.hero-meta .ar-name { font: 700 clamp(3rem, 7vw, 5rem)/1 var(--f-ar); color: var(--hah-brass); margin: 0; }
.hero-meta .right { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
@media (max-width: 860px) {
  .hero-meta { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .hero-meta .ar-name { order: -1; }
  .hero-meta .right { justify-content: center; }
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 .78rem/1 var(--f-sans); letter-spacing: .2em; text-transform: uppercase;
  padding: 16px 22px; border-radius: 999px; text-decoration: none; cursor: pointer;
  border: 1px solid var(--hah-brass); background: none; color: var(--hah-brass);
  transition: background .25s ease, color .25s ease;
}
.btn:hover { background: var(--hah-brass); color: var(--hah-night); }
.btn.solid { background: var(--hah-brass); color: var(--hah-night); }
.btn.solid:hover { background: var(--hah-ivory); border-color: var(--hah-ivory); }
.btn svg { width: 16px; height: 16px; flex: none; }

/* Ticker */
.ticker { border-block: 1px solid var(--hah-line); overflow: hidden; padding-block: 18px; }
.ticker-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.ticker-track span { font: 300 italic clamp(1.4rem, 2.6vw, 2rem)/1 var(--f-serif); padding-inline: 28px; white-space: nowrap; color: var(--hah-mute); }
.ticker-track span b { font-weight: 400; font-style: normal; color: var(--hah-brass); font-family: var(--f-ar); padding-inline: 4px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* About */
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 96px); align-items: center; }
.about-copy { display: grid; gap: 22px; min-width: 0; }
.statement { font: 300 clamp(2rem, 4.4vw, 3.3rem)/1.08 var(--f-serif); margin: 0; }
.statement i { color: var(--hah-brass); }
.about-copy p.body { margin: 0; max-width: 58ch; color: var(--hah-ivory); opacity: .86; }
.about-copy .sign { font: 700 2.4rem/1 var(--f-ar); color: var(--hah-brass); margin: 6px 0 0; }
.about-photos { position: relative; min-width: 0; }
.about-photos img:first-child { width: 78%; aspect-ratio: 9 / 13; object-fit: cover; }
.about-photos img:last-child {
  position: absolute; right: 0; bottom: -40px; width: 46%; aspect-ratio: 3 / 4; object-fit: cover;
  border: 6px solid var(--hah-night);
}
@media (max-width: 860px) { .about .wrap { grid-template-columns: 1fr; } .about-photos { margin-bottom: 40px; } }

/* Platforms */
.platforms { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--hah-line); }
.platforms a {
  display: grid; gap: 8px; justify-items: center; text-align: center; padding: 30px 14px; text-decoration: none;
  border-left: 1px solid var(--hah-line); transition: background .25s ease;
}
.platforms a:first-child { border-left: 0; }
.platforms a:hover { background: var(--hah-plum); }
.platforms svg { width: 26px; height: 26px; color: var(--hah-brass); }
.platforms strong { font: 400 clamp(1.6rem, 3vw, 2.2rem)/1 var(--f-serif); }
.platforms span { font: 400 .7rem/1.3 var(--f-sans); letter-spacing: .24em; text-transform: uppercase; color: var(--hah-mute); }
@media (max-width: 700px) {
  .platforms { grid-template-columns: 1fr 1fr; }
  .platforms a:nth-child(3) { border-left: 0; }
  .platforms a:nth-child(n+3) { border-top: 1px solid var(--hah-line); }
}

/* Single */
.single-card { display: grid; grid-template-columns: 1.2fr 1fr; background: var(--hah-plum); min-width: 0; }
.single-cover { position: relative; display: block; min-width: 0; overflow: hidden; align-self: center; }
.single-cover img { width: 100%; object-fit: cover; aspect-ratio: 16 / 9; transition: transform .6s ease; }
.single-cover:hover img { transform: scale(1.04); }
.play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(90deg, transparent 50%, #1b1120); }
.play span {
  width: 84px; height: 84px; border-radius: 50%; border: 1px solid var(--hah-ivory);
  display: grid; place-items: center; backdrop-filter: blur(6px); background: #110a1466;
}
.play svg { width: 24px; height: 24px; fill: var(--hah-ivory); margin-left: 4px; }
.single-body { padding: clamp(28px, 4vw, 56px); display: grid; gap: 18px; align-content: center; min-width: 0; }
.single-title { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.single-title h3 { font: 300 clamp(2.6rem, 5vw, 3.8rem)/1 var(--f-serif); margin: 0; }
.single-title .ar { font: 700 clamp(2.2rem, 4vw, 3rem)/1 var(--f-ar); color: var(--hah-brass); }
.single-body > p { margin: 0; color: var(--hah-mute); }
.credits { margin: 6px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; border-top: 1px solid var(--hah-line); padding-top: 20px; }
.credits dt { font: 400 .7rem/2 var(--f-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--hah-mute); }
.credits dd { margin: 0; font-weight: 400; }
@media (max-width: 860px) { .single-card { grid-template-columns: 1fr; } .play { background: none; } }

/* Booking call to action between sections */
.cta-band { padding-block: 0; }
.cta-box {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr auto; gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(32px, 5vw, 60px);
  border: 1px solid var(--hah-brass-soft);
  background: radial-gradient(circle at 88% 50%, #d4a65a26, transparent 55%), var(--hah-plum);
}
.cta-box::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(var(--hah-brass), transparent);
}
.cta-copy { display: grid; gap: 14px; min-width: 0; }
.cta-copy h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.cta-copy p.small { max-width: 46ch; }
.cta-actions { display: grid; gap: 12px; justify-items: stretch; min-width: 0; }
.cta-actions .btn { justify-content: center; }
.cta-phone { font: 400 .74rem/1.4 var(--f-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--hah-mute); text-align: center; margin: 0; }
@media (max-width: 760px) { .cta-box { grid-template-columns: 1fr; } }

/* Live */
.log { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hah-line); }
.log li {
  display: grid; grid-template-columns: 6.5rem 8rem 1fr auto; gap: 20px; align-items: center;
  padding: 22px 6px; border-bottom: 1px solid var(--hah-line); transition: background .25s ease;
}
.log li:hover { background: var(--hah-plum); }
.log time { display: grid; line-height: 1; }
.log time b { font: 300 2.4rem/1 var(--f-serif); color: var(--hah-ivory); }
.log time small { font: 500 .68rem/1.6 var(--f-sans); letter-spacing: .24em; text-transform: uppercase; color: var(--hah-brass); }
.log .kind { font: 400 .7rem/1.4 var(--f-sans); letter-spacing: .24em; text-transform: uppercase; color: var(--hah-mute); }
.log .what { min-width: 0; font-size: 1.06rem; }
.log .what .q { display: block; font: 400 1.05rem/1.5 var(--f-ar); color: var(--hah-mute); text-align: left; unicode-bidi: plaintext; }
.log a { font: 500 .7rem/1 var(--f-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--hah-brass); text-decoration: none; white-space: nowrap; }
@media (max-width: 720px) {
  .log li { grid-template-columns: auto 1fr; gap: 6px 18px; }
  .log .kind { justify-self: end; }
  .log .what { grid-column: 1 / -1; }
  .log a { grid-column: 1 / -1; }
}
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: clamp(40px, 6vw, 64px); }
.gallery a { display: block; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 9 / 15; object-fit: cover; filter: grayscale(.35); transition: transform .5s ease, filter .5s ease; }
.gallery a:hover img { transform: scale(1.05); filter: none; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(3, 1fr); } }

/* Setlist */
.tracks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 34px 20px; }
.track a { display: grid; gap: 12px; text-decoration: none; }
.track .thumb { position: relative; overflow: hidden; }
.track img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: grayscale(.5) brightness(.9); transition: filter .4s ease, transform .5s ease; }
.track a:hover img { filter: none; transform: scale(1.04); }
.track .t { font: 400 1.35rem/1.15 var(--f-serif); }
.track .o { font: 400 .72rem/1.4 var(--f-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--hah-mute); margin-top: -4px; }
.track .o.ar { font: 400 1rem/1.4 var(--f-ar); letter-spacing: 0; text-transform: none; }
.more { display: flex; justify-content: center; margin-top: clamp(40px, 6vw, 64px); }

/* Booking */
.book { background: var(--hah-plum); position: relative; overflow: hidden; }
.book .giant-ar {
  position: absolute; right: -2%; bottom: -12%; margin: 0; pointer-events: none;
  font: 700 clamp(9rem, 26vw, 20rem)/1 var(--f-ar); color: var(--hah-giant);
}
.book .wrap { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.book-copy { display: grid; gap: 22px; min-width: 0; }
.phone { font: 300 clamp(2.4rem, 5.6vw, 4.2rem)/1 var(--f-serif); letter-spacing: .02em; font-variant-numeric: lining-nums tabular-nums; user-select: all; margin: 0; }
.book-copy .row { display: flex; flex-wrap: wrap; gap: 10px; }
.small { font-size: .95rem; color: var(--hah-mute); margin: 0; }
.occasions { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hah-line); }
.occasions li { padding: 22px 0; border-bottom: 1px solid var(--hah-line); display: grid; gap: 6px; }
.occasions b { font: 400 1.7rem/1.1 var(--f-serif); }
.occasions span { color: var(--hah-mute); }
@media (max-width: 860px) { .book .wrap { grid-template-columns: 1fr; } }

footer { padding-block: 40px; }
footer .wrap { display: grid; justify-items: center; gap: 18px; text-align: center; }
footer .ar { font: 700 2.6rem/1 var(--f-ar); color: var(--hah-brass); }
footer .social { display: flex; gap: 22px; }
footer .social a { color: var(--hah-mute); }
footer .social a:hover { color: var(--hah-brass); }
footer .social svg { width: 22px; height: 22px; }
footer small { font: 400 .72rem/1 var(--f-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--hah-mute); }

/* Entrance */
@keyframes rise { from { transform: translateY(24px); opacity: .001; } to { transform: none; opacity: 1; } }
.portrait { animation: rise 1s .1s cubic-bezier(.2,.7,.2,1) both; }
.giant { animation: rise 1.2s cubic-bezier(.2,.7,.2,1) both; }

/* WordPress */
.admin-bar .bar { top: calc(32px + env(safe-area-inset-top, 0px)); }
@media (max-width: 782px) { .admin-bar .bar { top: calc(46px + env(safe-area-inset-top, 0px)); } }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.page-plain { padding-block: clamp(48px, 8vw, 96px); }
.page-plain .entry { max-width: 720px; margin-inline: auto; }
.page-plain .entry h1 { font: 300 clamp(2.4rem, 5vw, 3.6rem)/1.05 var(--f-serif); margin: 0 0 24px; }
.page-plain .entry a { color: var(--hah-brass); }
