/* ============================================================
   Mohamed Alkudaimi – Personal Brand
   Royal black · silver headings · warm bronze accent · glass cards
   Bildschatten immer links / التظليل على الصور يساري دائمًا
   ============================================================ */

:root {
  --bg: #050506;
  --bg-2: #0b0b0e;
  --panel: #111114;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --plat-line: rgba(207, 199, 187, 0.25);
  --text: #d5d7db;
  --muted: #8d9199;
  --silver: #c4c7cd;
  --silver-hi: #f1f2f4;
  --silver-grad: linear-gradient(118deg, #f4f5f7 0%, #c1c4ca 28%, #eef0f3 48%, #a6aab1 72%, #e2e4e8 100%);
  /* Warmes Bronze / برونز دافئ */
  --accent: #9a6b45;
  --accent-hi: #c08a5c;
  --accent-lo: #6e4a2e;
  --accent-grad: linear-gradient(118deg, #c9955f 0%, #9a6b45 40%, #d4a26e 56%, #6e4a2e 100%);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-body: "Jost", "Segoe UI", system-ui, sans-serif;
  --font-head: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --font-display: "Bodoni Moda", "Didot", Georgia, serif;
  --pad: clamp(1.25rem, 5vw, 4rem);
  --glass: linear-gradient(160deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015));
  --glass-line: rgba(255,255,255,0.09);
  --glass-line-hi: rgba(255,255,255,0.2);
  --glass-shadow: 0 24px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
  --radius: 20px;
  --shade-left: linear-gradient(to right, #050506 0%, rgba(5,5,6,0.85) 22%, rgba(5,5,6,0.35) 50%, rgba(5,5,6,0.05) 78%, rgba(5,5,6,0.2) 100%);
  --shade-left-wide: linear-gradient(to right, rgba(5,5,6,0.5) 0%, rgba(5,5,6,0.8) 24%, #050506 34%, rgba(5,5,6,0.92) 42%, rgba(5,5,6,0.5) 58%, rgba(5,5,6,0.08) 80%, rgba(5,5,6,0.25) 100%);
  --shade-bottom: linear-gradient(to top, #050506 0%, rgba(5,5,6,0.65) 22%, rgba(5,5,6,0) 55%);
  --shade-top: linear-gradient(to bottom, rgba(5,5,6,0.6) 0%, rgba(5,5,6,0) 30%);
}

/* Arabisch: Ruqaa nur für große Überschriften, Labels in Naskh */
[dir="rtl"] {
  --font-body: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --font-head: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --font-display: "Cairo", "Segoe UI", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-weight: 300; font-size: 1.0625rem; line-height: 1.8;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
[dir="rtl"] body { font-size: 1.05rem; line-height: 1.9; font-weight: 400; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
button { font: inherit; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 400; font-variation-settings: "opsz" 96; line-height: 1.1; margin: 0 0 0.6em; letter-spacing: 0.02em; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-weight: 800; line-height: 1.4; letter-spacing: 0; font-variation-settings: normal; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }

.silver { background: var(--silver-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent-hi); margin-bottom: 1.4rem; font-weight: 400; }
[dir="rtl"] .kicker { letter-spacing: 0.02em; font-size: 0.9rem; font-weight: 500; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.7; color: #e3e5e9; font-weight: 300; }
.sub { font-size: 1.1rem; color: #b6b9bf; max-width: 42rem; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.center { text-align: center; }

.container { width: min(100% - 2 * var(--pad), 76rem); margin-inline: auto; }
.container.narrow { max-width: 46rem; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; }
.section--tight { padding-top: 0; }

/* ============ SCENE (fixed background + planet) ============ */
.scene { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: var(--bg); }
.scene img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; filter: saturate(0.75) contrast(1.05); }
.scene__veil { position: absolute; inset: 0; background: linear-gradient(to right, rgba(5,5,6,0.72) 0%, rgba(5,5,6,0.5) 40%, rgba(5,5,6,0.42) 100%), radial-gradient(120% 80% at 50% 0%, rgba(5,5,6,0.05), rgba(5,5,6,0.45)); }
.scene::after {
  content: ""; position: absolute; width: 130vmax; height: 130vmax; left: -78vmax; top: -72vmax; border-radius: 50%;
  background: radial-gradient(circle at 68% 66%, #1c1d22 0%, #101115 30%, #08080a 55%, #050506 70%);
  box-shadow: 0 0 90px 12px rgba(220,222,228,0.06), inset -60px -60px 140px rgba(0,0,0,0.85);
  border: 1px solid rgba(255,255,255,0.05);
  opacity: 0.3; mix-blend-mode: screen;
}
main, .footer { position: relative; z-index: 1; }

.grain {
  position: fixed; inset: -50%; z-index: 999; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain { 0%,100%{transform:translate(0,0)} 10%{transform:translate(-3%,-5%)} 20%{transform:translate(-8%,3%)} 30%{transform:translate(5%,-8%)} 40%{transform:translate(-3%,10%)} 50%{transform:translate(-8%,2%)} 60%{transform:translate(8%,0)} 70%{transform:translate(0,8%)} 80%{transform:translate(3%,12%)} 90%{transform:translate(-6%,4%)} }

/* ============ HEADER ============ */
.header { position: fixed; inset-inline: 0; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 1.2rem var(--pad); transition: padding 0.5s var(--ease), background 0.5s var(--ease); }
.header.is-scrolled { padding-block: 0.7rem; background: linear-gradient(to bottom, rgba(5,5,6,0.94), rgba(5,5,6,0.7) 70%, transparent); backdrop-filter: blur(8px); }
[dir="rtl"] .header { flex-direction: row-reverse; }
.brand { display: flex; flex-direction: column; gap: 0.15rem; line-height: 1.15; white-space: nowrap; font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; }
[dir="rtl"] .brand { letter-spacing: 0; font-size: 1.35rem; font-weight: 800; text-transform: none; font-family: var(--font-head); align-items: flex-start; }
.brand__name { background: var(--silver-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand__tag { font-family: var(--font-body); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: none; color: var(--muted); display: flex; align-items: center; gap: 0.5rem; font-weight: 400; }
.brand__tag::before { content: ""; width: 1.4rem; height: 1px; background: var(--accent); }
[dir="rtl"] .brand__tag { font-size: 0.78rem; letter-spacing: 0; }
.brand__tag:empty { display: none; }
.header__right { display: flex; align-items: center; gap: 1.6rem; }
[dir="rtl"] .header__right { flex-direction: row-reverse; }
.lang { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; letter-spacing: 0.18em; font-family: "Jost", sans-serif; }
.lang__btn { background: none; border: 0; padding: 0.2rem 0.1rem; cursor: pointer; font: inherit; letter-spacing: inherit; color: var(--muted); transition: color 0.4s; }
.lang__btn:hover, .lang__btn.is-active { color: var(--accent-hi); }
.lang__btn.is-active { position: relative; }
.lang__btn.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--accent-grad); }
.lang__sep { color: var(--line-strong); }
.burger { width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.burger span { display: block; height: 1.5px; width: 24px; background: var(--accent); transition: transform 0.5s var(--ease), opacity 0.3s, width 0.4s var(--ease); transform-origin: center; }
.burger span:nth-child(2) { width: 16px; }
.burger:hover span { width: 24px; }
.burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
@media (max-width: 600px) {
  .brand { font-size: 0.68rem; letter-spacing: 0.09em; }
  .brand__tag { font-size: 0.56rem; }
  [dir="rtl"] .brand { font-size: 1.1rem; }
  .header__right { gap: 0.9rem; }
  .lang { font-size: 0.68rem; gap: 0.35rem; }
}

/* ============ SIDE DRAWER MENU ============ */
.menu { position: fixed; inset: 0; z-index: 90; visibility: hidden; pointer-events: none; transition: visibility 0s 0.6s; }
.menu.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.menu__bg { position: absolute; inset: 0; background: rgba(5,5,6,0.55); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.5s var(--ease); }
.menu.is-open .menu__bg { opacity: 1; }
.menu__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 88vw);
  background: linear-gradient(180deg, #131418 0%, #08080a 100%);
  border-left: 1px solid rgba(154,107,69,0.3); box-shadow: -30px 0 80px rgba(0,0,0,0.6);
  padding: 6rem 2rem 2rem; overflow-y: auto; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.6s var(--ease);
}
.menu.is-open .menu__panel { transform: none; }
.menu__list { list-style: none; margin: 0; padding: 0; }
.menu__list li { opacity: 0; transform: translateX(16px); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.menu.is-open li { opacity: 1; transform: none; }
.menu.is-open li:nth-child(1){transition-delay:.10s} .menu.is-open li:nth-child(2){transition-delay:.15s} .menu.is-open li:nth-child(3){transition-delay:.20s}
.menu.is-open li:nth-child(4){transition-delay:.25s} .menu.is-open li:nth-child(5){transition-delay:.30s} .menu.is-open li:nth-child(6){transition-delay:.35s}
.menu.is-open li:nth-child(7){transition-delay:.40s} .menu.is-open li:nth-child(8){transition-delay:.45s} .menu.is-open li:nth-child(9){transition-delay:.50s}
.menu__list a { display: flex; align-items: baseline; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); transition: border-color 0.4s; }
.menu__list a:hover { border-color: var(--accent); }
.menu__num { font-family: "Jost", sans-serif; font-size: 0.7rem; letter-spacing: 0.2em; color: var(--accent-hi); min-width: 1.8rem; }
.menu__label { font-family: var(--font-head); font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.25; font-variation-settings: "opsz" 48; background: linear-gradient(118deg, #b7bac0, #e9eaee 50%, #a3a6ad); -webkit-background-clip: text; background-clip: text; color: transparent; transition: transform 0.5s var(--ease); }
[dir="rtl"] .menu__label { font-weight: 700; line-height: 1.5; }
.menu__list a:hover .menu__label { transform: translateX(4px); }
[dir="rtl"] .menu__list a:hover .menu__label { transform: translateX(-4px); }
.menu__foot { margin-top: auto; padding-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; font-family: "Jost", sans-serif; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
[dir="rtl"] .menu__foot { font-family: var(--font-body); letter-spacing: 0; text-transform: none; font-size: 0.9rem; }
.menu__foot a:hover { color: var(--accent-hi); }

/* ============ VIEWS (full pages opened from cards / menu) ============ */
.page { display: block; position: relative; }
.page--view { display: none; }
body[data-view] main > .page:not(.page--view), body[data-view] .footer { display: none; }
body[data-view] .page--view.is-active { display: block; }

/* Themed dark band at the top of each view */
.band { position: relative; overflow: hidden; background: rgba(17,17,20,0.55); padding: clamp(8rem, 16vh, 11rem) 0 clamp(2.5rem, 6vw, 4rem); min-height: 48svh; display: flex; align-items: flex-end; }
.band::before { content: ""; position: absolute; inset: 0; }
.band::after { content: ""; position: absolute; inset: 0; background: var(--shade-left), var(--shade-bottom), var(--shade-top); pointer-events: none; }
.band__body { position: relative; z-index: 1; width: min(100% - 2 * var(--pad), 76rem); margin-inline: auto; }
.band__body h1 { max-width: 22ch; }
.band__body .sub { margin: 0.4rem 0 0; }
.band--work::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='44' height='44'><g fill='none' stroke='%23ffffff' stroke-opacity='0.09'><rect x='3' y='3' width='16' height='16' rx='2'/><rect x='25' y='3' width='16' height='16' rx='2'/><rect x='3' y='25' width='16' height='16' rx='2'/><rect x='25' y='25' width='16' height='16' rx='2'/></g></svg>"); }
.band--relations::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><g fill='%23ffffff' fill-opacity='0.22'><circle cx='24' cy='28' r='2'/><circle cx='118' cy='54' r='2'/><circle cx='60' cy='128' r='2'/><circle cx='140' cy='136' r='2'/></g><path d='M24 28L118 54L60 128ZM118 54L140 136' fill='none' stroke='%23ffffff' stroke-opacity='0.08'/></svg>"); }
.band--music::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='176' height='120'><path d='M4 60h8M18 48v24M28 36v48M38 54v12M48 22v76M58 44v32M68 56v8M78 30v60M88 46v28M98 60h8M112 40v40M122 26v68M132 50v20M142 34v52M152 58v4M162 44v32M172 60h4' stroke='%23ffffff' stroke-opacity='0.13' stroke-width='2' stroke-linecap='round'/></svg>"); background-repeat: repeat-x; background-position: center 55%; }
.band--history::before { background: repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 56px), linear-gradient(to bottom, rgba(255,255,255,0.03), transparent 60%); }
.band--business::before { background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 48px 48px; }
.band--ai::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><g fill='none' stroke='%23ffffff' stroke-opacity='0.1'><path d='M20 20h40v30h30M20 70v40h50M90 20v40h30M60 110h60'/></g><g fill='%23ffffff' fill-opacity='0.2'><circle cx='20' cy='20' r='2.5'/><circle cx='90' cy='50' r='2.5'/><circle cx='70' cy='110' r='2.5'/><circle cx='120' cy='60' r='2.5'/><circle cx='120' cy='110' r='2.5'/></g></svg>"); }
.band--revolution::before { background: linear-gradient(115deg, rgba(255,255,255,0.07) 0%, transparent 42%), repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 14px); }
.community { margin-top: clamp(2rem, 5vw, 3.5rem); padding-top: clamp(2.5rem, 6vw, 4.5rem); border-top: 1px solid var(--plat-line); }
.community__q { margin: 1.5rem 0 1.2rem; }
.community .grid3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.tile .zone__num { margin-bottom: 0.8rem; }
.view__back { text-align: center; padding: 1rem 0 clamp(4rem, 8vw, 6rem); }

/* ============ HERO ============ */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: transparent; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.8s var(--ease); }
.hero__slide.is-active { opacity: 1; z-index: 1; }
/* ثلاث صور طولية تتبدل (مصافحة آلية · برلين · الثنائي) */
.hero__slide img { position: absolute; top: 0; bottom: 0; right: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.08); transition: transform 8s linear; filter: saturate(0.85) contrast(1.02); }
.hero__slide.is-active img { transform: scale(1); }
.hero__slide:nth-child(1) img { object-position: 50% 45%; }
.hero__slide:nth-child(2) img { object-position: 50% 26%; }
.hero__slide:nth-child(3) img { object-position: 50% 30%; }
.hero__shade { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: var(--shade-left), var(--shade-bottom), var(--shade-top); }
.hero__quote { position: absolute; z-index: 3; left: var(--pad); bottom: 32%; max-width: min(40rem, 80%); opacity: 0; transform: translateY(18px); transition: opacity 1.1s var(--ease) 0.5s, transform 1.2s var(--ease) 0.5s; }
.hero__slide.is-active .hero__quote { opacity: 1; transform: none; }
.hero__quote::before { content: ""; position: absolute; inset: -40% -18%; z-index: -1; background: radial-gradient(closest-side, rgba(5,5,6,0.95), rgba(5,5,6,0)); filter: blur(24px); }
.hero__quote p { margin: 0; font-family: var(--font-head); font-size: clamp(1.8rem, 3.9vw, 3.4rem); line-height: 1.2; font-weight: 400; color: #e6e8ec; text-shadow: 0 2px 24px rgba(0,0,0,0.85), 0 0 60px rgba(0,0,0,0.7); }
[dir="rtl"] .hero__quote p { font-weight: 800; line-height: 1.5; font-size: clamp(1.6rem, 3.2vw, 2.8rem); }
[dir="rtl"] .hero__quote, [dir="rtl"] .hero__bottom { text-align: right; }
.hero__quote p::before { content: "\201C"; opacity: 0.5; }
.hero__quote p::after { content: "\201D"; opacity: 0.5; }
[dir="rtl"] .hero__quote p::before { content: "\00AB"; }
[dir="rtl"] .hero__quote p::after { content: "\00BB"; }
.hero__bottom { position: absolute; z-index: 3; left: var(--pad); bottom: 7%; }
.hero__roles { font-family: var(--font-head); font-size: clamp(1.05rem, 1.7vw, 1.4rem); letter-spacing: 0.2em; text-transform: uppercase; margin: 0 0 0.3rem; }
[dir="rtl"] .hero__roles { letter-spacing: 0; text-transform: none; font-weight: 800; font-size: 1.4rem; }
.hero__fields { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent-hi); margin: 0; padding-top: 0.9rem; position: relative; }
.hero__fields::before { content: ""; position: absolute; top: 0; left: 0; width: 4.5rem; height: 1px; background: linear-gradient(to right, var(--accent), transparent); }
[dir="rtl"] .hero__fields { letter-spacing: 0.04em; text-transform: none; font-size: 0.95rem; }
[dir="rtl"] .hero__fields::before { left: auto; right: 0; background: linear-gradient(to left, var(--accent), transparent); }
.hero__dots { display: flex; gap: 0.5rem; margin-top: 1.5rem; }
[dir="rtl"] .hero__dots { justify-content: flex-end; }
.hero__dots button { width: 28px; height: 2px; border: 0; padding: 0; background: rgba(255,255,255,0.18); cursor: pointer; transition: background 0.5s; }
.hero__dots button.is-active { background: var(--accent-hi); }
.hero__scroll { position: absolute; z-index: 3; right: var(--pad); bottom: 7%; display: flex; flex-direction: column; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent-hi); }
[dir="rtl"] .hero__scroll { letter-spacing: 0.05em; text-transform: none; font-size: 0.85rem; }
.hero__scroll i { width: 1px; height: 48px; background: linear-gradient(to bottom, var(--accent-hi), transparent); animation: drop 2.4s var(--ease) infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (min-width: 900px) {
  .hero__slide img { width: 66%; }
  .hero__shade { background: var(--shade-left-wide), var(--shade-bottom), var(--shade-top); }
  .hero__quote { max-width: min(40rem, 45%); }
  [dir="rtl"] .hero__quote { max-width: 40%; }
}
@media (max-width: 700px) { .hero__scroll { display: none; } .hero__quote { bottom: 36%; max-width: 92%; } }

/* ============ SUMMARY CARDS (home – essentials) ============ */
.summaries { display: grid; gap: 1.4rem; margin-top: 2rem; }
.summary {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.4rem, 3vw, 2.8rem); align-items: center;
  background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius); box-shadow: var(--glass-shadow);
  padding: clamp(1.3rem, 3vw, 2.4rem); backdrop-filter: blur(12px); transition: border-color 0.5s, transform 0.6s var(--ease), box-shadow 0.6s;
}
.summary:hover { border-color: var(--plat-line); transform: translateY(-3px); box-shadow: var(--glass-shadow), 0 30px 80px rgba(154,107,69,0.08); }
[dir="rtl"] .summary { direction: ltr; }
[dir="rtl"] .summary__body { direction: rtl; text-align: right; }
.summary__body h2 { margin-bottom: 0.5em; font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.summary__body p { color: #c9ccd2; }
.summary__body .btn { margin-top: 0.4rem; }
.summary__sub { margin-top: 1.6rem; padding-top: 1.3rem; border-top: 1px solid var(--plat-line); }
.summary__sub .kicker { margin-bottom: 0.5rem; }
.summary__subtitle { font-family: var(--font-head); font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.3; margin: 0 0 0.4rem; }
[dir="rtl"] .summary__subtitle { font-weight: 800; line-height: 1.5; }
.summary__subtext { font-size: 0.95rem; color: #b9bcc3; line-height: 1.65; margin: 0 0 0.6rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.summary__media { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; }
.summary__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; filter: saturate(0.85); transform: scale(1.02); transition: transform 1.6s var(--ease); }
.summary:hover .summary__media img { transform: scale(1.06); }
.summary__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, #050506 0%, rgba(5,5,6,0.6) 22%, rgba(5,5,6,0) 55%), linear-gradient(to top, rgba(5,5,6,0.7), rgba(5,5,6,0) 40%); }
@media (max-width: 900px) { .summary { grid-template-columns: 1fr; } .summary__media { order: -1; aspect-ratio: 16 / 10; } }

/* ============ MINI CARDS (home – more) ============ */
.minis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.mini { display: grid; grid-template-columns: minmax(0, 1fr) 7.5rem; gap: 1.2rem; align-items: center; background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius); box-shadow: var(--glass-shadow); padding: 1.1rem; backdrop-filter: blur(12px); transition: border-color 0.5s, transform 0.6s var(--ease); }
.mini:hover { border-color: var(--plat-line); transform: translateY(-3px); }
[dir="rtl"] .mini { direction: ltr; }
[dir="rtl"] .mini__body { direction: rtl; text-align: right; }
.mini__media { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; }
.mini__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; filter: saturate(0.8); }
.mini__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(5,5,6,0.75), rgba(5,5,6,0) 60%); }
.mini__body h3 { margin-bottom: 0.3em; font-size: clamp(1.15rem, 1.5vw, 1.4rem); }
.mini__body p { margin: 0 0 0.6rem; color: #b9bcc3; font-size: 0.95rem; line-height: 1.6; }
.link-more { display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-hi); transition: color 0.3s; }
[dir="rtl"] .link-more { letter-spacing: 0; text-transform: none; font-size: 0.9rem; }
.link-more svg { width: 0.95rem; height: 0.95rem; }
[dir="rtl"] .link-more svg { transform: scaleX(-1); }
.link-more:hover { color: var(--silver-hi); }
@media (max-width: 760px) { .minis { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .mini { grid-template-columns: minmax(0, 1fr) 5.5rem; } }

/* ============ SPLIT (about / contact) ============ */
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); min-height: 100svh; }
.split__body { padding: clamp(7rem, 12vw, 10rem) var(--pad) clamp(3rem, 6vw, 5rem); display: flex; flex-direction: column; justify-content: center; max-width: 46rem; margin-left: max(0px, calc((100% - 84rem) / 2)); margin-right: auto; }
[dir="rtl"] .split { direction: ltr; }
[dir="rtl"] .split__body { direction: rtl; text-align: right; }
.split__media { position: relative; margin: 0; min-height: 60svh; overflow: hidden; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; filter: saturate(0.85); transform: scale(1.06); transition: transform 14s var(--ease); }
.split__media.in img { transform: scale(1); }
.split__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to right, #050506 0%, rgba(5,5,6,0.7) 20%, rgba(5,5,6,0) 55%), linear-gradient(to left, rgba(5,5,6,0.35) 0%, rgba(5,5,6,0) 20%), var(--shade-bottom), var(--shade-top); }
.split--contact { min-height: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; min-height: 0; } .split__media { order: -1; min-height: 62svh; } .split__body { padding-top: 2rem; margin-left: 0; } }

/* ============ STORY ============ */
.story { padding-bottom: clamp(3rem, 8vw, 6rem); }
.story__inner { width: min(100% - 2 * var(--pad), 44rem); margin-inline: auto; }
.story__chapter { margin-top: clamp(3rem, 6vw, 4.5rem); }
.story__chapter .kicker { margin-bottom: 1rem; }
.story p { color: #cfd2d7; font-size: 1.08rem; }
[dir="rtl"] .story p { font-size: 1.1rem; line-height: 2; }
.pull { margin: clamp(2.5rem, 5vw, 4rem) 0; padding: 0 0 0 1.6rem; border-left: 1px solid var(--accent); font-family: var(--font-head); font-variation-settings: "opsz" 96; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.3; font-style: italic; }
[dir="rtl"] .pull { padding: 0 1.6rem 0 0; border-left: 0; border-right: 1px solid var(--accent); font-style: normal; font-weight: 700; line-height: 1.6; font-size: clamp(1.4rem, 2.4vw, 2rem); }
.pull p, [dir="rtl"] .story .pull p { margin: 0; color: var(--silver-hi); font-size: inherit; line-height: inherit; }
.story__figure { position: relative; margin: clamp(2.5rem, 5vw, 4rem) 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); }
.story__figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; filter: saturate(0.8); }
.story__figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, #050506 0%, rgba(5,5,6,0.5) 30%, rgba(5,5,6,0) 60%), linear-gradient(to top, #050506, rgba(5,5,6,0) 40%); }
.story__toggle .btn { margin-top: 0.4rem; }

/* ============ WORK (inside the Activities view) ============ */
.work { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
.work__item { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius); box-shadow: var(--glass-shadow); padding: clamp(1.2rem, 3vw, 2.4rem); backdrop-filter: blur(12px); }
[dir="rtl"] .work__item { direction: ltr; }
[dir="rtl"] .work__body { direction: rtl; text-align: right; }
.work__media { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 14px; }
.work__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(0.85); transform: scale(1.02); transition: transform 1.6s var(--ease); }
.work__item:hover .work__media img { transform: scale(1.06); }
.work__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, #050506 0%, rgba(5,5,6,0.6) 25%, rgba(5,5,6,0) 60%), linear-gradient(to top, #050506 0%, rgba(5,5,6,0) 40%); }
.work__body h2 { margin-bottom: 0.4em; }
.work__line { font-size: 1.02rem; color: var(--accent-hi); margin-bottom: 1.2rem; }
.work__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 0.6rem; }
.btn--soon { border-style: dashed; color: var(--muted); border-color: var(--line-strong); cursor: default; pointer-events: none; }
.btn--soon::before { display: none; }
@media (max-width: 900px) { .work__item { grid-template-columns: 1fr; } .work__media { order: -1; aspect-ratio: 16 / 10; } }

/* ============ TILES / ZONES / DUO ============ */
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1rem; margin-bottom: 3rem; }
.tile { background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius); box-shadow: var(--glass-shadow); padding: 2.2rem 1.9rem; transition: border-color 0.5s, transform 0.6s var(--ease); backdrop-filter: blur(12px); }
.tile:hover { border-color: var(--plat-line); transform: translateY(-3px); }
.tile h3 { margin-bottom: 0.7rem; }
.tile p { margin: 0; color: #b9bcc3; }
.note { background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius); box-shadow: var(--glass-shadow); padding: 1.4rem 1.6rem; margin-top: 1.4rem; backdrop-filter: blur(12px); }
.note h3 { margin-bottom: 0.4rem; }
.note p { margin: 0; color: var(--muted); }
.zones { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1.4rem; }
.zone { background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius); box-shadow: var(--glass-shadow); padding: 1.8rem 1.6rem; backdrop-filter: blur(12px); transition: border-color 0.5s, transform 0.6s var(--ease); }
.zone:hover { border-color: var(--plat-line); transform: translateY(-3px); }
.zone__icon { width: 4.4rem; aspect-ratio: 1; border-radius: 14px; display: grid; place-items: center; color: var(--silver-hi); margin-bottom: 1.3rem; background: radial-gradient(120% 120% at 30% 20%, #2a2b31 0%, #121317 55%, #0a0a0d 100%); border: 1px solid rgba(255,255,255,0.08); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08); }
.zone__icon svg { width: 2rem; height: 2rem; }
.zone__num { display: block; font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.25em; color: var(--accent-hi); margin-bottom: 0.6rem; }
[dir="rtl"] .zone__num { letter-spacing: 0; font-size: 0.85rem; }
.zone__body p { margin: 0; color: #b9bcc3; }
.duo { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 2rem; align-items: center; margin-bottom: 2.5rem; }
.duo__media { position: relative; margin: 0; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 14px; }
.duo__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: saturate(0.85); }
.duo__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, #050506 0%, rgba(5,5,6,0.5) 30%, rgba(5,5,6,0) 65%), linear-gradient(to top, #050506, rgba(5,5,6,0) 40%); }
.quote { margin: 0; text-align: center; padding: 1rem; }
.quote p { font-family: var(--font-head); font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.35; font-style: italic; margin: 0; }
[dir="rtl"] .quote p { font-style: normal; font-weight: 700; line-height: 1.6; }
@media (max-width: 800px) { .duo { grid-template-columns: 1fr 1fr; } .quote { grid-column: 1 / -1; order: -1; } }

/* ============ BUTTONS ============ */
.btn { display: inline-block; padding: 0.95rem 2.2rem; border: 1px solid var(--accent); color: var(--accent-hi); border-radius: 999px; font-family: var(--font-display); font-size: 0.74rem; letter-spacing: 0.26em; text-transform: uppercase; cursor: pointer; background: transparent; position: relative; overflow: hidden; transition: color 0.5s, border-color 0.5s; z-index: 0; }
[dir="rtl"] .btn { letter-spacing: 0.02em; text-transform: none; font-size: 1rem; font-weight: 500; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--accent-grad); transform: translateX(-101%); transition: transform 0.6s var(--ease); z-index: -1; }
.btn:hover { color: #050506; border-color: transparent; }
.btn:hover::before { transform: translateX(0); }
.btn--solid { color: #050506; border-color: transparent; }
.btn--solid::before { transform: none; }
.btn--solid:hover { box-shadow: 0 0 40px rgba(192,138,92,0.3); }
.btn--ghost { border-color: var(--line-strong); color: var(--silver); }
.cta { text-align: center; padding-top: 1rem; }
.cta .muted { max-width: 34rem; margin: 0 auto 1.4rem; }
.cta--start { text-align: start; }

/* ============ FORM / CONTACT ============ */
.form { margin: 1.5rem 0 2rem; background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius); box-shadow: var(--glass-shadow); padding: 1.6rem 1.6rem 1.4rem; backdrop-filter: blur(12px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.form label { display: block; margin-bottom: 1.4rem; }
.form label span { display: block; font-family: var(--font-display); font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-hi); margin-bottom: 0.4rem; }
[dir="rtl"] .form label span { letter-spacing: 0; text-transform: none; font-size: 0.85rem; }
.form input, .form textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); color: var(--silver-hi); padding: 0.6rem 0; font: inherit; font-size: 1rem; outline: none; transition: border-color 0.4s; resize: vertical; }
.form input:focus, .form textarea:focus { border-bottom-color: var(--accent-hi); }
.form input::placeholder, .form textarea::placeholder { color: rgba(255,255,255,0.22); }
.form__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; margin-top: 0.4rem; }
.form .small { margin: 1rem 0 0; }
.contact__links { display: flex; gap: 3rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 2rem; }
.contact__links .kicker { margin-bottom: 0.6rem; }
.link { display: block; color: var(--accent-hi); padding: 0.15rem 0; transition: color 0.3s; }
.link:hover { color: var(--silver-hi); }

/* ============ FOOTER ============ */
.footer { border-top: 1px solid var(--line); padding: 3rem 0; background: rgba(5,5,6,0.6); backdrop-filter: blur(6px); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer__brand { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 0.22em; text-transform: uppercase; margin: 0 0 0.2rem; }
[dir="rtl"] .footer__brand { letter-spacing: 0; text-transform: none; font-weight: 800; font-size: 1.2rem; font-family: var(--font-head); }
.footer__tag, .footer__copy { font-size: 0.78rem; letter-spacing: 0.12em; color: var(--muted); margin: 0; }
[dir="rtl"] .footer__tag, [dir="rtl"] .footer__copy { letter-spacing: 0; font-size: 0.9rem; }
.footer__links { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer__links a { font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-hi); transition: color 0.3s; }
.footer__links a:hover { color: var(--silver-hi); }
[dir="rtl"] .footer__links a { letter-spacing: 0; text-transform: none; font-size: 0.9rem; }
.footer__top { font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent-hi); transition: color 0.3s; }
[dir="rtl"] .footer__top { letter-spacing: 0; text-transform: none; font-size: 0.9rem; }
.footer__top:hover { color: var(--silver-hi); }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; } .reveal { opacity: 1; transform: none; } }
::selection { background: var(--accent-hi); color: #050506; }

/* ---------- Musik: Poster je Sprache / بوستر الموسيقى حسب اللغة ---------- */
.music__layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.music__text .note { margin-top: 1.6rem; }
.music__poster { margin: 0; aspect-ratio: 896 / 1200; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--glass-line); box-shadow: -28px 34px 70px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.03) inset; background: #0b0b0e; }
.music__poster img { width: 100%; height: 100%; object-fit: cover; }
[dir="rtl"] .music__layout { direction: ltr; }
[dir="rtl"] .music__text { direction: rtl; text-align: right; }
@media (max-width: 900px) { .music__layout { grid-template-columns: 1fr; } .music__poster { order: -1; max-width: 34rem; width: 100%; margin: 0 auto; } }

/* ---------- Sprachabhängige Bilder / صور حسب اللغة ---------- */
img[data-lang] { display: none; }
html[lang="de"] img[data-lang="de"], html[lang="en"] img[data-lang="en"], html[lang="ar"] img[data-lang="ar"] { display: block; }
.summary__media--poster { aspect-ratio: 1000 / 1163; }
.summary__media--poster img { object-position: 50% 50%; transform: none; }
.summary:hover .summary__media--poster img { transform: none; }
.summary__media--poster::after { background: linear-gradient(to right, rgba(5,5,6,0.55) 0%, rgba(5,5,6,0) 35%), linear-gradient(to top, rgba(5,5,6,0.55), rgba(5,5,6,0) 30%); }

/* ---------- Über mich: Poster / بوستر نبذة عني ---------- */
.story__figure--poster { aspect-ratio: 4 / 5; max-width: 30rem; margin-inline: auto; border: 1px solid var(--glass-line); box-shadow: -28px 34px 70px rgba(0,0,0,0.6); background: #0b0b0e; }
.story__figure--poster img { object-position: 50% 0; filter: none; }
.story__figure--poster::after { display: none; }

/* ---------- Band mit Foto / شريط بصورة ---------- */
.band--photo::before { display: none; }
.band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: saturate(0.8) brightness(0.85); }
.band--photo::after { background: var(--shade-left), var(--shade-bottom), var(--shade-top), linear-gradient(to right, rgba(5,5,6,0.35), rgba(5,5,6,0.1)); }

/* ---------- Aufklappen / اقرأ المزيد ---------- */
.expand { animation: expandIn 0.6s var(--ease); }
.expand[hidden] { display: none; }
.expand .pull { margin-top: 1.6rem; }
@keyframes expandIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.expand__btn .when-open { display: none; }
.expand__btn[aria-expanded="true"] .when-open { display: inline; }
.expand__btn[aria-expanded="true"] .when-closed { display: none; }

.form__note .link { color: var(--accent-hi); text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- Rechtsseite / الصفحة القانونية ---------- */
.legal { position: relative; z-index: 1; padding: clamp(8rem, 14vh, 11rem) 0 clamp(3rem, 6vw, 5rem); }
.legal h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); margin-bottom: 0.3em; }
.legal__stand { margin: 0 0 1rem; }
.legal__notice { color: var(--accent-hi); font-size: 0.95rem; margin: 0 0 1.5rem; }
.legal__notice:empty { display: none; }
.legal__nav { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; padding: 1.2rem 0; margin-bottom: 1rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.legal__nav a { color: var(--accent-hi); font-size: 0.95rem; text-decoration: underline; text-underline-offset: 0.25em; }
.legal__nav a:hover, .legal__nav a:focus-visible { color: var(--silver-hi); }
.legal__section { padding-top: clamp(2.5rem, 5vw, 3.5rem); scroll-margin-top: 6rem; }
.legal__section + .legal__section { margin-top: clamp(1.5rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.legal__section h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 0.8em; }
.legal__section h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); margin: 1.8em 0 0.5em; color: var(--silver-hi); }
.legal__section p, .legal__section li, .legal__section address { font-size: 1rem; line-height: 1.75; color: #c9ccd3; }
.legal__section p { margin: 0 0 1em; }
.legal__section address { font-style: normal; white-space: pre-line; margin: 0 0 1.2em; padding: 0.9rem 1.2rem; border-left: 1px solid var(--accent); background: var(--glass); border-radius: 0 12px 12px 0; }
[dir="rtl"] .legal__section address { border-left: 0; border-right: 1px solid var(--accent); border-radius: 12px 0 0 12px; }
.legal__section p.ml { white-space: pre-line; }
.legal__section address, .legal__section p.ml { unicode-bidi: plaintext; }
[dir="rtl"] .legal__section address, [dir="rtl"] .legal__section p.ml { text-align: right; }
.legal__section ul { margin: 0 0 1.2em; padding-inline-start: 1.4rem; }
.legal__section li { margin-bottom: 0.3em; }
.legal__back { margin-top: 3rem; }
.legal-page .header .brand { pointer-events: auto; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; }

/* ---------- Musik-Box Button / زر مربع الموسيقى ---------- */
.note__actions { margin: 1.1rem 0 0 !important; }
.ml { white-space: pre-line; }

/* ---------- Revolution: feste Reihenfolge + Artikel / الثورة: ترتيب ثابت + المقالات ---------- */
[dir="rtl"] .duo { direction: ltr; }
[dir="rtl"] .duo .quote { direction: rtl; }
.articles { max-width: 46rem; margin: 2rem auto 0; }
.articles .kicker { margin-bottom: 1.6rem; }
.articles__list { list-style: none; margin: 0; padding: 0; }
.articles__list li { display: flex; gap: 1.2rem; align-items: flex-start; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.articles__list li:last-child { border-bottom: 1px solid var(--line); }
.articles__list h3 { font-size: clamp(1.1rem, 1.6vw, 1.35rem); margin: 0 0 0.35rem; }
.articles__list p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.65; }
.articles__list .zone__num { flex: 0 0 auto; margin-top: 0.25rem; }

/* ---------- Logo-Bilder: quadratisch, ungeschnitten, volle Farben / صور الشعار ---------- */
.media--logo { aspect-ratio: 1 / 1 !important; background: #070606; }
.media--logo img { object-fit: contain !important; object-position: 50% 50% !important; filter: none !important; transform: none !important; }
.media--logo::after { background: linear-gradient(to right, rgba(5,5,6,0.35) 0%, rgba(5,5,6,0) 30%) !important; }
@media (max-width: 900px) { .summary__media--poster, .summary__media.media--logo, .work__media.media--logo { max-width: 26rem; width: 100%; margin-inline: auto; } }

/* ---------- Arabische Marke: Punkte unter der Grundlinie nicht abschneiden / نقاط الياء ---------- */
[dir="rtl"] .brand__name, [dir="rtl"] .footer__brand { line-height: 1.5; padding-bottom: 0.12em; margin-bottom: -0.12em; }

/* ---------- Willkommen-Banner / بانر الترحيب ---------- */
.welcome { position: relative; overflow: hidden; height: clamp(30rem, 78svh, 44rem); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.welcome__media { position: absolute; inset: 0; margin: 0; }
.welcome__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; filter: saturate(0.9); }
.welcome__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, #050506 0%, rgba(5,5,6,0.8) 22%, rgba(5,5,6,0.15) 55%, rgba(5,5,6,0) 75%), linear-gradient(to right, rgba(5,5,6,0.65) 0%, rgba(5,5,6,0.2) 40%, rgba(5,5,6,0) 60%); }
.welcome__text { position: absolute; inset-inline: 0; bottom: clamp(2rem, 6vw, 4rem); width: min(100% - 2 * var(--pad), 76rem); margin-inline: auto; z-index: 1; }
html[dir="ltr"] .welcome__text { text-align: left; padding-right: 42%; }
html[dir="rtl"] .welcome__text { text-align: right; padding-right: 42%; }
.welcome__hi { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent-hi); margin: 0 0 0.9rem; font-weight: 500; }
[dir="rtl"] .welcome__hi { font-family: var(--font-body); letter-spacing: 0; text-transform: none; font-size: 1.05rem; }
.welcome__q { font-family: var(--font-head); font-size: clamp(1.7rem, 3.4vw, 3rem); line-height: 1.15; margin: 0 0 0.35em; font-variation-settings: "opsz" 72; }
[dir="rtl"] .welcome__q { font-weight: 800; line-height: 1.4; }
.welcome__q2 { font-family: var(--font-head); font-size: clamp(1.25rem, 2.2vw, 1.9rem); line-height: 1.3; color: #e3e5e9; margin: 0; font-style: italic; font-variation-settings: "opsz" 48; }
[dir="rtl"] .welcome__q2 { font-style: normal; font-weight: 600; }
@media (max-width: 800px) {
  .welcome { height: auto; min-height: 0; padding-bottom: 2.4rem; }
  .welcome__media { position: relative; aspect-ratio: 16 / 10; }
  .welcome__media::after { background: linear-gradient(to top, #050506 0%, rgba(5,5,6,0.6) 15%, rgba(5,5,6,0) 40%); }
  .welcome__text { position: static; width: auto; margin: 1.4rem var(--pad) 0; }
  html[dir="ltr"] .welcome__text, html[dir="rtl"] .welcome__text { padding-left: 0; padding-right: 0; text-align: center; }
}

/* ---------- FAQ ---------- */
.band--faq::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><text x='18' y='78' font-family='Georgia,serif' font-size='64' fill='%23ffffff' fill-opacity='0.06'>?</text></svg>"); background-repeat: repeat; }
.mini__media--icon { display: flex; align-items: center; justify-content: center; background: var(--glass); border: 1px solid var(--glass-line); }
.mini__media--icon span { font-family: var(--font-head); font-size: 3.2rem; line-height: 1; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mini__media--icon::after { display: none; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; align-items: flex-start; gap: 1rem; width: 100%; padding: 1.2rem 0; background: none; border: 0; color: var(--silver-hi); font: inherit; text-align: start; cursor: pointer; }
.faq__q .zone__num { margin-top: 0.35rem; }
.faq__qt { flex: 1; font-family: var(--font-head); font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.35; font-variation-settings: "opsz" 20; font-weight: 500; }
[dir="rtl"] .faq__qt { font-weight: 700; line-height: 1.6; }
.faq__ic { position: relative; flex: 0 0 auto; width: 1.6rem; height: 1.6rem; margin-top: 0.15rem; border: 1px solid var(--accent); border-radius: 50%; transition: transform 0.4s var(--ease), background 0.3s; }
.faq__ic::before, .faq__ic::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--accent-hi); transform: translate(-50%, -50%); }
.faq__ic::before { width: 0.7rem; height: 1px; }
.faq__ic::after { width: 1px; height: 0.7rem; }
.faq__q[aria-expanded="true"] .faq__ic { transform: rotate(45deg); background: rgba(154,107,69,0.15); }
.faq__q:hover .faq__qt, .faq__q:focus-visible .faq__qt { color: var(--accent-hi); }
.faq__a { padding: 0 0 1.4rem calc(1.6rem + 1rem); animation: expandIn 0.5s var(--ease); }
[dir="rtl"] .faq__a { padding: 0 calc(1.6rem + 1rem) 1.4rem 0; }
.faq__a p { margin: 0; color: #c9ccd3; line-height: 1.75; }
.faq__a[hidden] { display: none; }
@media (max-width: 600px) { .faq__a, [dir="rtl"] .faq__a { padding-inline: 0; } }

/* ---------- Chat-Assistent / مساعد الشات ---------- */
.chat { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 200; font-family: var(--font-body); }
.chat__fab { display: flex; align-items: center; gap: 0.55rem; height: 3.4rem; padding: 0 1.2rem 0 1rem; border: 1px solid rgba(255,255,255,0.14); border-radius: 999px; background: linear-gradient(135deg, #c08a5c, #9a6b45); color: #0a0806; cursor: pointer; box-shadow: 0 14px 40px rgba(0,0,0,0.55), 0 0 0 1px rgba(192,138,92,0.25); font: inherit; font-weight: 600; letter-spacing: 0.04em; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.chat__fab svg { width: 1.35rem; height: 1.35rem; }
.chat__fab:hover { transform: translateY(-2px); box-shadow: 0 18px 46px rgba(0,0,0,0.6), 0 0 30px rgba(192,138,92,0.35); }
.chat.is-open .chat__fab { display: none; }
.chat__hint { position: absolute; right: 0; bottom: calc(100% + 0.7rem); white-space: nowrap; background: var(--panel); border: 1px solid var(--glass-line); color: var(--silver-hi); font-size: 0.85rem; padding: 0.55rem 0.9rem; border-radius: 12px; box-shadow: var(--glass-shadow); opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity 0.5s, transform 0.5s var(--ease); }
.chat__hint.is-visible { opacity: 1; transform: none; }
.chat__panel { width: min(24rem, calc(100vw - 2rem)); height: min(36rem, calc(100svh - 2rem)); display: flex; flex-direction: column; background: rgba(12,12,15,0.94); border: 1px solid var(--glass-line); border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,0.7); backdrop-filter: blur(16px); overflow: hidden; animation: expandIn 0.35s var(--ease); }
.chat__panel[hidden] { display: none; }
.chat__head { display: flex; align-items: center; gap: 0.7rem; padding: 0.9rem 1rem; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.03); }
.chat__dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #7ed09a; box-shadow: 0 0 10px rgba(126,208,154,0.7); flex: 0 0 auto; }
.chat__headtext { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.chat__title { color: var(--silver-hi); font-size: 0.98rem; font-weight: 600; }
.chat__sub { color: var(--muted); font-size: 0.76rem; }
.chat__close { border: 0; background: none; color: var(--muted); font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 0.2rem 0.4rem; }
.chat__close:hover { color: var(--accent-hi); }
.chat__log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.7rem; scroll-behavior: smooth; }
.chat__msg { max-width: 88%; padding: 0.7rem 0.95rem; border-radius: 16px; font-size: 0.95rem; line-height: 1.6; }
.chat__msg p { margin: 0; white-space: pre-line; }
.chat__msg--bot { align-self: flex-start; background: rgba(255,255,255,0.06); border: 1px solid var(--line); color: #e3e5e9; border-bottom-left-radius: 4px; }
.chat__msg--user { align-self: flex-end; background: linear-gradient(135deg, rgba(192,138,92,0.35), rgba(154,107,69,0.3)); border: 1px solid rgba(192,138,92,0.35); color: #f2eee9; border-bottom-right-radius: 4px; }
.chat__msg[dir="rtl"] { text-align: right; }
.chat__msg[dir="ltr"] { text-align: left; }
.chat__btns { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.6rem; }
.chat__btn { display: inline-block; padding: 0.35rem 0.8rem; border: 1px solid var(--accent); border-radius: 999px; color: var(--accent-hi); font-size: 0.82rem; transition: background 0.3s, color 0.3s; }
.chat__btn:hover { background: var(--accent); color: #050506; }
.chat__typing { display: flex; gap: 0.3rem; padding: 0.8rem 1rem; }
.chat__typing i { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--accent-hi); opacity: 0.4; animation: chatDot 1.2s infinite; }
.chat__typing i:nth-child(2) { animation-delay: 0.2s; } .chat__typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatDot { 0%, 100% { opacity: 0.3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.chat__form { display: flex; gap: 0.5rem; padding: 0.7rem; border-top: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.chat__input { flex: 1; min-width: 0; background: rgba(255,255,255,0.05); border: 1px solid var(--line-strong); border-radius: 999px; color: var(--silver-hi); padding: 0.7rem 1rem; font: inherit; font-size: 0.95rem; outline: none; }
.chat__input:focus { border-color: var(--accent); }
.chat__send { flex: 0 0 auto; width: 2.8rem; height: 2.8rem; border: 0; border-radius: 50%; background: linear-gradient(135deg, #c08a5c, #9a6b45); color: #0a0806; cursor: pointer; display: grid; place-items: center; }
.chat__send svg { width: 1.2rem; height: 1.2rem; }
[dir="rtl"] .chat__send svg { transform: scaleX(-1); }
.chat__send:disabled { opacity: 0.5; cursor: default; }
.chat__foot { margin: 0; padding: 0.35rem 1rem 0.7rem; font-size: 0.7rem; color: var(--muted); text-align: center; }
[dir="rtl"] .chat { right: auto; left: max(1rem, env(safe-area-inset-left)); }
[dir="rtl"] .chat__hint { right: auto; left: 0; }
[dir="rtl"] .chat__fab { padding: 0 1rem 0 1.2rem; }
@media (max-width: 600px) {
  .chat__panel { position: fixed; inset: auto 0 0 0; width: 100%; height: min(85svh, 40rem); border-radius: var(--radius) var(--radius) 0 0; }
  .chat__fab-label { display: none; }
  .chat__fab { width: 3.4rem; padding: 0; justify-content: center; }
}

/* ---------- Intro / ستارة الافتتاح ---------- */
.intro { position: fixed; inset: 0; z-index: 1000; pointer-events: none; overflow: hidden; }
.intro__half { position: absolute; left: 0; right: 0; height: 50%; background: #050506; will-change: transform; contain: strict; }
.intro__half--top { top: 0; border-bottom: 1px solid rgba(207,199,187,0.08); }
.intro__half--bottom { bottom: 0; border-top: 1px solid rgba(207,199,187,0.08); }
.intro__center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(92vw, 64rem); display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.intro__line { display: block; width: min(100%, 44rem); height: 3px; border-radius: 3px; background: linear-gradient(to right, transparent, #c08a5c 18%, #f1e3d2 50%, #c08a5c 82%, transparent); transform: scaleX(0); transform-origin: center; box-shadow: 0 0 14px rgba(240,200,160,0.7), 0 0 40px rgba(192,138,92,0.5), 0 0 90px rgba(192,138,92,0.3); }
.intro__glow { position: absolute; left: 50%; top: 50%; width: 30rem; height: 30rem; max-width: 120vw; will-change: transform, opacity; border-radius: 50%; background: radial-gradient(closest-side, rgba(192,138,92,0.22), rgba(154,107,69,0.08) 45%, transparent 70%); transform: translate(-50%, -50%) scale(0.6); opacity: 0; pointer-events: none; }
.intro__brand { position: relative; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; font-family: "Bodoni Moda", "Didot", Georgia, serif; font-size: clamp(1.25rem, 3.6vw, 3rem); letter-spacing: 0.2em; text-transform: uppercase; line-height: 1.15; font-variation-settings: "opsz" 11; font-weight: 800; }
.intro__w { display: inline-block; white-space: nowrap; }
.intro__sp { width: 0.5em; }
.intro__brand--ar { font-family: "Cairo", sans-serif; letter-spacing: 0; text-transform: none; font-weight: 800; font-size: clamp(1.9rem, 5vw, 3.6rem); line-height: 1.5; }
.intro__ch { display: inline-block; clip-path: inset(-0.3em -0.4em 0 -0.4em); }
.intro__ch-in { display: inline-block; transform: translateY(110%); opacity: 0; color: #f1f2f5; will-change: transform, opacity; }
/* Hero wartet unter dem Vorhang / الواجهة تنتظر تحت الستارة */
body.intro-pending .hero__slide.is-active .hero__quote, body.intro-pending .hero__bottom, body.intro-pending .hero__scroll, body.intro-pending .header { opacity: 0; transform: translateY(18px); }
.hero__bottom, .hero__scroll { transition: opacity 1.1s var(--ease) 0.25s, transform 1.1s var(--ease) 0.25s; }
.header { transition: padding 0.5s var(--ease), background 0.5s var(--ease), opacity 1.1s var(--ease) 0.25s, transform 1.1s var(--ease) 0.25s; }
body.intro-pending .hero__slide img { transform: scale(1.08); }
/* Intro-Zeitplan / جدول الإنترو */
.intro.is-playing .intro__line { animation: introLine 650ms cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.intro.is-playing .intro__glow { animation: introGlow 650ms cubic-bezier(0.16, 1, 0.3, 1) 300ms forwards; }
.intro.is-playing .intro__ch-in { animation: introLetter 750ms cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.intro.is-playing .intro__center { animation: introFade 420ms ease-out 2900ms forwards; }
.intro.is-playing .intro__half--top { animation: introTop 1100ms cubic-bezier(0.87, 0, 0.13, 1) 3300ms forwards; }
.intro.is-playing .intro__half--bottom { animation: introBottom 1100ms cubic-bezier(0.87, 0, 0.13, 1) 3300ms forwards; }
@keyframes introLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes introGlow { from { opacity: 0; transform: translate(-50%, -50%) scale(0.6); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes introLetter { from { transform: translateY(110%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes introFade { to { opacity: 0; } }
@keyframes introTop { to { transform: translateY(-100%); } }
@keyframes introBottom { to { transform: translateY(100%); } }

/* ---------- Bildunterschrift auf dem Kontaktbild / نص فوق صورة التواصل ---------- */
.media__caption { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(1.5rem, 5vw, 3rem); z-index: 2; text-align: left; }
[dir="rtl"] .media__caption { text-align: right; }
.media__caption .welcome__q { font-size: clamp(1.4rem, 2.4vw, 2.2rem); }
.media__caption .welcome__q2 { font-size: clamp(1.1rem, 1.6vw, 1.5rem); }
.split--contact .split__media::after { background: linear-gradient(to right, #050506 0%, rgba(5,5,6,0.7) 20%, rgba(5,5,6,0) 55%), linear-gradient(to top, #050506 0%, rgba(5,5,6,0.85) 28%, rgba(5,5,6,0) 60%), var(--shade-top); }
.welcome__text .welcome__q { font-size: clamp(1.6rem, 3.2vw, 2.9rem); line-height: 1.2; }
[dir="rtl"] .welcome__text .welcome__q { line-height: 1.45; }

/* ---------- Community: Login-Gate / بوابة الدخول ---------- */
.band--community::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><g fill='none' stroke='%23ffffff' stroke-opacity='0.08'><circle cx='80' cy='80' r='60'/><circle cx='80' cy='80' r='30'/><path d='M20 80h120M80 20v120'/></g></svg>"); background-repeat: repeat; }
.gate__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
[dir="rtl"] .gate__grid { direction: ltr; }
[dir="rtl"] .gate__hook, [dir="rtl"] .auth { direction: rtl; text-align: right; }
.gate__list { list-style: none; margin: 1.6rem 0 0; padding: 0; }
.gate__list li { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-top: 1px solid var(--line); }
.gate__list li:last-child { border-bottom: 1px solid var(--line); }
.gate__list p { margin: 0; color: #d6d8dd; line-height: 1.7; }
.gate__list .zone__num { flex: 0 0 auto; margin-top: 0.25rem; }
.gate__cta { margin-top: 1.6rem; color: var(--accent-hi); font-weight: 500; }
.auth { background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius); box-shadow: var(--glass-shadow); backdrop-filter: blur(14px); padding: clamp(1.4rem, 3vw, 2.2rem); position: sticky; top: 6rem; }
.auth h3 { margin-bottom: 0.3rem; }
.auth__sub { margin: 0 0 1.3rem; font-size: 0.95rem; }
.auth__google { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; background: #f4f4f6; color: #141416; border-color: transparent; text-transform: none; letter-spacing: 0.02em; font-family: var(--font-body); font-size: 0.95rem; font-weight: 500; }
.auth__google::before { display: none; }
.auth__google:hover { color: #050506; box-shadow: 0 0 30px rgba(255,255,255,0.15); }
.auth__google svg { width: 1.15rem; height: 1.15rem; }
.auth__or { display: flex; align-items: center; gap: 0.8rem; margin: 1.2rem 0; color: var(--muted); font-size: 0.8rem; }
.auth__or::before, .auth__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth__form label { display: block; margin-bottom: 0.9rem; }
.auth__form label span { display: block; font-family: var(--font-display); font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-hi); margin-bottom: 0.3rem; }
[dir="rtl"] .auth__form label span { font-family: var(--font-body); letter-spacing: 0; text-transform: none; font-size: 0.85rem; }
.auth__form input { width: 100%; background: rgba(255,255,255,0.05); border: 1px solid var(--line-strong); border-radius: 12px; color: var(--silver-hi); padding: 0.75rem 0.95rem; font: inherit; font-size: 1rem; outline: none; }
.auth__form input:focus { border-color: var(--accent); }
.auth__submit { width: 100%; margin-top: 0.3rem; }
.auth__toggle { display: block; margin: 0.8rem auto 0; background: none; border: 0; color: var(--muted); font: inherit; font-size: 0.88rem; cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; }
.auth__toggle:hover { color: var(--accent-hi); }
.auth__magic { width: 100%; margin-top: 1rem; }
.auth__msg { min-height: 1.4em; margin: 0.9rem 0 0; font-size: 0.9rem; color: var(--muted); }
.auth__msg--err { color: #e08c7a; }
.auth__msg--ok { color: #9fd8ae; }
.auth__consent { margin: 1rem 0 0; }
.auth__consent .link { color: var(--accent-hi); text-decoration: underline; text-underline-offset: 0.2em; }
.is-busy .auth__google, .is-busy .auth__submit, .is-busy .auth__magic { opacity: 0.6; pointer-events: none; }
.members__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.2rem 1.4rem; margin-bottom: 2rem; background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius); }
.members__bar .kicker { margin-bottom: 0.2rem; }
.members__hello { margin: 0; font-family: var(--font-head); font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
[dir="rtl"] .members__hello { font-weight: 800; }
.chat__greet { border-color: rgba(192,138,92,0.35); }
@media (max-width: 900px) { .gate__grid { grid-template-columns: 1fr; } .auth { position: static; } }
.legal__mc { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.legal__mc .link { color: var(--accent-hi); text-decoration: underline; text-underline-offset: 0.25em; }
.auth__gis { display: flex; justify-content: center; min-height: 44px; }
.auth__gis > div { max-width: 100%; }
.auth__google[hidden], .auth__gis[hidden] { display: none !important; }

/* ---------- Mosaic Magic: Pferde-Mosaik als Hintergrund / الحصان خلفية موزاييك ماجك ---------- */
.work__item--bg { position: relative; overflow: hidden; grid-template-columns: minmax(0, 1fr); min-height: clamp(22rem, 46vw, 34rem); align-items: end; isolation: isolate; }
.work__media--bg { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; z-index: -1; }
.work__media--bg img { object-position: 65% 40%; filter: saturate(0.95); transform: none; }
.work__item--bg:hover .work__media--bg img { transform: scale(1.03); }
.work__media--bg::after { background: linear-gradient(to right, rgba(5,5,6,0.92) 0%, rgba(5,5,6,0.72) 34%, rgba(5,5,6,0.15) 70%, rgba(5,5,6,0.05) 100%), linear-gradient(to top, rgba(5,5,6,0.85) 0%, rgba(5,5,6,0) 45%); }
.work__item--bg .work__body { max-width: 34rem; position: relative; }
@media (max-width: 900px) {
  .work__item--bg { min-height: 30rem; }
  .work__media--bg { order: 0; aspect-ratio: auto; }
  .work__media--bg img { object-position: 70% 30%; }
  .work__media--bg::after { background: linear-gradient(to top, rgba(5,5,6,0.95) 0%, rgba(5,5,6,0.8) 45%, rgba(5,5,6,0.2) 80%, rgba(5,5,6,0.1) 100%); }
}

/* ============================================================
   Lesbarkeit Latein (DE/EN) / وضوح الخط اللاتيني — العربية لا تتأثر
   Fließtext: Jost 400 statt 300 · kleine Labels & Buttons: Jost statt Bodoni
   Überschriften: Bodoni kräftiger, kleine optische Größe · hellere Grautöne
   ============================================================ */
html[dir="ltr"] { --muted: #a7abb3; --text: #e0e2e6; }
html[dir="ltr"] body { font-weight: 400; font-size: 1.075rem; line-height: 1.75; letter-spacing: 0.005em; }
html[dir="ltr"] .lead { font-weight: 400; color: #eceef1; }
html[dir="ltr"] .summary p, html[dir="ltr"] .mini__body p, html[dir="ltr"] .tile p, html[dir="ltr"] .zone__body p,
html[dir="ltr"] .work__body p, html[dir="ltr"] .story p, html[dir="ltr"] .articles__list p, html[dir="ltr"] .faq__a p,
html[dir="ltr"] .gate__list p, html[dir="ltr"] .note p, html[dir="ltr"] .legal__section p, html[dir="ltr"] .legal__section li { color: #d3d6db; font-weight: 400; }

/* Kleine Großbuchstaben-Labels und Buttons → Jost (klare Strichstärke) */
html[dir="ltr"] .kicker, html[dir="ltr"] .hero__fields, html[dir="ltr"] .hero__scroll, html[dir="ltr"] .link-more,
html[dir="ltr"] .zone__num, html[dir="ltr"] .btn, html[dir="ltr"] .form label span, html[dir="ltr"] .auth__form label span,
html[dir="ltr"] .footer__links a, html[dir="ltr"] .footer__top, html[dir="ltr"] .welcome__hi, html[dir="ltr"] .work__line,
html[dir="ltr"] .lang, html[dir="ltr"] .menu__foot, html[dir="ltr"] .menu__num {
  font-family: "Jost", "Segoe UI", system-ui, sans-serif; font-weight: 500; font-variation-settings: normal;
  letter-spacing: 0.14em; text-transform: uppercase;
}
html[dir="ltr"] .kicker { font-size: 0.8rem; }
html[dir="ltr"] .btn { font-size: 0.82rem; letter-spacing: 0.12em; }
html[dir="ltr"] .link-more { font-size: 0.8rem; }
html[dir="ltr"] .zone__num { font-size: 0.78rem; }
html[dir="ltr"] .hero__fields { font-size: 0.8rem; }
html[dir="ltr"] .form label span, html[dir="ltr"] .auth__form label span { font-size: 0.74rem; }
html[dir="ltr"] .footer__links a, html[dir="ltr"] .footer__top { font-size: 0.76rem; }
html[dir="ltr"] .work__line { text-transform: none; letter-spacing: 0.02em; font-size: 0.98rem; }
html[dir="ltr"] .auth__google { text-transform: none; letter-spacing: 0.02em; }

/* Bodoni: kräftiger und mit kleiner optischer Größe (dickere Haarstriche) */
html[dir="ltr"] h1 { font-weight: 500; font-variation-settings: "opsz" 40; letter-spacing: 0.005em; }
html[dir="ltr"] h2 { font-weight: 600; font-variation-settings: "opsz" 24; letter-spacing: 0.005em; }
html[dir="ltr"] h3, html[dir="ltr"] .summary__subtitle, html[dir="ltr"] .menu__label, html[dir="ltr"] .faq__qt,
html[dir="ltr"] .members__hello { font-weight: 600; font-variation-settings: "opsz" 11; letter-spacing: 0.01em; }
html[dir="ltr"] .brand, html[dir="ltr"] .footer__brand { font-weight: 600; font-variation-settings: "opsz" 11; }
html[dir="ltr"] .hero__roles { font-weight: 600; font-variation-settings: "opsz" 11; letter-spacing: 0.16em; }
html[dir="ltr"] .hero__quote p, html[dir="ltr"] .welcome__q, html[dir="ltr"] .quote p { font-weight: 500; font-variation-settings: "opsz" 24; }
html[dir="ltr"] .pull, html[dir="ltr"] .welcome__q2 { font-style: normal; font-weight: 500; font-variation-settings: "opsz" 24; }
@media (max-width: 700px) {
  html[dir="ltr"] h1 { font-weight: 600; font-variation-settings: "opsz" 20; }
  html[dir="ltr"] h2 { font-variation-settings: "opsz" 14; }
  html[dir="ltr"] h3, html[dir="ltr"] .summary__subtitle, html[dir="ltr"] .menu__label, html[dir="ltr"] .faq__qt { font-variation-settings: "opsz" 8; }
  html[dir="ltr"] body { font-size: 1.05rem; }
}
html[dir="ltr"] .lang { letter-spacing: 0.08em; text-transform: none; }
@media (max-width: 600px) { html[dir="ltr"] .lang { font-size: 0.66rem; gap: 0.28rem; letter-spacing: 0.04em; } html[dir="ltr"] .header__right { gap: 0.7rem; } }
@media (max-width: 360px) { html[dir="ltr"] .brand { font-size: 0.6rem; letter-spacing: 0.04em; } html[dir="ltr"] .brand__tag { font-size: 0.52rem; } html[dir="ltr"] .header__right { gap: 0.55rem; } }

/* ---------- Bodoni kräftig: dicke Haarstriche (DE/EN) / تسميك خط Bodoni ---------- */
/* opsz 6 = أصغر حجم بصري = أسمك خطوط رفيعة؛ وزن 700–800؛ + حد فضي رفيع يسمّك الشرطات الرفيعة */
html[dir="ltr"] h1, html[dir="ltr"] h2, html[dir="ltr"] h3,
html[dir="ltr"] .summary__subtitle, html[dir="ltr"] .menu__label, html[dir="ltr"] .faq__qt, html[dir="ltr"] .members__hello,
html[dir="ltr"] .hero__quote p, html[dir="ltr"] .welcome__q, html[dir="ltr"] .welcome__q2, html[dir="ltr"] .quote p, html[dir="ltr"] .pull,
html[dir="ltr"] .brand, html[dir="ltr"] .footer__brand, html[dir="ltr"] .hero__roles, html[dir="ltr"] .intro__brand {
  font-variation-settings: "opsz" 6 !important;
}
html[dir="ltr"] h1 { font-weight: 700; }
html[dir="ltr"] h2, html[dir="ltr"] h3, html[dir="ltr"] .summary__subtitle, html[dir="ltr"] .menu__label,
html[dir="ltr"] .faq__qt, html[dir="ltr"] .members__hello, html[dir="ltr"] .brand, html[dir="ltr"] .footer__brand, html[dir="ltr"] .hero__roles { font-weight: 800; }
html[dir="ltr"] .hero__quote p, html[dir="ltr"] .welcome__q, html[dir="ltr"] .welcome__q2, html[dir="ltr"] .quote p, html[dir="ltr"] .pull { font-weight: 700; }
html[dir="ltr"] h1, html[dir="ltr"] h2, html[dir="ltr"] h3, html[dir="ltr"] .summary__subtitle, html[dir="ltr"] .faq__qt,
html[dir="ltr"] .welcome__q, html[dir="ltr"] .members__hello { -webkit-text-stroke: 0.5px rgba(232, 234, 238, 0.55); }
html[dir="ltr"] .hero__quote p, html[dir="ltr"] .quote p, html[dir="ltr"] .pull, html[dir="ltr"] .welcome__q2 { -webkit-text-stroke: 0.4px currentColor; }
.intro__brand { font-weight: 800; font-variation-settings: "opsz" 6; }

/* ---------- Neue Fotos (Okt.) / الصور الجديدة ---------- */
/* بطاقة العلاقات: مكتب وكرة أرضية على اليسار، فالتظليل أخف ليظهر */
.summary__media--photo img { object-position: 22% 50%; filter: saturate(0.95); }
.summary__media--photo::after { background: linear-gradient(to right, rgba(5,5,6,0.45) 0%, rgba(5,5,6,0) 30%), linear-gradient(to top, rgba(5,5,6,0.55), rgba(5,5,6,0) 35%); }
/* صورة التواصل (المترو): القطار والوجه الرقمي في المنتصف */
.split__media .contact__img { object-position: 42% 50%; filter: saturate(0.95); }
/* خلفية موزاييك ماجك: رأس الحصان */
.work__media--bg img { object-position: 55% 45%; }
@media (max-width: 900px) { .work__media--bg img { object-position: 62% 40%; } }
/* موزاييك ماجك على الهاتف: الصورة فوق النص بدل خلفه حتى يظهر الحصان كاملًا */
@media (max-width: 900px) {
  .work__item--bg { min-height: 0; align-items: start; isolation: auto; }
  .work__item--bg .work__media--bg { position: relative; inset: auto; z-index: 0; order: -1; aspect-ratio: 1 / 1; border-radius: 14px; }
  .work__item--bg .work__media--bg img { object-position: 60% 55%; }
  .work__item--bg .work__media--bg::after { background: linear-gradient(to top, rgba(5,5,6,0.55) 0%, rgba(5,5,6,0) 35%); }
}
/* فصل الفسيفساء في نبذة عني: فسيفساء الحصان الأبيض، كاملة بلا تظليل */
.story__figure--mosaic { aspect-ratio: 1298 / 1600; max-width: 28rem; }
.story__figure--mosaic img { object-position: 50% 50%; }
/* موزاييك ماجك رجع للحصان البني (صورة أفقية): الرأس على اليمين */
.work__media--bg img { object-position: 70% 40%; }
@media (max-width: 900px) { .work__item--bg .work__media--bg { aspect-ratio: 16 / 10; } .work__item--bg .work__media--bg img { object-position: 72% 40%; } }

/* نبذة عني (النص الجديد): اسم المكان فوق المقدمة + أزرار الختام */
.split__body .story__place { margin: 0.4rem 0 0.8rem; color: var(--accent); }
.story__signin { margin-top: 2rem; color: var(--silver-hi); }
.story__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; padding-top: 0.6rem; }

/* ---------- 10.10: نبذة عني ---------- */
/* صورة نبذة عني الجديدة (رجل وامرأة، أفقية): الوجهان في المنتصف */
.split__media img { object-position: 50% 30%; }
/* سطور الذكاء الاصطناعي قبل "سوريا" */
.split__body .story__ai { color: var(--silver-hi); }
.split__body .story__place { margin-top: 2rem; }
/* فقرة الخليج بلا عنوان: تكمل سوريا مباشرة */
.story__chapter--cont { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
/* بطاقة الموسيقى في الهوم بنسبة الصور الجديدة */
.summary__media--poster { aspect-ratio: 896 / 1200; }
/* نبذة عني: الصورة الجديدة أفقية، فتُعرض شريطًا كاملًا فوق النص على كل المقاسات (العمود الطولي كان يقص الوجهين) */
#cv .split { grid-template-columns: 1fr; min-height: 0; }
#cv .split__media { order: -1; min-height: 0; aspect-ratio: 1; width: min(100% - 2 * var(--pad), 40rem); margin: clamp(6.5rem, 11vw, 8.5rem) auto 0; border-radius: var(--radius); border: 1px solid var(--glass-line); box-shadow: -28px 34px 70px rgba(0,0,0,0.6); }
#cv .split__media img { object-position: 50% 50%; filter: saturate(0.95); }
#cv .split__media::after { background: linear-gradient(to top, rgba(5,5,6,0.35) 0%, rgba(5,5,6,0) 30%); }
#cv .split__body { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
/* العناوين الفضية بالعربي: نقطتا الياء الأخيرة كانتا تُقصّان بسبب background-clip */
[dir="rtl"] h1.silver, [dir="rtl"] h2.silver, [dir="rtl"] h3.silver { padding-bottom: 0.22em; margin-bottom: 0; line-height: 1.45; }

/* الشات بعد إغلاق الجلسة (إساءة متكررة) */
.chat__closed { margin: 0.2rem 0 0; padding: 0.7rem 0.9rem; font-size: 0.86rem; line-height: 1.6; color: var(--accent-hi); text-align: center; border-top: 1px solid var(--glass-line); }
.chat__closed[hidden] { display: none; }

/* ---------- 12.10 ---------- */
/* "اقرأ المزيد" داخل قصة نبذة عني */
.story__more { margin: 1.2rem 0 0; }
.story__more .btn { margin-top: 0; }
.story .expand > p:first-child { margin-top: 1.6rem; }
.story__list { white-space: pre-line; }
.pull--cite cite { display: block; margin-top: 0.8rem; font-style: normal; font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-hi); }
[dir="rtl"] .pull--cite cite { letter-spacing: 0.04em; text-transform: none; font-size: 0.95rem; }
/* الأسئلة الشائعة: صورة فوبرتال خلف العنوان + زر وتحذير في الإجابة الأخيرة */
.band--faq .band__img { object-position: 50% 18%; filter: saturate(0.6) brightness(0.8); }
.faq__btn { margin: 1rem 0 1.2rem; }
.faq__warn { margin-top: 1.4rem; padding: 1rem 1.2rem; border: 1px solid rgba(217,166,121,0.35); border-radius: var(--radius); background: rgba(154,107,69,0.08); }
.faq__warn strong { display: block; margin-bottom: 0.5rem; color: var(--accent-hi); }
.faq__warn p { color: #c9ccd3; }
/* منطقة الأعضاء: عناوين البنود */
.gate__list li > div { min-width: 0; }
.gate__it { margin: 0 0 0.35rem; font-family: var(--font-head); font-size: 1.15rem; color: var(--silver-hi); }
.gate__p3 { margin-top: 1.6rem; color: #d6d8dd; }
.gate__t2 { margin: 1rem 0 0.6rem; font-family: var(--font-head); font-size: clamp(1.25rem, 2vw, 1.6rem); color: var(--accent-hi); font-weight: 400; }
[dir="rtl"] .gate__t2 { font-weight: 700; }
/* بوستر الشاهين الجديد 900x1600 */
.story__figure--falcon { aspect-ratio: 9 / 16; max-width: 24rem; }

/* ================= الحساب (تبويبات · رمز التحقق · استعادة) ================= */
.auth__tabs { display: flex; gap: 0.4rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.auth__tab { flex: 1; background: none; border: 0; border-bottom: 2px solid transparent; padding: 0.7rem 0.4rem; color: var(--muted); font: inherit; font-size: 0.95rem; cursor: pointer; transition: color 0.3s, border-color 0.3s; }
.auth__tab.is-active { color: var(--silver-hi); border-bottom-color: var(--accent); }
.auth__tab:focus-visible, .auth__link:focus-visible, .auth__eye:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px; border-radius: 6px; }
.auth__h { margin: 0.2rem 0 0.5rem; font-size: 1.25rem; }
.auth__hint { margin: 0 0 1rem; color: #c9ccd3; font-size: 0.95rem; line-height: 1.7; }
.auth__hint strong { color: var(--accent-hi); font-weight: 600; word-break: break-all; }
.auth__pw { position: relative; display: block; }
.auth__pw input { padding-inline-end: 3rem; }
.auth__eye { position: absolute; top: 50%; inset-inline-end: 0.6rem; transform: translateY(-50%); width: 2rem; height: 2rem; border: 0; background: none; cursor: pointer; color: var(--muted); }
.auth__eye::before { content: ""; display: block; width: 100%; height: 100%; background: currentColor; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M2 12s3.5-6 10-6 10 6 10 6-3.5 6-10 6S2 12 2 12z'/><circle cx='12' cy='12' r='3'/></svg>") center / 1.2rem no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M2 12s3.5-6 10-6 10 6 10 6-3.5 6-10 6S2 12 2 12z'/><circle cx='12' cy='12' r='3'/></svg>") center / 1.2rem no-repeat; }
.auth__eye.is-on { color: var(--accent-hi); }
.auth__code { text-align: center; letter-spacing: 0.3em; font-size: 1.5rem; font-variant-numeric: tabular-nums; direction: ltr; }
.auth__links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 1rem; margin-top: 0.9rem; }
.auth__link { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; font-size: 0.88rem; cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; }
.auth__link:hover { color: var(--accent-hi); }
.auth__link:disabled { opacity: 0.6; cursor: default; text-decoration: none; }
.auth__turnstile:empty { display: none; }
.auth__turnstile { margin-top: 0.8rem; }
.auth.is-busy .auth__submit, .auth.is-busy .auth__google { opacity: 0.6; pointer-events: none; }
.auth__form input:focus-visible, .ob__form input:focus-visible, .ob__form select:focus-visible, .ob__form textarea:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 1px; }
[data-panel][hidden], .auth__tabs[hidden], .auth__or[hidden] { display: none; }

/* ================= الرحلة التعريفية ================= */
.ob { max-width: 44rem; }
.ob__head { margin-bottom: 1.6rem; }
.ob__bar { height: 2px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }
.ob__bar i { display: block; height: 100%; width: 0; background: linear-gradient(to right, var(--accent), var(--accent-hi)); transition: width 0.6s var(--ease); }
[dir="rtl"] .ob__bar i { margin-inline-start: auto; }
.ob__count { margin: 0.6rem 0 0; font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-hi); }
[dir="rtl"] .ob__count { letter-spacing: 0; text-transform: none; font-size: 0.9rem; }
.ob__body { animation: expandIn 0.5s var(--ease); min-height: 14rem; }
.ob__title { font-size: clamp(1.7rem, 3.2vw, 2.6rem); margin-bottom: 1rem; }
.ob__text { color: #cfd2d7; font-size: 1.08rem; }
.ob__sub { margin: 1.4rem 0 0.4rem; font-family: var(--font-head); font-size: 2.2rem; color: var(--accent-hi); }
.ob__hook { margin: 0.4rem 0 1.4rem; padding-inline-start: 1rem; border-inline-start: 1px solid var(--accent); color: var(--silver-hi); font-style: italic; }
[dir="rtl"] .ob__hook { font-style: normal; }
.ob__form { margin-top: 0.6rem; }
.ob__field { margin-bottom: 1.1rem; }
.ob__field > label, .ob__legend { display: block; margin-bottom: 0.35rem; font-family: var(--font-display); font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-hi); }
[dir="rtl"] .ob__field > label, [dir="rtl"] .ob__legend { font-family: var(--font-body); letter-spacing: 0; text-transform: none; font-size: 0.9rem; }
.ob__opt { font-style: normal; color: var(--muted); font-size: 0.85em; letter-spacing: 0; text-transform: none; }
.ob__group { margin: 1.4rem 0 0.6rem; color: var(--silver-hi); font-weight: 600; }
.ob__form input, .ob__form select, .ob__form textarea { width: 100%; background: rgba(255,255,255,0.05); border: 1px solid var(--line-strong); border-radius: 12px; color: var(--silver-hi); padding: 0.8rem 0.95rem; font: inherit; font-size: 1rem; }
.ob__form select { appearance: auto; }
.ob__form select option { color: #111; background: #fff; }
.ob__form input:focus, .ob__form select:focus, .ob__form textarea:focus { border-color: var(--accent); }
.ob__hint { margin: 0.5rem 0 0; font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
.ob__pw { position: relative; }
.ob__pw input { padding-inline-end: 3rem; }
.ob__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 0.8rem; }
.ob__optcard, .ob__optradio { display: flex; gap: 0.8rem; align-items: flex-start; padding: 1.1rem 1.2rem; background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius); cursor: pointer; transition: border-color 0.3s, transform 0.3s; }
.ob__optradio { padding: 0.8rem 1rem; margin-bottom: 0.6rem; }
.ob__optcard:hover, .ob__optradio:hover { border-color: var(--plat-line); }
.ob__optcard:has(input:checked), .ob__optradio:has(input:checked) { border-color: var(--accent); background: rgba(154,107,69,0.12); }
.ob__optcard:has(input:focus-visible), .ob__optradio:has(input:focus-visible), .ob__chip:has(input:focus-visible) { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
.ob__optcard input, .ob__optradio input, .ob__chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ob__optlabel strong { display: block; color: var(--silver-hi); font-weight: 600; }
.ob__optlabel small { display: block; margin-top: 0.25rem; color: var(--muted); font-size: 0.88rem; line-height: 1.5; }
.ob__chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.ob__chip { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1rem; border: 1px solid var(--line-strong); border-radius: 999px; color: #d6d8dd; cursor: pointer; font-size: 0.95rem; transition: border-color 0.3s, background 0.3s; position: relative; }
.ob__chip:has(input:checked) { border-color: var(--accent); background: rgba(154,107,69,0.16); color: var(--silver-hi); }
.ob__chip .ob__level { width: auto; padding: 0.2rem 0.5rem; font-size: 0.8rem; border-radius: 8px; }
.ob__chip .ob__level[hidden] { display: none; }
.ob__cta { margin-top: 1rem; }
.ob__err { min-height: 1.4em; margin: 0.6rem 0 0; color: #e08c7a; font-size: 0.92rem; }
.ob__nav { display: flex; justify-content: space-between; gap: 0.8rem; margin-top: 1.4rem; }
.ob__back[hidden] { visibility: hidden; display: inline-block; }
.onboard.is-busy .ob__next { opacity: 0.6; pointer-events: none; }

/* ================= اللوحة ================= */
.dash { margin-bottom: 2.5rem; }
.dash__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); gap: 1rem; }
.dash__card { padding: 1.8rem 1.6rem; display: flex; flex-direction: column; gap: 0.6rem; }
.dash__card .kicker { margin-bottom: 0.2rem; }
.dash__card dl { margin: 0; font-size: 0.93rem; }
.dash__card dt { color: var(--muted); font-size: 0.8rem; margin-top: 0.55rem; }
.dash__card dd { margin: 0.1rem 0 0; color: #d6d8dd; overflow-wrap: anywhere; }
.dash__card .btn { align-self: flex-start; margin-top: auto; }
.dash__type { margin: 0; font-family: var(--font-head); font-size: 1.4rem; }
.dash__next { border-color: rgba(217,166,121,0.35); }
.dash__ctaText { margin: 0; color: #d6d8dd; line-height: 1.7; }
.dash__label { margin: 0; color: var(--muted); font-size: 0.9rem; }
.dash__logins { list-style: none; margin: 0; padding: 0; font-size: 0.9rem; color: #d6d8dd; }
.dash__logins li { padding: 0.35rem 0; border-bottom: 1px solid var(--line); }
.dash__soonlist { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.dash__soonlist li { padding: 0.35rem 0.8rem; border: 1px dashed var(--line-strong); border-radius: 999px; color: var(--muted); font-size: 0.88rem; }
.dash__pwform { margin-top: 0.4rem; }
.dash__pwform[hidden] { display: none; }
html[dir="ltr"] .ob__text, html[dir="ltr"] .dash__ctaText { font-weight: 400; color: #d3d6db; }
.onboard { scroll-margin-top: 5.5rem; }
@media (max-width: 700px) { .ob { padding-bottom: 4.5rem; } .dash__grid { padding-bottom: 1rem; } }

/* القائمة الجانبية: أزرار الحساب */
.menu__account { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; opacity: 0; transform: translateX(16px); transition: opacity 0.5s var(--ease) 0.55s, transform 0.6s var(--ease) 0.55s; }
.menu.is-open .menu__account { opacity: 1; transform: none; }
.menu__account .btn { padding: 0.7rem 1.4rem; }
.menu__acc-dash, .menu__acc-out { display: none; }
body.is-signed-in .menu__acc-in { display: none; }
body.is-signed-in .menu__acc-dash, body.is-signed-in .menu__acc-out { display: inline-block; }
/* نقطتا الياء في عناوين القائمة (background-clip) */
[dir="rtl"] .menu__label { padding-bottom: 0.2em; margin-bottom: -0.2em; }

/* الخصوصية: بطاقة السياسة المركزية */
.legal__card { margin: 1.2rem 0 0.5rem; padding: 1.6rem 1.7rem; background: var(--glass); border: 1px solid rgba(217,166,121,0.35); border-radius: var(--radius); box-shadow: var(--glass-shadow); }
.legal__card h4 { margin: 0 0 0.6rem; font-family: var(--font-head); font-size: 1.3rem; }
.legal__card p { margin: 0 0 1.2rem; }
.legal__section p.small { font-size: 0.85rem; }

/* العلاقات: كلمة الترحيب في آخر الصفحة */
.rel__welcome { max-width: 46rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--plat-line); }
.rel__welcome-p { color: #d3d6db; line-height: 1.95; }
[dir="rtl"] .rel__welcome-p { line-height: 2.05; }
.rel__welcome-q { color: var(--silver-hi); margin-top: 1.4rem; }

/* الموافقة قبل الدخول */
.auth__agree { display: flex; gap: 0.7rem; align-items: flex-start; margin: 0 0 1.1rem; padding: 0.8rem 0.9rem; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(255,255,255,0.03); cursor: pointer; font-size: 0.9rem; line-height: 1.6; color: #d6d8dd; transition: border-color 0.3s; }
.auth__agree input { flex: 0 0 auto; width: 1.15rem; height: 1.15rem; margin: 0.2rem 0 0; accent-color: var(--accent-hi); cursor: pointer; }
.auth__agree .link { color: var(--accent-hi); text-decoration: underline; text-underline-offset: 0.2em; }
.auth__agree:has(input:checked) { border-color: rgba(217,166,121,0.5); }
.auth__agree:has(input:focus-visible) { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
.auth__agree.is-shake { animation: agreeShake 0.5s var(--ease); border-color: #e08c7a; }
@keyframes agreeShake { 0%, 100% { transform: none; } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.auth.needs-consent .auth__gis { pointer-events: none; }
.auth.needs-consent .auth__social { opacity: 0.75; }

/* نموذج التواصل: قوائم الاختيار بنفس خط الحقول */
.form select { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); color: var(--silver-hi); padding: 0.6rem 0; font: inherit; font-size: 1rem; outline: none; appearance: auto; cursor: pointer; }
.form select:focus { border-bottom-color: var(--accent-hi); }
.form select option { color: #111; background: #fff; }
.form select:invalid, .form select option[value=""] { color: rgba(255,255,255,0.45); }
.form__row--title { grid-template-columns: minmax(8rem, 1fr) 2fr; }
@media (max-width: 600px) { .form__row--title { grid-template-columns: 1fr; } }

/* ================= بطاقة المقال في "مقالاتي" ================= */
.artcard { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; margin: 0 0 2.4rem; background: var(--glass); border: 1px solid rgba(217,166,121,0.35); border-radius: var(--radius); overflow: hidden; box-shadow: var(--glass-shadow); color: inherit; text-decoration: none; transition: transform 0.6s var(--ease), border-color 0.5s; }
.artcard:hover { transform: translateY(-4px); border-color: var(--accent-hi); }
.artcard__media { position: relative; margin: 0; min-height: 14rem; overflow: hidden; }
.artcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 42% 50%; filter: saturate(0.8); transition: transform 1.2s var(--ease); }
.artcard:hover .artcard__media img { transform: scale(1.04); }
.artcard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(5,5,6,0.55), rgba(5,5,6,0) 45%); }
[dir="ltr"] .artcard__media::after { background: linear-gradient(to right, rgba(5,5,6,0.55), rgba(5,5,6,0) 45%); }
.artcard__body { padding: 1.6rem 1.7rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.artcard__body h3 { margin: 0; font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.35; }
.artcard__d { margin: 0; color: #c9ccd3; line-height: 1.75; }
.artcard__meta { margin: 0.4rem 0 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; align-items: center; color: var(--muted); font-size: 0.9rem; }
.artcard__read { color: var(--accent-hi); font-weight: 600; }
.artcard__lang { margin: 0; }
.artcard__lang:empty { display: none; }
@media (max-width: 700px) { .artcard { grid-template-columns: 1fr; } .artcard__media { min-height: 0; aspect-ratio: 16 / 9; } }

/* ================= صفحة المقال ================= */
.art-page { background: var(--bg); }
.art__progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; background: transparent; }
.art__progress i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(to right, var(--accent), var(--accent-hi)); transition: transform 0.1s linear; }
[dir="rtl"] .art__progress i { transform-origin: right; }
.header--art .art__nav { display: flex; gap: 1.4rem; font-size: 0.92rem; }
.header--art .art__nav a { color: var(--silver); opacity: 0.85; transition: color 0.3s; }
.header--art .art__nav a:hover { color: var(--accent-hi); }
@media (max-width: 600px) { .header--art .art__nav { gap: 0.9rem; font-size: 0.85rem; } .header--art .art__nav a:nth-child(3) { display: none; } }
.art { position: relative; z-index: 1; }
.art__hero { padding: clamp(7rem, 14vh, 10rem) 0 0; }
.art__hero-body { width: min(100% - 2 * var(--pad), 48rem); margin-inline: auto; }
.art__crumbs ol { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.85rem; color: var(--muted); }
.art__crumbs li + li::before { content: "/"; margin-inline-end: 0.5rem; opacity: 0.5; }
.art__crumbs a { color: var(--muted); } .art__crumbs a:hover { color: var(--accent-hi); }
.art__eyebrow { margin: 0 0 1rem; font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent-hi); direction: ltr; text-align: start; }
[dir="rtl"] .art__eyebrow { text-align: right; }
.art__title { font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.35; margin: 0 0 1.2rem; font-weight: 800; padding-bottom: 0.2em; }
.art__sub { margin: 0 0 1.6rem; font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.8; color: #cfd2d7; }
.art__meta { display: flex; flex-wrap: wrap; gap: 0.5rem 0.7rem; align-items: center; color: var(--muted); font-size: 0.92rem; }
.art__meta a { color: var(--silver-hi); font-weight: 600; }
.art__cat { color: var(--accent-hi); }
.art__rule { margin: 1.8rem 0 0; border: 0; height: 1px; background: linear-gradient(to left, var(--accent), transparent); }
[dir="ltr"] .art__rule { background: linear-gradient(to right, var(--accent), transparent); }
.art__figure { position: relative; margin: clamp(2rem, 4vw, 3.5rem) auto 0; width: min(100% - 2 * var(--pad), 76rem); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--glass-line); box-shadow: 0 30px 80px rgba(0,0,0,0.6); aspect-ratio: 1672 / 941; max-height: 70svh; background: #0b0b0e; }
.art__figure img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 50%; filter: saturate(0.85); display: block; }
.art__net { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; opacity: 0.9; }
.art__figure figcaption { position: absolute; bottom: 0; inset-inline: 0; padding: 2.2rem 1.4rem 1rem; background: linear-gradient(to top, rgba(5,5,6,0.85), rgba(5,5,6,0)); color: #d6d8dd; font-size: 0.9rem; }
.art__body { width: min(100% - 2 * var(--pad), 44rem); margin: clamp(3rem, 6vw, 5rem) auto 0; }
.art__body p { font-size: 1.15rem; line-height: 2.05; color: #d5d7db; margin: 0 0 1.3rem; }
.art__body a { color: var(--accent-hi); text-decoration: underline; text-underline-offset: 0.25em; }
.art__lead { font-size: 1.35rem !important; line-height: 1.9 !important; color: var(--silver-hi) !important; font-weight: 600; }
.art__chapter { position: relative; margin-top: clamp(3.5rem, 7vw, 5.5rem); padding-top: 2.4rem; border-top: 1px solid var(--line); }
.art__num { display: block; font-family: var(--font-display); font-variation-settings: "opsz" 96; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: var(--accent-hi); opacity: 0.85; margin-bottom: 0.6rem; direction: ltr; text-align: start; }
[dir="rtl"] .art__num { text-align: right; }
.art__body h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.5; margin: 0 0 1.4rem; color: var(--silver-hi); font-weight: 800; }
.art__body h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.5; margin: 2.4rem 0 1rem; color: var(--silver-hi); font-weight: 700; }
.art__pull { margin: clamp(2rem, 4vw, 3rem) 0; padding: 0.4rem 1.6rem 0.4rem 0; border-right: 2px solid var(--accent); }
[dir="ltr"] .art__pull { padding: 0.4rem 0 0.4rem 1.6rem; border-right: 0; border-left: 2px solid var(--accent); }
.art__pull p { margin: 0 !important; font-size: clamp(1.4rem, 2.6vw, 1.9rem) !important; line-height: 1.65 !important; color: var(--silver-hi) !important; font-weight: 800; background: var(--silver-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: 0.15em; }
.art__pull--end { border-color: var(--accent-hi); }
.art__last { font-size: 1.3rem !important; color: var(--silver-hi) !important; }
.art__sig { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.4rem; border-top: 1px solid var(--line); }
.art__sig p { margin: 0 !important; line-height: 1.6 !important; }
.art__sig-name { font-family: var(--font-head); font-size: 1.4rem !important; font-weight: 800; }
.art__sig-role { color: var(--muted) !important; font-size: 0.95rem !important; }
.art__share { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; margin-top: 2rem; }
.art__shareMsg { color: var(--accent-hi); font-size: 0.9rem; }
.art__cta { margin: clamp(4rem, 8vw, 6rem) 0 0; padding: clamp(3rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--plat-line); border-bottom: 1px solid var(--plat-line); background: linear-gradient(to bottom, rgba(17,17,20,0.5), rgba(17,17,20,0.2)); }
.art__cta-inner { width: min(100% - 2 * var(--pad), 44rem); margin-inline: auto; text-align: center; }
.art__cta-inner h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin: 0.6rem 0 1.6rem; }
.art__cta-btns { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.art__authorbox { width: min(100% - 2 * var(--pad), 44rem); margin: clamp(3rem, 6vw, 4.5rem) auto 0; display: grid; grid-template-columns: 7rem 1fr; gap: 1.5rem; align-items: center; padding: 1.6rem; background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius); }
.art__authorbox img { width: 7rem; height: 7rem; border-radius: 50%; object-fit: cover; object-position: 50% 15%; border: 1px solid var(--glass-line); }
.art__authorbox h2 { margin: 0.2rem 0 0.5rem; font-size: 1.4rem; }
.art__authorbox p { margin: 0 0 0.6rem; color: #c9ccd3; line-height: 1.75; }
@media (max-width: 520px) { .art__authorbox { grid-template-columns: 1fr; text-align: center; justify-items: center; } }
.art__comments { width: min(100% - 2 * var(--pad), 44rem); margin: clamp(3rem, 6vw, 4.5rem) auto clamp(4rem, 8vw, 6rem); outline: none; }
.art__comments h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0.4rem 0 0.8rem; }
.art__comments-desc { color: #c9ccd3; line-height: 1.85; margin: 0 0 1.8rem; }
.art__count { margin: 0 0 0.6rem; color: var(--accent-hi); font-size: 0.9rem; }
.art__clist { list-style: none; margin: 0 0 2rem; padding: 0; }
.art__c { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.art__c:last-child { border-bottom: 1px solid var(--line); }
.art__c-head { display: flex; flex-wrap: wrap; gap: 0.3rem 0.9rem; align-items: baseline; margin-bottom: 0.4rem; }
.art__c-name { color: var(--silver-hi); }
.art__c-date { color: var(--muted); font-size: 0.82rem; }
.art__c-body { margin: 0; color: #d0d3d9; line-height: 1.85; white-space: pre-line; overflow-wrap: anywhere; }
.art__cform { margin-top: 0.5rem; }
.art__hp { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.art__cmsg { font-size: 0.9rem; color: var(--muted); }
.art__cmsg--ok { color: #9fd8ae; } .art__cmsg--err { color: #e08c7a; }
.art-page .footer { position: relative; z-index: 1; }

/* صفحة مقالاتي */
.band--articles::before { background: radial-gradient(ellipse at 80% 60%, rgba(217,166,121,0.10), transparent 55%), repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 96px); }
#articles .articles { margin-top: 0; max-width: 52rem; }
#articles .artcard { margin-bottom: 3rem; }
.menu.is-open li:nth-child(10){transition-delay:.55s} .menu.is-open li:nth-child(11){transition-delay:.60s}

/* مبدّل اللغة في صفحة المقال (روابط لنسخ المقال) */
.header--art .header__right { display: flex; align-items: center; gap: 1.4rem; }
.art__lang { display: flex; gap: 0.6rem; font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.18em; }
.art__lang a { color: var(--muted); padding: 0.2rem 0.1rem; border-bottom: 1px solid transparent; }
.art__lang a:hover { color: var(--accent-hi); }
.art__lang a.is-active { color: var(--accent-hi); border-bottom-color: var(--accent); }
[dir="ltr"] .art__body p, [dir="ltr"] .art__sub { font-weight: 400; }
[dir="ltr"] .art__title { font-weight: 700; line-height: 1.2; }
[dir="ltr"] .art__body h2 { font-weight: 700; line-height: 1.3; }
[dir="ltr"] .art__pull p { font-weight: 700; line-height: 1.4 !important; }
[dir="ltr"] .art__sig-name { font-weight: 700; }
[dir="ltr"] .art__body p { line-height: 1.85; }
@media (max-width: 600px) { .header--art .header__right { gap: 0.8rem; } .art__lang { font-size: 0.68rem; gap: 0.45rem; } }

/* ---------- SEO 2026-11-02: one H1 per page ----------
   The section titles were 11 x <h1>; they are now <h2 class="h1"> and keep the h1 look.
   The page H1 is visually hidden (it repeats the visible name + roles). */
h2.h1 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); }
.band__body h2.h1 { max-width: 22ch; }
html[dir="ltr"] h2.h1 { font-weight: 700; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* owner 2026-11-02: inputs >= 16px so iOS never auto-zooms when a field is tapped (pinch zoom stays for visitors) */
input,select,textarea{font-size:max(16px,1rem)}
