/* Colours taken from the Mohamad Studio logo: black ink, white, lavender shade, yellow and orange */
:root {
  --ink: #0b0b0d; --body: #2b2b31; --muted: #62626c;
  --yellow: #f6c90e; --orange: #f39200; --lav: #b3bce0;
  --bg: #fffdf4; --card: #ffffff; --panel: #fff6cc; --line: #0b0b0d;
  --edge: #0b0b0d; --pop: #0b0b0d; --co: #b45309;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #f7f7f2; --body: #d6d6dd; --muted: #a0a0ab;
    --bg: #101013; --card: #19191e; --panel: #1f1f25; --line: #33333c;
    --edge: #000; --pop: #f6c90e; --co: #f39200;
  }
}
:root[data-theme="dark"] {
  --ink: #f7f7f2; --body: #d6d6dd; --muted: #a0a0ab;
  --bg: #101013; --card: #19191e; --panel: #1f1f25; --line: #33333c;
  --edge: #000; --pop: #f6c90e; --co: #f39200;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; background: var(--bg); color: var(--body); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
html[lang="ar"] body { font-family: 'IBM Plex Sans Arabic', 'Plus Jakarta Sans', system-ui, sans-serif; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* sticker: thick black outline and a hard offset shadow, like the logo's letters */
.sticker { background: var(--card); border: 3px solid var(--edge); border-radius: 20px; box-shadow: 6px 6px 0 var(--pop); }

/* hero */
.hero { background: var(--yellow); color: #0b0b0d; border-bottom: 3px solid #0b0b0d; position: relative; overflow: hidden; }
.top { display: flex; justify-content: flex-end; align-items: center; padding: 20px 0 0; position: relative; }
.lang { text-decoration: none; font-size: 14px; font-weight: 700; background: #0b0b0d; color: #fff; padding: 7px 16px; border-radius: 99px; }
.lang:hover { background: #2b2b31; }
.hero-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 28px 0 72px; position: relative; }
.logo-art { transform: rotate(-3deg); filter: drop-shadow(8px 10px 0 rgba(11,11,13,.18)); }
.eyebrow { display: inline-block; background: #0b0b0d; color: var(--yellow); font-weight: 700; font-size: 14px; letter-spacing: .3px; padding: 6px 14px; border-radius: 99px; transform: rotate(-1.5deg); }
h1 { font-size: clamp(38px, 6vw, 66px); line-height: 1.02; font-weight: 800; letter-spacing: -1.5px; margin: 18px 0 18px; color: #0b0b0d; }
html[lang="ar"] h1 { font-family: 'Lalezar', 'IBM Plex Sans Arabic', sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.2; }
.lead { font-size: clamp(17px, 2vw, 19px); color: #2b2b31; max-width: 560px; font-weight: 500; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 15px;
  padding: 12px 20px; border-radius: 14px; border: 3px solid #0b0b0d; box-shadow: 4px 4px 0 #0b0b0d; transition: transform .12s ease, box-shadow .12s ease; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #0b0b0d; }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 #0b0b0d; }
.btn.primary { background: #0b0b0d; color: var(--yellow); }
.btn.ghost { background: #fff; color: #0b0b0d; }
.btn.yellow { background: var(--yellow); color: #0b0b0d; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); background: #0b0b0d; }
.stat { padding: 26px 8px; text-align: center; border-inline-end: 1px solid #2b2b31; }
.stat:last-child { border-inline-end: 0; }
.stat b { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 32px; font-weight: 800; color: #fff; direction: ltr; }
.stat b em { font-style: normal; color: var(--yellow); }
.stat span { font-size: 14px; color: var(--lav); }

/* sections */
section { padding: 76px 0; }
h2 { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: #0b0b0d; background: var(--yellow);
  border: 3px solid #0b0b0d; padding: 4px 14px; border-radius: 10px; transform: rotate(-2deg); margin-bottom: 22px; }
html[lang="ar"] h2 { letter-spacing: 0; font-size: 16px; }
h3.big { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.2; color: var(--ink); font-weight: 800; letter-spacing: -.5px; margin-bottom: 26px; max-width: 800px; }
h3.big mark { background: linear-gradient(transparent 58%, var(--lav) 58%); color: inherit; }
html[lang="ar"] h3.big { letter-spacing: 0; font-weight: 700; }

.grid2 { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }

/* timeline */
.timeline { position: relative; padding-inline-start: 30px; }
.timeline::before { content: ""; position: absolute; inset-inline-start: 7px; top: 10px; bottom: 10px; width: 3px; background: var(--ink); border-radius: 3px; }
.job { position: relative; padding-bottom: 30px; }
.job::before { content: ""; position: absolute; inset-inline-start: -30px; top: 6px; width: 17px; height: 17px; border-radius: 50%;
  background: var(--card); border: 3px solid var(--ink); }
.job.now::before { background: var(--yellow); border-color: #0b0b0d; box-shadow: 0 0 0 4px var(--lav); }
.job-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.job-title { font-weight: 800; font-size: 18px; color: var(--ink); }
.dates { font-size: 13px; font-weight: 700; color: #0b0b0d; background: var(--lav); border: 2px solid #0b0b0d; padding: 1px 10px; border-radius: 99px; white-space: nowrap; }
.job-co { color: var(--co); font-weight: 700; font-size: 15px; }
.job p { margin-top: 6px; }

/* side */
.side-card { padding: 24px; margin-bottom: 24px; }
.side-card h4 { color: var(--ink); font-size: 16px; font-weight: 800; margin-bottom: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: var(--panel); border: 2px solid var(--line); border-radius: 10px; padding: 4px 11px; font-size: 14px; color: var(--ink); font-weight: 600; }
.list { list-style: none; }
.list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 2px dashed var(--line); color: var(--ink); font-weight: 700; }
.list li:last-child { border-bottom: 0; }
.list small { color: var(--muted); font-weight: 500; }
.note { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* quotes */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
blockquote { padding: 26px; color: var(--body); font-size: 15px; box-shadow: 6px 6px 0 var(--lav); }
blockquote cite { display: block; margin-top: 14px; font-style: normal; font-weight: 800; color: var(--ink); font-size: 14px; }
blockquote cite small { display: block; color: var(--muted); font-weight: 500; }

/* contact */
.contact { background: #0b0b0d; color: #fff; border: 3px solid #0b0b0d; border-radius: 28px; box-shadow: 8px 8px 0 var(--yellow); padding: 52px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.contact h3 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; line-height: 1.15; max-width: 540px; }
.contact h3 span { color: var(--yellow); }
html[lang="ar"] .contact h3 { font-weight: 700; }
.links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.links a { color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; border: 2px solid var(--lav); padding: 6px 13px; border-radius: 99px; }
.links a:hover { background: var(--lav); color: #0b0b0d; }
.contact .btn { border-color: #fff; box-shadow: 4px 4px 0 #fff; overflow-wrap: anywhere; }
footer { text-align: center; color: var(--muted); font-size: 13px; padding: 36px 0 44px; }

@media (max-width: 860px) {
  .hero-body { grid-template-columns: 1fr; gap: 18px; padding: 14px 0 56px; }
  .logo-art { order: -1; width: 88%; max-width: 420px; margin: 4px auto 6px; }
  .grid2 { grid-template-columns: 1fr; gap: 28px; }
  .quotes { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3) { border-inline-end: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid #2b2b31; }
  .contact { padding: 34px 24px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-inline-end: 1px solid #2b2b31 !important; border-top: 1px solid #2b2b31; }
  .stat:nth-child(even) { border-inline-end: 0 !important; }
  .stat:first-child, .stat:nth-child(2) { border-top: 0; }
  .stat:last-child { grid-column: 1 / -1; border-inline-end: 0 !important; }
  section { padding: 56px 0; }
  .btn { width: 100%; }
  .sticker, blockquote { box-shadow: 4px 4px 0 var(--pop); }
  blockquote { box-shadow: 4px 4px 0 var(--lav); }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
