/* Self-hosted fonts (files in /assets/fonts) */
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/Fraunces-Variable.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/Fraunces-Italic-Variable.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/DMSans-Variable.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cairo"; src: url("/assets/fonts/Cairo-Arabic-Variable.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Cairo"; src: url("/assets/fonts/Cairo-Latin-Variable.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-2199; }

:root {
  --bg: #f3ead9;
  --band: #d9eddf;
  --card: #fbf7ee;
  --text: #1c2e28;
  --muted: #55665f;
  --line: #e2d6bd;
  --green: #2f6f58;
  --green-light: #4c9c80;
  --mint: #9bd6bb;
  --accent: #b4502d;
  --link: #2f6f58;
  --dark: #1f4a3b;
  --on-dark: #f3ead9;
  --font-body: "DM Sans", "Segoe UI", system-ui, Arial, sans-serif;
  --font-head: "Fraunces", Georgia, serif;
  --font-ar: "Cairo";
}
:root[lang="ar"] {
  --font-body: var(--font-ar), "Segoe UI", Tahoma, Arial, sans-serif;
  --font-head: var(--font-ar), "Segoe UI", Tahoma, Arial, sans-serif;
}
:root[data-theme="dark"] {
  --bg: #14231e;
  --band: #1b3028;
  --card: #1f3a31;
  --text: #f3ead9;
  --muted: #aebdb5;
  --line: #2d4a40;
  --link: #9bd6bb;
  --accent: #e89a78;
  --dark: #0d1a16;
  --on-dark: #f3ead9;
}
* { box-sizing: border-box; margin: 0; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }
section { padding-block: 64px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; font-weight: 600; }
h2 { font-size: clamp(1.7rem, 4vw, 2.2rem); margin-block-end: 26px; }

/* header */
header.nav { background: var(--bg); border-block-end: 1px solid var(--line); }
header.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 14px; }
.logo { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; }
nav.links { display: flex; gap: 22px; color: var(--muted); }
.tools { display: flex; gap: 8px; }
.chip-btn { cursor: pointer; font: inherit; color: var(--text); padding: 6px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }

/* buttons: soft clay */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 20px;
  font: inherit; font-weight: 700; color: #fff; border: 0; cursor: pointer;
  background: linear-gradient(145deg, var(--green-light), var(--green));
  box-shadow: 5px 7px 16px rgba(47, 111, 88, 0.3), inset -3px -4px 8px rgba(20, 60, 45, 0.28), inset 3px 4px 8px rgba(255, 255, 255, 0.28);
}
.btn.alt { background: linear-gradient(145deg, #cf6a45, var(--accent)); box-shadow: 5px 7px 16px rgba(180, 80, 45, 0.28), inset -3px -4px 8px rgba(100, 30, 10, 0.26), inset 3px 4px 8px rgba(255, 255, 255, 0.28); }
.btn.mint { color: #12332a; background: linear-gradient(145deg, #b9e5cf, var(--mint)); box-shadow: 5px 7px 16px rgba(60, 120, 90, 0.22), inset -3px -4px 8px rgba(40, 110, 80, 0.18), inset 3px 4px 8px rgba(255, 255, 255, 0.6); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 26px; }

/* hero */
.hero { padding-block: 56px 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.badge { display: inline-block; padding: 6px 16px; border-radius: 999px; background: var(--mint); color: #12332a; font-weight: 700; font-size: 0.9rem; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); margin-block: 18px 12px; }
.accent { color: var(--accent); font-style: italic; }
:root[lang="ar"] .accent { font-style: normal; }
.hero p.sub { color: var(--muted); font-size: 1.15rem; max-width: 520px; }
.photo { border-radius: 36px; overflow: hidden; background: var(--mint); aspect-ratio: 1 / 1; border: 6px solid var(--card); box-shadow: 10px 14px 30px rgba(60, 80, 60, 0.2), inset 0 0 0 1px var(--line); }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }

/* about band */
.band { background: var(--band); }
.band p { font-size: 1.15rem; max-width: 720px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 18px; }
.tag { padding: 4px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; background: var(--card); border: 1px solid var(--line); }

/* projects */
.projects { display: grid; gap: 28px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 24px; box-shadow: 6px 8px 22px rgba(60, 80, 60, 0.1), inset 2px 3px 6px rgba(255, 255, 255, 0.5); }
.card .head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.card h3 { font-size: 1.45rem; }
.card p { color: var(--muted); margin-block-start: 6px; }
.live { font-weight: 700; color: var(--link); }
.live:hover { text-decoration: underline; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-block-start: 18px; }
.shots img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; border-radius: 16px; border: 1px solid var(--line); }
.shots.two { grid-template-columns: repeat(2, 1fr); }
.shots.two img { aspect-ratio: 16 / 9; }

/* contact */
.contact { background: var(--dark); color: var(--on-dark); }
.contact h2 { margin-block-end: 8px; }
.contact p.num { font-size: 1.3rem; margin-block: 6px 0; direction: ltr; unicode-bidi: isolate; display: inline-block; }
.contact .tools-row { display: flex; flex-direction: column; gap: 4px; }
footer { text-align: center; color: var(--muted); padding-block: 22px 28px; font-size: 0.9rem; }

.notfound { padding-block: 120px; text-align: center; }
.notfound .sub { margin: 12px auto 0; color: var(--muted); }
.notfound .actions { justify-content: center; }

@media (max-width: 760px) {
  nav.links { display: none; }
  .hero .wrap { grid-template-columns: 1fr; }
  .photo { max-width: 320px; order: -1; }
  section { padding-block: 44px; }
  .shots.two { grid-template-columns: 1fr; }
}
