/* ذكريات مصطفى: site styles.
   Brand: espresso #241A14, ivory #F6EFE3, gold #C9A14A (deep #A9822F), copper #B86B3D.
   Type: Alexandria (display), IBM Plex Sans Arabic (text), Italiana (Latin name). */
:root {
  --ink: #241A14; --ink-2: #2E2219; --ink-3: #3A2C21;
  --ivory: #F6EFE3; --paper: #FBF8F3; --stone: #EFE8DD; --line: #E2D8CB; --line-dark: #4A3A2D;
  --text: #241A14; --muted: #6E6056; --on-dark: #F3E9D6; --on-dark-muted: #CDBFAE;
  --gold: #C9A14A; --gold-hi: #E7C97E; --gold-deep: #A9822F; --gold-text: #8C6A2F; --copper: #B86B3D;
  --metal: linear-gradient(135deg, #8C6A2F, #C9A14A 38%, #F1DB9A 55%, #C9A14A 75%, #A9822F);
  --f-display: "Alexandria", "IBM Plex Sans Arabic", sans-serif;
  --f-body: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --f-latin: "Italiana", Georgia, serif;
  --radius: 4px;
  --wrap: 1140px;
  color-scheme: light;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } * { transition: none !important; animation: none !important } }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--f-body); font-size: 1.02rem; line-height: 1.85; direction: rtl }
img { max-width: 100%; height: auto; display: block }
a { color: inherit }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.35; margin: 0; text-wrap: balance; font-weight: 300 }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); font-weight: 200 }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem) }
h3 { font-size: 1.25rem; font-weight: 400 }
p { margin: 0 }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)) }
.eyebrow { font-size: .82rem; font-weight: 600; letter-spacing: .03em; color: var(--gold-text) }
.dark .eyebrow, .eyebrow.on-dark { color: var(--gold-hi) }
.gold { background-image: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; padding: .1em .15em .45em; margin: -.1em -.15em -.45em; -webkit-box-decoration-break: clone; box-decoration-break: clone }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em }
.dark .lead { color: var(--on-dark-muted) }
.sec { padding-block: clamp(3.5rem, 8vw, 6rem) }
.sec-head { display: grid; gap: .6rem; margin-bottom: 2.2rem; max-width: 46em }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center }
.dark { background: var(--ink); color: var(--on-dark) }
.stone { background: var(--stone) }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 500 1rem/1 var(--f-body); padding: .95rem 1.6rem; border-radius: 999px; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .15s ease, background .2s ease, border-color .2s ease }
.btn:hover { transform: translateY(-1px) }
.btn-gold { background: var(--metal); color: var(--ink); font-weight: 600 }
.btn-ghost { background: transparent; border-color: rgba(201, 161, 74, .55); color: var(--on-dark) }
.btn-ghost:hover { border-color: var(--gold-hi) }
.btn-line { border-color: var(--line); color: var(--text); background: #fff }
.btn-line:hover { border-color: var(--gold-deep) }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none }
.btns { display: flex; flex-wrap: wrap; gap: .8rem }

/* header */
.site-head { position: sticky; top: 0; z-index: 30; background: rgba(36, 26, 20, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-dark); padding-top: env(safe-area-inset-top, 0px) }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; min-height: 74px }
.brand { display: flex; align-items: center; text-decoration: none }
.brand img { height: 46px; width: auto }
.nav { display: flex; align-items: center; gap: 1.6rem }
.nav a { color: var(--on-dark-muted); text-decoration: none; font-size: .95rem; padding-block: .3rem; border-bottom: 1px solid transparent }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-hi); border-bottom-color: rgba(231, 201, 126, .6) }
.nav .btn { padding: .65rem 1.2rem; font-size: .92rem; color: var(--ink); border-bottom: 0 }
.menu-btn { display: none; background: none; border: 1px solid var(--line-dark); color: var(--on-dark); border-radius: var(--radius); padding: .45rem .7rem; font: inherit; cursor: pointer }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--ink) }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2rem; align-items: center; min-height: min(78vh, 720px) }
.hero-text { display: grid; gap: 1.2rem; padding-block: 3rem }
.hero-text .la { font-family: var(--f-latin); letter-spacing: .42em; color: var(--gold); font-size: .95rem; margin-top: -.6rem }
.hero-quote { font-family: var(--f-display); font-weight: 300; color: var(--gold-hi); font-size: 1.1rem }
.hero-img { align-self: end; justify-self: center }
.hero-img img { width: min(100%, 500px); height: auto; -webkit-mask-image: radial-gradient(closest-side at 50% 47%, #000 56%, transparent 100%); mask-image: radial-gradient(closest-side at 50% 47%, #000 56%, transparent 100%) }
.hero-tags { font-family: var(--f-latin); letter-spacing: .32em; font-size: .78rem; color: var(--on-dark-muted); text-align: right }
.wave-bg { position: absolute; inset: auto 0 0 0; height: 160px; opacity: .14; pointer-events: none; background: repeating-linear-gradient(90deg, var(--gold) 0 3px, transparent 3px 14px); -webkit-mask-image: radial-gradient(ellipse at 50% 100%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 50% 100%, #000, transparent 70%) }
.page-hero { padding-block: clamp(3rem, 7vw, 5rem) }
.page-hero .wrap { display: grid; gap: 1rem }

/* seen on */
.seen { border-block: 1px solid var(--line); background: #fff }
.seen-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 2.2rem; padding-block: 1.3rem; color: var(--muted); font-size: .95rem }
.seen-in b { font-weight: 500; color: var(--text); font-family: var(--f-display) }

/* worlds */
.worlds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem }
.world { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; display: grid; gap: 1.1rem; align-content: start }
.world.dark { background: var(--ink); color: var(--on-dark); border-color: var(--ink) }
.world h3 { font-size: 1.7rem; font-weight: 300 }
.svc { display: grid; gap: .2rem; padding-block: .9rem; border-top: 1px solid var(--line) }
.world.dark .svc { border-top-color: var(--line-dark) }
.svc b { font-weight: 500; font-family: var(--f-display) }
.svc span { color: var(--muted); font-size: .95rem }
.world.dark .svc span { color: var(--on-dark-muted) }
.svc a { font-size: .9rem; color: var(--gold-text); text-decoration: none; justify-self: start }
.worlds.three { grid-template-columns: repeat(3, minmax(0, 1fr)) }
.worlds.three .world { padding: 1.7rem }
.worlds.three .world h3 { font-size: 1.45rem }
.world-desc { color: var(--muted); font-size: .95rem }
.world.dark .world-desc { color: var(--on-dark-muted) }
.worlds.three .svc { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: .8rem; padding-block: .75rem }
.worlds.three .svc b { font-size: .98rem }

/* mission band */
.mission .wrap { display: grid; gap: 1.1rem; justify-items: center; text-align: center; max-width: 900px }
.mission-q { font-family: var(--f-display); font-weight: 200; font-size: clamp(1.5rem, 3.2vw, 2.3rem); line-height: 1.6; color: var(--text) }
.mission-sign { font-family: var(--f-display); font-weight: 300; color: var(--gold-text); font-size: 1.1rem }
.mission-body { color: var(--muted); font-size: 1.05rem; max-width: 44em }
.prose-sign { font-family: var(--f-display); font-weight: 300; color: var(--gold-text); font-size: 1.15rem }
.facts b { font-weight: 600; color: var(--gold-text) }

/* «ومضة»: a short quote that greets each page */
html.flash-open, html.flash-open body { overflow: hidden }
.flash { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; cursor: pointer; background: radial-gradient(ellipse at 50% 42%, #3A2B20, #1B140F 72%); color: var(--on-dark); opacity: 0; transition: opacity .9s ease }
.flash[hidden] { display: none }
.flash.show { opacity: 1 }
.flash.show.leaving { opacity: 0 }
.flash-in { display: grid; justify-items: center; gap: 1.3rem; max-width: 780px; text-align: center }
.flash-sym { height: 70px; width: auto; opacity: 0; transform: translateY(10px); transition: opacity 1s ease .15s, transform 1s ease .15s }
.flash-q { font-family: var(--f-display); font-weight: 200; font-size: clamp(1.7rem, 4.4vw, 2.9rem); line-height: 1.65; background-image: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; padding: .1em .25em .5em; margin-bottom: -.4em; opacity: 0; filter: blur(8px); transition: opacity 1.5s ease .5s, filter 1.5s ease .5s }
.flash-line { display: block; width: 140px; height: 1px; background: rgba(201, 161, 74, .25); position: relative; overflow: hidden }
.flash-line::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform-origin: right center; transform: scaleX(0) }
.flash.show .flash-line::after { animation: flashline var(--hold, 5200ms) linear forwards }
@keyframes flashline { to { transform: scaleX(1) } }
.flash-hint { font-size: .8rem; color: var(--on-dark-muted); opacity: 0; transition: opacity 1s ease 1.8s }
.flash.show .flash-sym, .flash.show .flash-q, .flash.show .flash-hint { opacity: 1; transform: none; filter: none }
.whisper { position: fixed; z-index: 70; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: min(400px, calc(100vw - 32px)); background: var(--ink); color: var(--on-dark); border: 1px solid rgba(201, 161, 74, .45); border-radius: var(--radius); padding: 1rem 1.2rem 1.05rem 2.4rem; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .9rem; align-items: start; box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .7); opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease }
.whisper[hidden] { display: none }
.whisper.show { opacity: 1; transform: none }
.whisper img { height: 34px; width: auto; margin-top: .2rem }
.whisper small { font-size: .72rem; color: var(--gold-hi); letter-spacing: .04em }
.whisper p { font-family: var(--f-display); font-weight: 300; font-size: 1.02rem; line-height: 1.7; color: var(--on-dark) }
.whisper-x { position: absolute; top: .35rem; left: .45rem; background: none; border: 0; color: var(--on-dark-muted); font-size: 1.25rem; line-height: 1; cursor: pointer; padding: .2rem .35rem }
.world.dark .svc a { color: var(--gold-hi) }

/* famous voice band */
.voice-band { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2.5rem; align-items: center }
.big-quote { font-family: var(--f-display); font-weight: 200; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.35 }
.voice-band p { color: var(--on-dark-muted); margin-top: 1rem; max-width: 34em }

/* video cards */
.v-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem }
@media (min-width: 961px) { .v-grid[data-n="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)) } .v-grid[data-n="4"] .v-card h3 { font-size: .98rem } }
.v-card { display: grid; gap: .7rem; text-align: right; background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; min-width: 0 }
.v-thumb { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink) }
.v-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease }
.v-card:hover .v-thumb img { transform: scale(1.03) }
.v-play { position: absolute; inset: auto auto 12px 12px; width: 46px; height: 46px; border-radius: 50%; background: rgba(36, 26, 20, .82); border: 1px solid rgba(231, 201, 126, .7); display: grid; place-items: center }
.v-play::before { content: ""; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--gold-hi); margin-left: 4px }
.v-len { position: absolute; top: 10px; left: 10px; background: rgba(36, 26, 20, .85); color: var(--on-dark); font-size: .78rem; padding: .1rem .5rem; border-radius: 3px; font-variant-numeric: tabular-nums; direction: ltr }
.v-card h3 { font-size: 1.05rem; line-height: 1.55 }
.v-meta { font-size: .85rem; color: var(--muted) }
.dark .v-meta { color: var(--on-dark-muted) }
.v-tag { position: absolute; top: 10px; right: 10px; background: var(--gold); color: var(--ink); font-size: .72rem; font-weight: 600; padding: .1rem .55rem; border-radius: 3px }

/* collections page */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem }
.chip { font: inherit; font-size: .92rem; padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--gold-hi); border-color: var(--ink) }
.collection + .collection { margin-top: 4rem }
.col-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--line); padding-bottom: .9rem }
.col-head h2 { font-size: clamp(1.5rem, 3vw, 2rem) }
.col-head p { color: var(--muted); font-size: .95rem; max-width: 40em }
.col-head .count { font-size: .85rem; color: var(--gold-text); white-space: nowrap }
.featured { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2rem; align-items: center }
.featured .v-thumb { aspect-ratio: 16 / 9 }
.featured h2 { font-size: clamp(1.6rem, 3vw, 2.2rem) }

/* modal player */
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(20, 14, 10, .88); display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(16px, env(safe-area-inset-bottom, 0px)) }
.modal[hidden] { display: none }
.modal-box { width: min(1000px, 100%); display: grid; gap: .9rem; color: var(--on-dark) }
.modal-frame { aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden }
.modal-frame iframe { width: 100%; height: 100%; border: 0 }
.modal-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem }
.modal-meta h3 { font-size: 1.2rem }
.modal-meta p { color: var(--on-dark-muted); font-size: .92rem }
.modal-close { background: none; border: 1px solid var(--line-dark); color: var(--on-dark); border-radius: 999px; padding: .4rem 1rem; font: inherit; cursor: pointer; flex: none }
.modal-yt { color: var(--gold-hi); font-size: .9rem }

/* course */
.course-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: center }
.course-hero img { border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7) }
.gets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem }
.gets li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; display: grid; gap: .4rem }
.gets b { font-family: var(--f-display); font-weight: 400; font-size: 1.1rem }
.gets span { color: var(--muted); font-size: .95rem }
.lessons { display: grid; gap: 1rem }
.lesson { display: grid; grid-template-columns: 300px minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem }
.lesson .v-thumb { aspect-ratio: 16 / 9 }
.lesson h3 { font-size: 1.3rem }
.lesson p { color: var(--muted); font-size: .95rem; margin-top: .3rem }
.soon { font-size: .8rem; font-weight: 600; color: var(--gold-text); background: var(--stone); border-radius: 999px; padding: .3rem .8rem; white-space: nowrap }
.lesson.locked .v-play { display: none }
.lesson.locked .v-thumb img { filter: saturate(.85) brightness(.92) }
.faq { display: grid; gap: .6rem; max-width: 820px }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.3rem }
.faq summary { cursor: pointer; font-family: var(--f-display); font-size: 1.08rem; list-style: none }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: "+"; float: left; color: var(--gold-deep); font-size: 1.3rem; line-height: 1 }
.faq details[open] summary::after { content: "−" }
.faq p { color: var(--muted); margin-top: .6rem }

/* forms */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2.2rem) }
.dark .panel { background: var(--ink-2); border-color: var(--line-dark) }
.field { display: grid; gap: .35rem }
.field label { font-size: .92rem; font-weight: 500 }
.field input, .field textarea, .field select { font: inherit; padding: .8rem 1rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); color: var(--text); width: 100% }
.field textarea { min-height: 96px; resize: vertical }
.field input:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold) }
.field small { color: var(--muted); font-size: .82rem }
.dark .field input, .dark .field textarea { background: var(--ink); border-color: var(--line-dark); color: var(--on-dark) }
.dark .field small { color: var(--on-dark-muted) }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem }
.fields .full { grid-column: 1 / -1 }
.note { font-size: .88rem; color: var(--muted) }
.dark .note { color: var(--on-dark-muted) }
.notice { background: #FFF7E6; border: 1px solid #E9CF97; color: #6B4E12; border-radius: var(--radius); padding: .8rem 1rem; font-size: .9rem }

/* booking */
.steps { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.8rem; list-style: none; padding: 0 }
.steps li { font-size: .85rem; padding: .35rem .9rem; border-radius: 999px; background: var(--stone); color: var(--muted) }
.steps li.on { background: var(--ink); color: var(--gold-hi) }
.steps li.done { background: #E9DFC8; color: var(--gold-text) }
.svc-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; align-items: start }
.svc-group h3 { font-size: 1.05rem; color: var(--gold-text); margin-bottom: .7rem; font-weight: 500 }
.svc-opts { display: grid; gap: .7rem }
.svc-opt { display: grid; gap: .25rem; text-align: right; font: inherit; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease }
.svc-opt:hover { border-color: var(--gold-deep) }
.svc-opt[aria-pressed="true"] { border-color: var(--gold-deep); box-shadow: inset 0 0 0 1px var(--gold-deep); background: #FFFCF5 }
.svc-opt b { font-family: var(--f-display); font-weight: 400; font-size: 1.1rem }
.svc-opt span { color: var(--muted); font-size: .92rem }
.svc-opt em { font-style: normal; font-size: .82rem; color: var(--gold-text) }
.dates { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .5rem }
.date { font: inherit; display: grid; gap: .1rem; justify-items: center; padding: .6rem .2rem; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--text) }
.date small { font-size: .75rem; color: var(--muted) }
.date b { font-size: 1.2rem; font-weight: 500; font-variant-numeric: tabular-nums }
.date[aria-pressed="true"] { background: var(--ink); color: var(--gold-hi); border-color: var(--ink) }
.date[aria-pressed="true"] small { color: var(--on-dark-muted) }
.times { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem }
.time { font: inherit; padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-variant-numeric: tabular-nums; direction: ltr }
.time[aria-pressed="true"] { background: var(--ink); color: var(--gold-hi); border-color: var(--ink) }
.summary { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.2rem; margin: 0 0 1.4rem; font-size: .98rem }
.summary dt { color: var(--muted) }
.summary dd { margin: 0; font-weight: 500 }
.step-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.6rem }
.month { font-family: var(--f-display); margin-bottom: .7rem; color: var(--muted) }
.b2b { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 1.5rem; align-items: center }

/* about */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 3rem; align-items: start }
.prose { display: grid; gap: 1.1rem; font-size: 1.08rem }
.prose h2 { margin-top: 1rem }
.figure { margin: 0; display: grid; gap: .6rem }
.figure img { border-radius: var(--radius) }
.figure figcaption { font-size: .85rem; color: var(--muted) }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem }
.facts li { border-top: 1px solid var(--line); padding-top: .8rem; display: grid; gap: .2rem; font-size: .95rem }
.facts a { font-size: .82rem; color: var(--gold-text) }
.avatar { width: 150px; height: 150px; border-radius: 50% }
.pillars3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: .5rem; align-content: start }
.pillar p { color: var(--muted); font-size: .95rem }

/* voice page */
.voice-hero { position: relative; overflow: hidden }
.voice-hero .wrap { position: relative }
.known { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2.5rem; align-items: center }
.prompts { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem }
.prompts li { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.15rem, 2.2vw, 1.45rem); color: var(--gold-text); border-inline-start: 2px solid var(--gold); padding-inline-start: 1rem }
.demos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem }
.demo { background: var(--ink); color: var(--on-dark); border-radius: var(--radius); padding: 1.4rem; display: grid; gap: 1.1rem; min-width: 0; border: 1px solid transparent; transition: border-color .2s ease }
.demo.playing { border-color: rgba(231, 201, 126, .6) }
.demo-top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: center }
.demo-top h3 { font-size: 1.15rem }
.demo-top p { color: var(--on-dark-muted); font-size: .88rem; line-height: 1.6 }
.demo-play { width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--metal); cursor: pointer; display: grid; place-items: center; flex: none }
.demo-play::before { content: ""; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent var(--ink); margin-left: 4px }
.demo.playing .demo-play::before { border-width: 0 5px; border-color: transparent var(--ink); width: 6px; height: 18px; border-style: solid; margin: 0 }
.demo-play[disabled] { background: var(--ink-3); cursor: not-allowed }
.demo-play[disabled]::before { border-color: transparent transparent transparent #6B5A48 }
.demo-bars { height: 64px; display: flex; align-items: center; gap: 3px; cursor: pointer }
.demo-bars i { flex: 1; border-radius: 2px; background: #5A4834; transition: background .15s ease }
.demo-bars i.on { background: var(--gold-hi) }
.soon-demo .demo-bars { cursor: default; opacity: .55 }
.demo-foot { display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; font-size: .82rem }
.tags { display: flex; gap: .35rem; flex-wrap: wrap }
.tags em { font-style: normal; border: 1px solid var(--line-dark); color: var(--on-dark-muted); border-radius: 999px; padding: .1rem .6rem }
.demo-time { color: var(--gold-hi); font-variant-numeric: tabular-nums }
.uses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem }
.uses li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; display: grid; gap: .35rem; align-content: start }
.uses b { font-family: var(--f-display); font-weight: 400; font-size: 1.08rem }
.uses span { color: var(--muted); font-size: .93rem }
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: step }
.process li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; display: grid; gap: .35rem; align-content: start }
.process li::before { content: counter(step, arabic-indic); font-family: var(--f-display); font-size: 1.6rem; color: var(--gold-deep); line-height: 1 }
.process b { font-family: var(--f-display); font-weight: 400; font-size: 1.08rem }
.process span { color: var(--muted); font-size: .93rem }
.field select { font: inherit; padding: .8rem 1rem; border-radius: var(--radius); border: 1px solid var(--line-dark); background: var(--ink); color: var(--on-dark); width: 100% }
.en { background: #fff; border-top: 1px solid var(--line) }
.en-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2.5rem; align-items: start }
.en h2 { font-family: var(--f-latin); font-weight: 400; letter-spacing: .02em }
.en .lead { font-family: "IBM Plex Sans", "IBM Plex Sans Arabic", system-ui, sans-serif }

/* cta band + footer */
.cta-band { text-align: center }
.cta-band .wrap { display: grid; gap: 1.2rem; justify-items: center }
.site-foot { background: #1B140F; color: var(--on-dark-muted); padding-block: 3rem calc(2rem + env(safe-area-inset-bottom, 0px)); font-size: .92rem }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 2rem }
.foot-in img { height: 54px; width: auto; margin-bottom: .8rem }
.foot-in h4 { margin: 0 0 .6rem; color: var(--on-dark); font-family: var(--f-display); font-weight: 400; font-size: 1rem }
.foot-in ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem }
.foot-in a { text-decoration: none }
.foot-in a:hover { color: var(--gold-hi) }
.copy { border-top: 1px solid #33271E; margin-top: 2rem; padding-top: 1.2rem; font-size: .82rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem }

@media (max-width: 960px) {
  .nav { position: fixed; inset: 74px 0 auto 0; background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 20px 1.2rem; border-bottom: 1px solid var(--line-dark); display: none }
  .nav.open { display: flex }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--line-dark) }
  .nav .btn { margin-top: .8rem }
  .menu-btn { display: inline-block }
  .hero-in, .voice-band, .featured, .course-hero, .about-grid, .b2b { grid-template-columns: 1fr }
  .hero-img { order: -1; margin-top: .5rem; margin-bottom: -2.5rem }
  .hero-img img { width: min(62%, 300px) }
  .hero-text { padding-top: 0 }
  .worlds, .svc-groups, .gets, .pillars3 { grid-template-columns: 1fr }
  .known, .en-in, .worlds.three { grid-template-columns: 1fr }
  .demos, .uses { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .v-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .lesson { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr }
  .foot-in > :first-child { grid-column: 1 / -1 }
}
@media (max-width: 560px) {
  .v-grid { grid-template-columns: 1fr }
  .fields { grid-template-columns: 1fr }
  .demos, .uses, .process { grid-template-columns: 1fr }
  .dates { grid-template-columns: repeat(4, minmax(0, 1fr)) }
  .brand img { height: 38px }
}
