@import url('https://fonts.googleapis.com/css2?family=Readex+Pro:wght@300;400;500&family=Tajawal:wght@800&display=swap');
/* ==========================================================================
   FAIQ Atelier: the site as a book. Chapters, a running gold thread, ink type.
   Built on the theme tokens (theme.js / faiq-design-system.css) so every theme works.
   ========================================================================== */

:root {
  --at-ink: var(--text-primary, #f0ede8);
  --at-ink-2: var(--text-secondary, #a8a4a0);
  --at-ink-3: var(--text-muted, #6a665e);
  --at-gold: var(--gold, #d4af37);
  --at-rule: color-mix(in srgb, var(--gold, #d4af37) 18%, transparent);
  --at-paper: var(--black, #0a0a0a);
  --at-paper-2: var(--surface, #111);
  --at-display: 'Reem Kufi', 'Amiri', serif;
  --at-serif: 'Amiri', serif;
  --at-sans: 'IBM Plex Sans Arabic', 'Tajawal', sans-serif;
  --at-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --at-gutter: clamp(20px, 5vw, 64px);
  --at-max: 1180px;
}

::selection { background: color-mix(in srgb, var(--at-gold) 35%, transparent); color: var(--at-ink); }

/* grain: unifies everything, kills banding */
.at-grain {
  position: fixed; inset: 0; z-index: 9990; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.at { position: relative; z-index: 10; color: var(--at-ink); font-family: var(--at-sans); }
.at a { color: inherit; text-decoration: none; }
.at-wrap { max-width: var(--at-max); margin: 0 auto; padding: 0 var(--at-gutter); }
.at-section { position: relative; padding: clamp(96px, 14vw, 180px) 0; }
.at-section + .at-section { padding-top: 0; }

/* ---------- type ---------- */
.at-kicker {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--at-sans); font-size: 13px; color: var(--at-ink-3); margin-bottom: 28px;
}
.at-kicker .at-num { font-family: var(--at-display); font-size: 15px; color: var(--at-gold); }
.at-kicker::after { content: ''; flex: 0 0 56px; height: 1px; background: var(--at-rule); }

.at-h1 {
  font-family: var(--at-display); font-weight: 600; color: var(--at-ink);
  font-size: clamp(2.6rem, 6.6vw, 5.6rem); line-height: 1.12; margin: 0;
}
.at-h2 {
  font-family: var(--at-display); font-weight: 600; color: var(--at-ink);
  font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.18; margin: 0 0 24px;
}
.at-h3 { font-family: var(--at-display); font-weight: 500; font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.3; margin: 0 0 12px; color: var(--at-ink); }
.at-h1 em, .at-h2 em, .at-h3 em { font-style: normal; color: var(--at-gold); }
.at-lede { font-family: var(--at-serif); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.85; color: var(--at-ink-2); max-width: 38rem; margin: 0; }
.at-body { font-size: 17px; line-height: 1.95; color: var(--at-ink-2); max-width: 36rem; margin: 0 0 16px; }
.at-muted { color: var(--at-ink-3); font-size: 14px; }

/* the big manifesto text: words light up as you read */
.at-manifesto { font-family: var(--at-serif); font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.75; color: var(--at-ink); max-width: 56rem; margin: 0; }
.at-manifesto .w { opacity: .18; transition: opacity .2s linear; }
.at-manifesto .w.on { opacity: 1; }
.at-manifesto mark { background: none; color: var(--at-gold); }
/* reading light on every paragraph (atelier.js tags them .at-ink): own size, justified lines, gold key words */
.at-ink .w { opacity: .22; transition: opacity .25s linear; }
.at-ink .w.on { opacity: 1; }
.at-ink .w.k, .at-ink mark, .at-ink strong, .at-ink b { color: var(--at-gold); }
.at-ink mark { background: none; }
.at-ink, .at-manifesto { text-align: justify; text-wrap: pretty !important; }

/* ---------- the thread: a gold line that draws itself down the page ---------- */
.at-thread { position: absolute; inset-inline-start: calc(var(--at-gutter) / 2); top: 0; height: 100%; width: 40px; pointer-events: none; z-index: 0; }
.at-thread path { fill: none; stroke: var(--at-gold); stroke-width: 1.2; stroke-linecap: round; opacity: .55; }
@media (max-width: 760px) { .at-thread { display: none; } }

/* ---------- table of contents (the index of the book) ---------- */
.at-toc { list-style: none; margin: 56px 0 0; padding: 0; border-top: 1px solid var(--at-rule); }
.at-toc li { border-bottom: 1px solid var(--at-rule); }
.at-toc a {
  position: relative; display: grid; grid-template-columns: 64px 1fr auto; align-items: baseline; gap: 20px;
  padding: 26px 4px; overflow: hidden;
}
.at-toc a::before { /* light that sweeps under the row on hover */
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--at-gold) 9%, transparent), transparent);
  transform: translateX(100%); transition: transform .9s var(--at-ease);
}
[dir="rtl"] .at-toc a::before { transform: translateX(-100%); }
.at-toc a:hover::before, .at-toc a:focus-visible::before { transform: translateX(0); }
.at-toc .n { font-family: var(--at-display); font-size: 1.3rem; color: var(--at-gold); }
.at-toc .t { font-family: var(--at-display); font-size: clamp(1.4rem, 3vw, 2.3rem); line-height: 1.2; color: var(--at-ink); transition: color .4s ease, letter-spacing .6s var(--at-ease); }
.at-toc .d { display: block; font-family: var(--at-sans); font-size: 14.5px; color: var(--at-ink-3); margin-top: 6px; }
.at-toc .go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--at-rule); color: var(--at-gold); transition: transform .6s var(--at-ease), background .4s ease, border-color .4s ease; }
.at-toc .go svg { width: 18px; height: 18px; }
[dir="rtl"] .at-toc .go svg { transform: scaleX(-1); }
.at-toc a:hover .t { color: var(--at-gold); }
.at-toc a:hover .go { transform: rotate(-45deg); border-color: var(--at-gold); background: color-mix(in srgb, var(--at-gold) 12%, transparent); }
[dir="rtl"] .at-toc a:hover .go { transform: rotate(45deg); }
.at-toc .soon { font-family: var(--at-sans); font-size: 12px; color: var(--at-ink-3); border: 1px dashed var(--at-rule); border-radius: 999px; padding: 4px 12px; margin-inline-start: 10px; vertical-align: middle; }
@media (max-width: 640px) {
  .at-toc a { grid-template-columns: 40px 1fr auto; gap: 12px; padding: 20px 0; }
}

/* ---------- the path: stations along a vertical thread ---------- */
.at-path { position: relative; margin-top: 64px; display: grid; gap: clamp(56px, 8vw, 96px); }
.at-path::before { content: ''; position: absolute; inset-inline-start: 23px; top: 8px; bottom: 8px; width: 1px; background: var(--at-rule); }
.at-path .bar { position: absolute; inset-inline-start: 23px; top: 8px; width: 1px; height: 0; background: linear-gradient(var(--at-gold), color-mix(in srgb, var(--at-gold) 40%, transparent)); box-shadow: 0 0 10px var(--at-gold); }
.at-station { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: clamp(20px, 4vw, 48px); }
.at-station .knot {
  position: relative; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--at-paper); border: 1px solid var(--at-rule); color: var(--at-gold);
  transition: border-color .6s ease, box-shadow .6s ease;
}
.at-station .knot svg { width: 22px; height: 22px; }
.at-station.lit .knot { border-color: var(--at-gold); box-shadow: 0 0 22px color-mix(in srgb, var(--at-gold) 45%, transparent); }
.at-station .lbl { font-family: var(--at-display); font-size: 14px; color: var(--at-gold); margin-bottom: 8px; display: block; }

/* ---------- ruled list (practices) ---------- */
.at-ruled { list-style: none; margin: 20px 0 0; padding: 0; max-width: 36rem; counter-reset: r; }
.at-ruled li { counter-increment: r; display: grid; grid-template-columns: 32px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--at-rule); font-size: 16px; line-height: 1.8; color: var(--at-ink-2); }
.at-ruled li::before { content: counter(r, arabic-indic); font-family: var(--at-display); color: var(--at-gold); font-size: 14px; padding-top: 2px; }

/* ---------- split + quote ---------- */
.at-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 860px) { .at-split { grid-template-columns: 1fr; } }
.at-portrait { position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: #000; }
.at-portrait img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 25%; filter: grayscale(1) contrast(1.05); will-change: transform; }
.at-portrait::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0,0,0,.55)); }
.at-quote { font-family: var(--at-serif); font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.7; color: var(--at-ink); margin: 0; }
.at-quote::before { content: '\201D'; display: block; font-family: var(--at-serif); font-size: 5rem; line-height: .7; color: var(--at-gold); margin-bottom: 18px; }
.at-sign { margin-top: 24px; font-family: var(--at-display); color: var(--at-gold); font-size: 1.1rem; }
.at-sign small { display: block; font-family: var(--at-sans); color: var(--at-ink-3); font-size: 13px; margin-top: 4px; }

/* ---------- two doors ---------- */
.at-doors { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--at-rule); border: 1px solid var(--at-rule); border-radius: 28px; overflow: hidden; margin-top: 56px; }
@media (max-width: 760px) { .at-doors { grid-template-columns: 1fr; } }
.at-door { position: relative; background: var(--at-paper); padding: clamp(32px, 5vw, 56px); display: flex; flex-direction: column; gap: 14px; min-height: 340px; overflow: hidden; }
.at-door .glyph { width: 56px; height: 56px; color: var(--at-gold); margin-bottom: auto; }
.at-door .glyph svg { width: 100%; height: 100%; }
.at-door::after { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; bottom: -220px; inset-inline-end: -160px; background: radial-gradient(circle, color-mix(in srgb, var(--at-gold) 16%, transparent), transparent 65%); opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.at-door:hover::after { opacity: 1; }

/* ---------- buttons ---------- */
.at-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.at-btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 10px 0 26px; border-radius: 999px;
  font-family: var(--at-sans); font-size: 15px; font-weight: 500; cursor: pointer;
  background: var(--at-gold); color: var(--at-paper) !important; border: 1px solid var(--at-gold);
  transition: transform .5s var(--at-ease), box-shadow .5s ease;
}
[dir="rtl"] .at-btn { padding: 0 26px 0 10px; }
.at-btn .o { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--at-paper); color: var(--at-gold); transition: transform .5s var(--at-ease); }
.at-btn .o svg { width: 15px; height: 15px; }
[dir="rtl"] .at-btn .o svg { transform: scaleX(-1); }
.at-btn:hover { box-shadow: 0 10px 34px color-mix(in srgb, var(--at-gold) 30%, transparent); }
.at-btn:hover .o { transform: rotate(-45deg); }
[dir="rtl"] .at-btn:hover .o { transform: rotate(45deg); }
.at-btn--ghost { background: transparent; color: var(--at-ink) !important; border-color: var(--at-rule); }
.at-btn--ghost .o { background: color-mix(in srgb, var(--at-gold) 14%, transparent); }
.at-btn:focus-visible, .at-toc a:focus-visible, .at-q summary:focus-visible { outline: 1px solid var(--at-gold); outline-offset: 4px; }

/* ---------- questions ---------- */
.at-qs { margin-top: 48px; border-top: 1px solid var(--at-rule); }
.at-q { border-bottom: 1px solid var(--at-rule); }
.at-q summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 26px 0; font-family: var(--at-display); font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--at-ink); }
.at-q summary::-webkit-details-marker { display: none; }
.at-q summary i { position: relative; flex: 0 0 18px; height: 18px; margin-top: 6px; }
.at-q summary i::before, .at-q summary i::after { content: ''; position: absolute; top: 8px; left: 0; width: 18px; height: 1.5px; background: var(--at-gold); transition: transform .5s var(--at-ease); }
.at-q summary i::after { transform: rotate(90deg); }
.at-q[open] summary i::after { transform: rotate(0); }
.at-q p { margin: 0 0 28px; max-width: 44rem; font-size: 16.5px; line-height: 1.95; color: var(--at-ink-2); }

/* ---------- menu / price list ---------- */
.at-menu { margin-top: 48px; border-top: 1px solid var(--at-rule); }
.at-item { display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; padding: 30px 0; border-bottom: 1px solid var(--at-rule); }
.at-item .meta { font-size: 13.5px; color: var(--at-ink-3); display: flex; gap: 18px; flex-wrap: wrap; }
.at-item .price { font-family: var(--at-display); font-size: clamp(1.3rem, 2.4vw, 1.8rem); color: var(--at-gold); white-space: nowrap; align-self: start; }
.at-item .price small { font-family: var(--at-sans); font-size: 13px; color: var(--at-ink-3); }
.at-item .at-body { margin: 8px 0 0; }
.at-item a.more { font-size: 14px; color: var(--at-gold); display: inline-flex; gap: 8px; align-items: center; margin-top: 12px; }

/* ---------- chapter opener for inner pages ---------- */
.at-opener { min-height: 88vh; display: flex; align-items: flex-end; padding: 140px 0 clamp(64px, 9vw, 120px); position: relative; overflow: hidden; }
.at-opener .at-wrap { width: 100%; }
.at-opener .bigno {
  position: absolute; inset-inline-end: -2vw; top: 6vh; font-family: var(--at-display); font-size: clamp(14rem, 34vw, 30rem); line-height: .8;
  color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--at-gold) 22%, transparent); pointer-events: none; user-select: none;
}
.at-crumb { font-size: 13px; color: var(--at-ink-3); margin-bottom: 32px; display: flex; gap: 10px; }
.at-crumb a:hover { color: var(--at-gold); }
.at-crumb { align-items: center; flex-wrap: wrap; row-gap: 0; }
.at-crumb > a, .at-crumb > span { display: inline-flex; align-items: center; min-height: 32px; } /* links carry a 44px tap height; centre every item on one line */

/* ---------- motion primitives (atelier.js adds .in) ---------- */
.js-at [data-rise] { opacity: 0; transform: translateY(28px); }
.js-at [data-rise].in { opacity: 1; transform: none; transition: opacity 1s var(--at-ease), transform 1.1s var(--at-ease); }
.js-at [data-lines] .ln { display: block; overflow: hidden; padding-bottom: .08em; }
.js-at [data-lines] .ln > span { display: block; transform: translateY(105%); }
.js-at [data-lines].in .ln > span { transform: none; transition: transform 1.1s var(--at-ease); }
.js-at [data-lines].in .ln:nth-child(2) > span { transition-delay: .09s; }
.js-at [data-lines].in .ln:nth-child(3) > span { transition-delay: .18s; }
.js-at [data-lines].in .ln:nth-child(4) > span { transition-delay: .27s; }

@media (prefers-reduced-motion: reduce) {
  .js-at [data-rise], .js-at [data-lines] .ln > span { opacity: 1 !important; transform: none !important; }
  .at-manifesto .w { opacity: 1; }
  .at-ink .w { opacity: 1; }
}

/* opener spiral (methodology) */
.at-spiral { position: absolute; inset-inline-end: -6vw; top: 50%; width: min(78vh, 62vw); height: auto; transform: translateY(-50%); pointer-events: none; opacity: .9; }
.at-spiral path { fill: none; stroke: var(--at-gold); stroke-width: 1; stroke-linecap: round; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--at-gold) 50%, transparent)); }
@media (max-width: 760px) { .at-spiral { width: 120vw; inset-inline-end: -40vw; opacity: .35; } }

/* homepage top bar gets a quiet frosted backing once you leave the portal */
.top-bar { transition: background .5s ease, border-color .5s ease, backdrop-filter .5s ease; border-bottom: 1px solid transparent; }
.top-bar.is-solid { background: color-mix(in srgb, var(--black) 82%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--at-rule); }

/* ---------- booking: choose a session, the card follows ---------- */
.bk { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: 40px; }
@media (max-width: 900px) { .bk { grid-template-columns: 1fr; } }
.bk-list { border: 0; margin: 0; padding: 0; border-top: 1px solid var(--at-rule); }
.bk-opt { position: relative; display: grid; grid-template-columns: 40px 1fr auto; gap: 18px; align-items: start; padding: 24px 6px; border-bottom: 1px solid var(--at-rule); cursor: pointer; transition: background .5s ease; }
.bk-opt input { position: absolute; opacity: 0; pointer-events: none; }
.bk-opt b { display: block; font-family: var(--at-display); font-weight: 500; font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--at-ink); margin-bottom: 6px; transition: color .4s ease; }
.bk-opt small { display: block; font-size: 15px; line-height: 1.8; color: var(--at-ink-3); }
.bk-n { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--at-rule); display: grid; place-items: center; font-family: var(--at-display); color: var(--at-gold); transition: background .4s ease, color .4s ease, box-shadow .5s ease; }
.bk-p { font-family: var(--at-display); font-size: 1.25rem; color: var(--at-gold); text-align: end; white-space: nowrap; }
.bk-p small { font-family: var(--at-sans); font-size: 12px; color: var(--at-ink-3); }
.bk-opt:hover { background: color-mix(in srgb, var(--at-gold) 4%, transparent); }
.bk-opt:has(input:checked) b { color: var(--at-gold); }
.bk-opt:has(input:checked) .bk-n { background: var(--at-gold); color: var(--at-paper); box-shadow: 0 0 20px color-mix(in srgb, var(--at-gold) 45%, transparent); }
.bk-opt:has(input:focus-visible) { outline: 1px solid var(--at-gold); outline-offset: -1px; }
.bk-card { position: sticky; top: 110px; padding: 32px; border-radius: 28px; border: 1px solid var(--at-rule); background: color-mix(in srgb, var(--at-paper-2) 80%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.bk-card .at-h3 { margin: 6px 0 22px; color: var(--at-gold); }
.bk-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--at-rule); font-size: 14.5px; color: var(--at-ink-3); }
.bk-row b { font-weight: 500; color: var(--at-ink); }
.bk-total { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 24px; border-top: 1px solid var(--at-rule); color: var(--at-ink-3); }
.bk-total b { font-family: var(--at-display); font-size: 2.4rem; font-weight: 500; color: var(--at-ink); }
.bk-card.pulse { animation: bkPulse .9s var(--at-ease); }
@keyframes bkPulse { 30% { border-color: var(--at-gold); box-shadow: 0 0 34px color-mix(in srgb, var(--at-gold) 22%, transparent); } }

/* ==========================================================================
   Community (Skool-style): header with tabs, feed + side card, join dialog
   ========================================================================== */
.sk-head { padding: 28px 0 0; border-bottom: 1px solid var(--at-rule); }
.sk-head-in { display: flex; flex-direction: column; gap: 22px; }
.sk-id { display: flex; align-items: center; gap: 16px; }
.sk-mark { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; color: var(--at-gold); background: color-mix(in srgb, var(--at-gold) 10%, transparent); border: 1px solid var(--at-rule); }
.sk-mark svg { width: 34px; height: 34px; }
.sk-mark.big { width: 84px; height: 84px; border-radius: 26px; background: rgba(255,255,255,.06); }
.sk-mark.big svg { width: 56px; height: 56px; }
.sk-name { font-family: var(--at-display); font-weight: 600; font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 0 0 4px; color: var(--at-ink); }
.sk-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.sk-tabs button { position: relative; background: none; border: 0; cursor: pointer; padding: 12px 16px 16px; font-family: var(--at-display); font-size: 16px; color: var(--at-ink-3); white-space: nowrap; transition: color .3s ease; }
.sk-tabs button::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--at-gold); transform: scaleX(0); transition: transform .5s var(--at-ease); }
.sk-tabs button[aria-selected="true"] { color: var(--at-ink); }
.sk-tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.sk-body { display: grid; grid-template-columns: 1fr 340px; gap: 32px; padding-top: 32px; padding-bottom: 96px; align-items: start; }
@media (max-width: 960px) { .sk-body { grid-template-columns: 1fr; } .sk-side { order: -1; position: static !important; } }

.sk-compose { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 18px; border: 1px solid var(--at-rule); background: var(--surface); cursor: pointer; font: inherit; color: var(--at-ink-3); text-align: start; }
.sk-compose img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.sk-compose > span:nth-child(2) { flex: 1; }
.sk-lock { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--at-gold); }
.sk-lock svg { width: 15px; height: 15px; }
.sk-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0; }
.sk-chips button { border: 1px solid var(--at-rule); background: none; border-radius: 999px; padding: 7px 16px; font-family: var(--at-sans); font-size: 14px; color: var(--at-ink-2); cursor: pointer; }
.sk-chips button.on { background: var(--at-ink); color: var(--black); border-color: var(--at-ink); }
.sk-post { background: var(--surface); border: 1px solid var(--at-rule); border-radius: 22px; padding: 22px 24px; margin-bottom: 14px; }
.sk-post header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.sk-post header img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.sk-post header b { display: block; font-family: var(--at-display); font-weight: 500; color: var(--at-ink); }
.sk-post header .at-muted { font-size: 13px; }
.sk-pin { margin-inline-start: auto; font-size: 12px; color: var(--at-gold); border: 1px solid var(--at-rule); border-radius: 999px; padding: 3px 12px; }
.sk-post h3 { font-family: var(--at-display); font-weight: 600; font-size: 1.35rem; margin: 0 0 8px; color: var(--at-ink); }
.sk-post p { margin: 0 0 10px; font-size: 16px; line-height: 1.9; color: var(--at-ink-2); }
.sk-post footer { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--at-rule); font-size: 13.5px; color: var(--at-ink-3); }
.sk-pinned { border-color: color-mix(in srgb, var(--at-gold) 40%, transparent); }
.sk-ev { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--at-gold); background: color-mix(in srgb, var(--at-gold) 10%, transparent); }
.sk-ev svg { width: 22px; height: 22px; }
.sk-link { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-size: 14px; color: var(--at-gold) !important; }
.sk-veil { position: relative; margin-top: 4px; }
.sk-ghost { height: 150px; border-radius: 22px; border: 1px solid var(--at-rule); margin-bottom: 14px; background: var(--surface); filter: blur(1.5px); opacity: .7; }
.sk-veil-msg { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; background: linear-gradient(transparent, color-mix(in srgb, var(--black) 85%, transparent) 40%); border-radius: 22px; }
.sk-veil-msg p { margin: 0; font-family: var(--at-display); font-size: 1.2rem; color: var(--at-ink); }

.sk-courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.sk-course { background: var(--surface); border: 1px solid var(--at-rule); border-radius: 22px; overflow: hidden; }
.sk-cover { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; }
.sk-cover span { font-family: var(--at-display); font-size: 3rem; color: #e9d29a; }
.sk-cover.c1 { background: radial-gradient(circle at 30% 30%, rgba(212,175,55,.35), transparent 60%), #221c12; }
.sk-cover.c2 { background: radial-gradient(circle at 70% 40%, rgba(67,160,71,.35), transparent 60%), #16201a; }
.sk-cover.c3 { background: radial-gradient(circle at 40% 70%, rgba(171,71,188,.32), transparent 60%), #1d1621; }
.sk-cover.c4 { background: radial-gradient(circle at 60% 30%, rgba(30,136,229,.32), transparent 60%), #141b22; }
.sk-cbody { padding: 18px 20px 20px; }
.sk-cbody h3 { font-family: var(--at-display); font-weight: 600; font-size: 1.15rem; margin: 0 0 6px; color: var(--at-ink); }
.sk-cbody p { font-size: 14.5px; line-height: 1.8; color: var(--at-ink-3); margin: 0 0 14px; }
.sk-prog { height: 4px; border-radius: 4px; background: color-mix(in srgb, var(--at-ink) 8%, transparent); margin-bottom: 12px; }
.sk-cal { background: var(--surface); border: 1px solid var(--at-rule); border-radius: 22px; padding: 8px 24px 24px; }
.sk-cal-row { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--at-rule); }
.sk-cal-row h3 { font-family: var(--at-display); font-weight: 500; font-size: 1.1rem; margin: 0 0 4px; color: var(--at-ink); }
.sk-cal-row p { margin: 0; }
.sk-day { text-align: center; border: 1px solid var(--at-rule); border-radius: 16px; padding: 10px 6px; }
.sk-day b { display: block; font-family: var(--at-display); color: var(--at-gold); font-weight: 500; }
.sk-day span { font-size: 12px; color: var(--at-ink-3); }

.sk-side { position: sticky; top: 110px; background: var(--surface); border: 1px solid var(--at-rule); border-radius: 26px; overflow: hidden; }
.sk-side-cover { aspect-ratio: 16 / 7; background: radial-gradient(circle at 50% 120%, rgba(212,175,55,.38), transparent 70%), linear-gradient(160deg, #1c160c, #2a2213); }
.sk-side-cover .sk-mark { color: #e9d29a; border-color: rgba(255,255,255,.12); }
.sk-side-in { padding: 22px 24px 26px; }
.sk-side-in h2 { font-family: var(--at-display); font-weight: 600; font-size: 1.4rem; margin: 0 0 6px; color: var(--at-ink); }
.sk-facts { list-style: none; padding: 0; margin: 18px 0; border-top: 1px solid var(--at-rule); }
.sk-facts li { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--at-rule); font-size: 14px; color: var(--at-ink-3); }
.sk-facts b { font-weight: 500; color: var(--at-ink); }
.sk-price { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 18px; }
.sk-price b { font-family: var(--at-display); font-size: 2.6rem; font-weight: 500; color: var(--at-ink); }
.sk-price span { color: var(--at-ink-3); }

.sk-dialog { border: 1px solid var(--at-rule); border-radius: 28px; padding: 0; width: min(440px, calc(100vw - 32px)); background: var(--surface); color: var(--at-ink); box-shadow: 0 30px 80px rgba(20, 14, 4, .25); }
.sk-dialog::backdrop { background: rgba(20, 16, 8, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sk-dialog-in { position: relative; padding: 30px 28px 26px; font-family: var(--at-sans); }
.sk-dialog .at-h3 { margin: 4px 0 6px; }
.sk-x { position: absolute; top: 14px; inset-inline-end: 16px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--at-rule); background: none; font-size: 20px; color: var(--at-ink-2); cursor: pointer; }

.sk-dialog { position: fixed; inset: 0; margin: auto; height: fit-content; max-height: calc(100vh - 32px); overflow: auto; }

/* tests opener: an eye drawn by the thread */
.at-eye { position: absolute; inset-inline-end: 4vw; top: 50%; width: min(46vw, 560px); transform: translateY(-50%); pointer-events: none; opacity: .85; }
.at-eye path { fill: none; stroke: var(--at-gold); stroke-width: 1; stroke-linecap: round; filter: drop-shadow(0 0 5px color-mix(in srgb, var(--at-gold) 45%, transparent)); }
@media (max-width: 860px) { .at-eye { width: 90vw; opacity: .25; inset-inline-end: -20vw; } }

/* ==========================================================================
   Signature touches: reading thread, cursor of light, page transitions, sacred backgrounds
   ========================================================================== */

/* 1. the reading thread: fills down the page edge as you read */
.at-progress { position: fixed; top: 0; bottom: 0; inset-inline-start: 0; width: 2px; z-index: 9980; pointer-events: none; }
.at-progress::before { content: ""; position: absolute; inset: 0; background: var(--at-rule); }
.at-progress i { position: absolute; top: 0; inset-inline-start: 0; width: 2px; height: 100%; transform-origin: top; transform: scaleY(var(--p, 0)); background: linear-gradient(var(--at-gold), color-mix(in srgb, var(--at-gold) 60%, transparent)); }
.at-progress b { position: absolute; inset-inline-start: -3px; top: calc(var(--p, 0) * 100% - 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--at-gold); box-shadow: 0 0 12px var(--at-gold); }
@media (max-width: 760px) { .at-progress { display: none; } }

/* 2. the cursor of light (fine pointers only; the system pointer stays as a fallback) */
.at-cur, .at-cur-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 10005; border-radius: 50%; will-change: transform; }
.at-cur { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--at-gold); }
.at-cur-ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1px solid color-mix(in srgb, var(--at-gold) 55%, transparent); transition: width .35s var(--at-ease), height .35s var(--at-ease), margin .35s var(--at-ease), background .35s ease, border-color .35s ease, opacity .3s ease; }
html.cur-on, html.cur-on a, html.cur-on button, html.cur-on label, html.cur-on summary, html.cur-on [role="tab"] { cursor: none; }
html.cur-on input, html.cur-on textarea, html.cur-on select { cursor: text; }
html.cur-hover .at-cur-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: color-mix(in srgb, var(--at-gold) 10%, transparent); border-color: var(--at-gold); }
html.cur-text .at-cur-ring { opacity: 0; }
html.cur-down .at-cur-ring { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
@media (hover: none), (pointer: coarse) { .at-cur, .at-cur-ring { display: none; } }

/* 3. page transitions: the page settles in like a turned leaf (Chromium, same origin) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: atLeave .28s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: atEnter .42s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes atLeave { to { opacity: 0; transform: translateY(-14px); filter: blur(4px); } }
@keyframes atEnter { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }

/* 4. sacred backgrounds: a faint flower of life behind alternating chapters */
.at-section.geo, .at-opener.geo { overflow: clip; }
.at-geo {
  position: absolute; z-index: -1; pointer-events: none; width: min(70vw, 720px); aspect-ratio: 1; top: 50%; inset-inline-end: -18%; translate: 0 -50%;
  background: var(--at-gold); opacity: .07;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-130 -130 260 260' fill='none' stroke='black' stroke-width='.7'%3E%3Ccircle r='40'/%3E%3Ccircle cx='40' r='40'/%3E%3Ccircle cx='-40' r='40'/%3E%3Ccircle cx='20' cy='34.64' r='40'/%3E%3Ccircle cx='-20' cy='34.64' r='40'/%3E%3Ccircle cx='20' cy='-34.64' r='40'/%3E%3Ccircle cx='-20' cy='-34.64' r='40'/%3E%3Ccircle cx='60' cy='34.64' r='40'/%3E%3Ccircle cx='-60' cy='34.64' r='40'/%3E%3Ccircle cx='60' cy='-34.64' r='40'/%3E%3Ccircle cx='-60' cy='-34.64' r='40'/%3E%3Ccircle cx='0' cy='69.28' r='40'/%3E%3Ccircle cx='0' cy='-69.28' r='40'/%3E%3Ccircle r='120'/%3E%3Ccircle r='124'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-130 -130 260 260' fill='none' stroke='black' stroke-width='.7'%3E%3Ccircle r='40'/%3E%3Ccircle cx='40' r='40'/%3E%3Ccircle cx='-40' r='40'/%3E%3Ccircle cx='20' cy='34.64' r='40'/%3E%3Ccircle cx='-20' cy='34.64' r='40'/%3E%3Ccircle cx='20' cy='-34.64' r='40'/%3E%3Ccircle cx='-20' cy='-34.64' r='40'/%3E%3Ccircle cx='60' cy='34.64' r='40'/%3E%3Ccircle cx='-60' cy='34.64' r='40'/%3E%3Ccircle cx='60' cy='-34.64' r='40'/%3E%3Ccircle cx='-60' cy='-34.64' r='40'/%3E%3Ccircle cx='0' cy='69.28' r='40'/%3E%3Ccircle cx='0' cy='-69.28' r='40'/%3E%3Ccircle r='120'/%3E%3Ccircle r='124'/%3E%3C/svg%3E") center / contain no-repeat;
}
.geo.alt .at-geo { inset-inline-end: auto; inset-inline-start: -18%; }
@media (max-width: 760px) { .at-geo { width: 120vw; opacity: .05; } }

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .at-cur, .at-cur-ring { display: none; }
}

/* ---------- meditations: guided breath + library ---------- */
.br { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: 36px; padding: clamp(24px, 4vw, 48px); border: 1px solid var(--at-rule); border-radius: 32px; background: var(--surface); }
@media (max-width: 860px) { .br { grid-template-columns: 1fr; } }
.br-stage { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 440px; width: 100%; margin: 0 auto; }
.br-stage::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px dashed var(--at-rule); }
.br-orb { position: absolute; inset: 0; border-radius: 50%; transform: scale(.42); transition: transform 1.2s cubic-bezier(.45, 0, .55, 1);
  background: radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--at-gold) 32%, transparent), color-mix(in srgb, var(--at-gold) 8%, transparent) 62%, transparent 70%); }
.br-orb span { position: absolute; inset: 18%; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--at-gold) 55%, transparent); box-shadow: 0 0 40px color-mix(in srgb, var(--at-gold) 30%, transparent) inset; }
.br-orb.on span { animation: brGlow 3s ease-in-out infinite; }
@keyframes brGlow { 50% { box-shadow: 0 0 70px color-mix(in srgb, var(--at-gold) 45%, transparent) inset; } }
.br-cue { position: relative; margin: 0; font-family: var(--at-display); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--at-ink); text-align: center; padding: 0 18%; }
.br-count { position: absolute; bottom: 8%; margin: 0; font-size: 13px; color: var(--at-ink-3); }
.br-modes { border: 0; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.br-modes label { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border: 1px solid var(--at-rule); border-radius: 16px; cursor: pointer; transition: border-color .3s ease, background .3s ease; }
.br-modes input { accent-color: var(--at-gold); width: 18px; height: 18px; }
.br-modes b { display: block; font-family: var(--at-display); font-weight: 500; color: var(--at-ink); }
.br-modes small { color: var(--at-ink-3); font-size: 13px; }
.br-modes label:has(input:checked) { border-color: var(--at-gold); background: color-mix(in srgb, var(--at-gold) 6%, transparent); }
.md-free { font-family: var(--at-display); font-size: 1.05rem !important; color: var(--at-gold); border: 1px solid var(--at-gold); border-radius: 999px; padding: 4px 16px; height: fit-content; }
.md-lock { display: inline-flex; align-items: center; gap: 6px; font-family: var(--at-sans) !important; font-size: 14px !important; color: var(--at-ink-3) !important; border: 1px solid var(--at-rule); border-radius: 999px; padding: 6px 14px; height: fit-content; text-decoration: none; transition: color .3s ease, border-color .3s ease; }
.md-lock svg { width: 15px; height: 15px; }
.md-lock:hover { color: var(--at-gold) !important; border-color: var(--at-gold); }
.md-script summary { cursor: pointer; color: var(--at-gold); font-size: 15px; margin-top: 10px; list-style: none; }
.md-script summary::-webkit-details-marker { display: none; }
.md-script summary::before { content: "+ "; }
.md-script[open] summary::before { content: "− "; }
@media (prefers-reduced-motion: reduce) { .br-orb { transition-duration: .01s !important; } }

/* ---------- where does it hurt: pick your pain ---------- */
.pain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 36px; background: var(--at-rule); border: 1px solid var(--at-rule); border-radius: 28px; overflow: hidden; }
.pain-i { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 20px 20px 18px; background: var(--black); text-decoration: none; transition: background .5s ease; overflow: hidden; }
.pain-g { width: 34px; height: 34px; color: var(--at-gold); margin-bottom: 6px; transition: transform .7s var(--at-ease); }
.pain-g svg { width: 100%; height: 100%; }
.pain-i b { font-family: var(--at-display); font-weight: 500; font-size: 1.15rem; color: var(--at-ink); }
.pain-i small { font-size: 14px; color: var(--at-ink-3); line-height: 1.7; }
.pain-i i { font-style: normal; font-size: 13px; color: var(--at-gold); margin-top: 6px; opacity: 0; transform: translateY(6px); transition: opacity .4s ease, transform .5s var(--at-ease); }
.pain-i:hover, .pain-i:focus-visible { background: var(--surface); }
.pain-i:hover .pain-g { transform: rotate(-8deg) scale(1.08); }
.pain-i:hover i, .pain-i:focus-visible i { opacity: 1; transform: none; }
@media (hover: none) { .pain-i i { opacity: 1; transform: none; } }
@media (max-width: 600px) { .pain { grid-template-columns: 1fr; } }  /* Faiq 27 Nov: 9 compact cards = 3x3, one column on phones */

/* ---------- drafts from the reference site ---------- */
.draft-tag { display: inline-block; margin-inline-start: 10px; font-family: var(--at-sans); font-size: 11px; color: #b4572f; border: 1px dashed #d99b7f; border-radius: 999px; padding: 2px 10px; vertical-align: middle; }
.toc-static { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 26px 4px; }
.toc-static .n { font-family: var(--at-display); font-size: 1.3rem; color: var(--at-gold); }
.toc-static .t { display: block; font-family: var(--at-display); font-size: clamp(1.3rem, 2.6vw, 2rem); color: var(--at-ink); }
.toc-static .d { display: block; color: var(--at-ink-3); margin-top: 6px; font-size: 15px; line-height: 1.8; }
.proof-nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-top: 36px; border-top: 1px solid var(--at-rule); }
.proof-nums div { padding: 28px 8px; border-bottom: 1px solid var(--at-rule); }
.proof-nums b { display: block; font-family: var(--at-display); font-weight: 500; font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--at-gold); line-height: 1; }
.proof-nums span { display: block; margin-top: 10px; color: var(--at-ink-3); font-size: 14px; }
.proof-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 32px; }
.pq { margin: 0; padding: 30px 28px; border: 1px solid var(--at-rule); border-radius: 24px; background: var(--surface); }
.pq blockquote { margin: 0; font-family: var(--at-serif); font-size: 1.25rem; line-height: 1.8; color: var(--at-ink-2); }
.pq blockquote::before { content: "\201D"; display: block; font-size: 3rem; line-height: .6; color: var(--at-gold); margin-bottom: 10px; }
.pq figcaption { margin-top: 18px; font-size: 14px; color: var(--at-ink-3); }
.book3d { perspective: 1400px; display: grid; place-items: center; padding: 20px; }
.book-cover { position: relative; width: min(300px, 70vw); aspect-ratio: 2 / 3; border-radius: 6px 16px 16px 6px; padding: 34px 28px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  background: radial-gradient(circle at 70% 25%, rgba(212,175,55,.35), transparent 55%), linear-gradient(160deg, #1d170d, #0e0b06); color: #f3e7c6;
  box-shadow: -14px 18px 40px rgba(20,14,4,.35), inset 6px 0 0 rgba(255,255,255,.06); transform: rotateY(-18deg) rotateX(4deg); transition: transform .9s var(--at-ease); }
.book-cover:hover { transform: rotateY(-6deg) rotateX(2deg); }
.book-cover .bc-k { font-family: var(--at-display); letter-spacing: .2em; color: #d4af37; font-size: 13px; }
.book-cover b { font-family: var(--at-display); font-weight: 600; font-size: 2rem; line-height: 1.2; }
.book-cover i { font-style: normal; font-size: 13px; opacity: .7; }

/* ---------- signup, videos ---------- */
.at-signup { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 14px; align-items: center; padding: 26px; border: 1px solid var(--at-rule); border-radius: 26px; background: var(--surface); }
@media (max-width: 760px) { .at-signup { grid-template-columns: 1fr; } }
.at-signup b { display: block; font-family: var(--at-display); font-weight: 500; font-size: 1.3rem; color: var(--at-ink); }
.at-signup small { color: var(--at-ink-3); font-size: 14px; }
.at-signup input { min-height: 52px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--at-rule); background: var(--black); color: var(--at-ink); font: inherit; }
.at-signup input:focus { outline: 1px solid var(--at-gold); border-color: var(--at-gold); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.vids { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 24px; }
.vid { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.vid-th { aspect-ratio: 16 / 9; border-radius: 20px; display: grid; place-items: center; margin-bottom: 10px; color: #fff;
  background: radial-gradient(circle at 30% 30%, rgba(212,175,55,.4), transparent 60%), linear-gradient(150deg, #241d10, #0e0b06); transition: transform .6s var(--at-ease); }
.vid-th svg { width: 46px; height: 46px; opacity: .9; }
.vid:hover .vid-th { transform: scale(1.02); }
.vid b { font-family: var(--at-display); font-weight: 500; font-size: 1.15rem; color: var(--at-ink); }
.vid small { color: var(--at-ink-3); font-size: 14px; }

/* ---------- help ladder, story, chapters, gallery, announcement ---------- */
.ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; counter-reset: r; }
@media (max-width: 860px) { .ladder { grid-template-columns: 1fr; } }
.rung { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px 26px 24px; border: 1px solid var(--at-rule); border-radius: 24px; background: var(--surface); text-decoration: none; transition: border-color .4s ease, transform .6s var(--at-ease); }
.rung:nth-child(2) { margin-top: 28px; } .rung:nth-child(3) { margin-top: 56px; }
@media (max-width: 860px) { .rung:nth-child(n) { margin-top: 0; } }
.rung:hover { border-color: var(--at-gold); transform: translateY(-4px); }
.rung-n { font-family: var(--at-display); font-size: 2.4rem; line-height: 1; color: var(--at-gold); margin-bottom: 12px; }
.rung b { font-family: var(--at-display); font-weight: 500; font-size: 1.3rem; color: var(--at-ink); }
.rung small { color: var(--at-ink-3); font-size: 14.5px; }
.rung i { font-style: normal; color: var(--at-gold); font-size: 14px; margin-top: 12px; }
.story { display: flex; align-items: center; gap: 18px; margin-top: 48px; }
.story b { display: block; font-family: var(--at-display); font-weight: 500; font-size: 1.25rem; color: var(--at-ink); }
.story small { color: var(--at-ink-3); }
.story-play { width: 76px; height: 76px; border-radius: 50%; border: 1px solid var(--at-gold); background: none; cursor: pointer; padding: 0; display: grid; place-items: center; position: relative; }
.story-play::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--at-gold) 40%, transparent); animation: storyPulse 2.6s ease-out infinite; }
@keyframes storyPulse { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.story-ring { width: 56px; height: 56px; border-radius: 50%; background: var(--at-gold); color: var(--black); display: grid; place-items: center; }
.story-ring svg { width: 22px; height: 22px; }
.chapters { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 48px); margin-top: 32px; }
@media (max-width: 860px) { .chapters { grid-template-columns: 1fr; } }
.ch-n { display: block; font-family: var(--at-display); font-size: 4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--at-gold); margin-bottom: 10px; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; margin-top: 48px; }
.gallery span { aspect-ratio: 4 / 5; border-radius: 22px; border: 1px dashed var(--at-rule); background: repeating-linear-gradient(135deg, transparent 0 12px, color-mix(in srgb, var(--at-gold) 5%, transparent) 12px 13px); }
.gallery span:first-child { aspect-ratio: auto; }
@media (prefers-reduced-motion: reduce) { .story-play::after { animation: none; } }
.at-announce { position: relative; z-index: 1001; display: flex; justify-content: center; align-items: center; gap: 14px; padding: 9px 44px; background: var(--at-ink); color: var(--black); font-family: var(--at-sans); font-size: 14px; }
.at-announce a { color: var(--at-gold) !important; text-decoration: none; border-bottom: 1px solid currentColor; }
.at-announce button { position: absolute; inset-inline-end: 12px; top: 50%; translate: 0 -50%; width: 28px; height: 28px; border: 0; background: none; color: var(--black); opacity: .6; cursor: pointer; font-size: 18px; }
body:has(.at-announce) .faiq-nav { top: 52px !important; }
body:has(.at-announce) .top-bar { top: 38px; }

/* ==========================================================================
   Course player (lesson page)
   ========================================================================== */
.cp { max-width: 1320px; margin: 0 auto; padding: 0 var(--at-gutter) 96px; }
.cp-top { padding-top: 12px; }
.cp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 6px 0 18px; }
.cp-title { font-family: var(--at-display); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.25; margin: 6px 0 0; color: var(--at-ink); }
.cp-fav { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--at-rule); background: var(--surface); color: var(--at-ink-3); cursor: pointer; display: grid; place-items: center; flex-shrink: 0; }
.cp-fav svg { width: 20px; height: 20px; }
.cp-fav[aria-pressed="true"] { color: #c2410c; border-color: #c2410c; }
.cp-fav[aria-pressed="true"] svg { fill: currentColor; }
.cp-tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--at-rule); border-radius: 999px; background: var(--surface); margin-bottom: 18px; }
.cp-tabs button { border: 0; background: none; border-radius: 999px; padding: 9px 20px; font-family: var(--at-sans); font-size: 14.5px; color: var(--at-ink-2); cursor: pointer; }
.cp-tabs button[aria-selected="true"] { background: var(--at-ink); color: var(--black); }

.cp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
@media (max-width: 1000px) { .cp-grid { grid-template-columns: 1fr; } }

/* player */
.cp-player { position: relative; border-radius: 22px; overflow: hidden; background: #0c0a07; aspect-ratio: 16 / 9; }
.cp-player video { width: 100%; height: 100%; display: block; object-fit: contain; background: #0c0a07; }
.cp-player video::cue { font-family: var(--at-sans); font-size: clamp(15px, 2.2vw, 22px); background: rgba(10, 8, 4, .72); color: #fff8e8; }
.cp-big { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: color-mix(in srgb, var(--at-gold) 92%, transparent); color: #fff; box-shadow: 0 10px 40px rgba(0,0,0,.35); transition: transform .4s var(--at-ease), opacity .3s ease; }
.cp-big svg { width: 32px; height: 32px; margin-inline-start: 4px; }
[dir="rtl"] .cp-big svg { margin: 0 4px 0 0; transform: scaleX(1); }
.cp-big:hover { transform: scale(1.06); }
.cp-player.playing .cp-big { opacity: 0; pointer-events: none; }
.cp-bar { position: absolute; inset-inline: 0; bottom: 0; padding: 26px 14px 10px; background: linear-gradient(transparent, rgba(8, 6, 3, .85)); color: #fff; opacity: 1; transition: opacity .4s ease; direction: ltr; }
.cp-player.playing:not(:hover):not(:focus-within) .cp-bar { opacity: 0; }
.cp-seek { position: relative; height: 18px; cursor: pointer; display: flex; align-items: center; }
.cp-seek::before { content: ""; position: absolute; inset-inline: 0; height: 4px; border-radius: 4px; background: rgba(255,255,255,.22); }
.cp-seek i, .cp-seek b { position: absolute; left: 0; height: 4px; border-radius: 4px; width: 0; }
.cp-seek i { background: rgba(255,255,255,.35); }
.cp-seek b { background: var(--gold, #d4af37); box-shadow: 0 0 10px rgba(212,175,55,.6); }
.cp-seek b::after { content: ""; position: absolute; right: -6px; top: -4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.cp-seek:focus-visible { outline: 1px solid #fff; outline-offset: 2px; }
.cp-ctrls { display: flex; align-items: center; gap: 4px; margin-top: 4px; }
.cp-ctrls > button, .cp-menu > button { min-width: 40px; height: 40px; border: 0; border-radius: 10px; background: none; color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 8px; font-family: var(--at-sans); font-size: 13.5px; }
.cp-ctrls > button:hover, .cp-menu > button:hover, .cp-menu.open > button { background: rgba(255,255,255,.12); }
.cp-ctrls svg { width: 22px; height: 22px; }
/* volume: its own control, on the play side, away from the language menus */
.cp-vol { display: inline-flex; align-items: center; gap: 2px; margin-inline: 4px 2px; }
.cp-vol > button { min-width: 40px; height: 40px; border: 0; border-radius: 10px; background: none; color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.cp-vol > button:hover { background: rgba(255,255,255,.12); }
.cp-vol svg { width: 20px; height: 20px; }
.cp-vol .x { display: none; } .cp-vol.muted .x { display: inline; } .cp-vol.muted .w { display: none; }
.cp-vol input { width: 76px; accent-color: #d4af37; cursor: pointer; }
@media (max-width: 560px) { .cp-vol input { display: none; } }
.cp-time { font-size: 13px; opacity: .85; margin-inline: 6px; font-variant-numeric: tabular-nums; direction: rtl; }
.cp-sp { flex: 1; }
.cp-menu { position: relative; }
.cp-menu ul { display: none; position: absolute; bottom: calc(100% + 8px); right: 0; min-width: 170px; margin: 0; padding: 6px; list-style: none; border-radius: 14px;
  background: rgba(20, 16, 9, .96); box-shadow: 0 14px 40px rgba(0,0,0,.45); direction: rtl; z-index: 3; }
.cp-menu.open ul { display: block; }
.cp-menu li { padding: 9px 12px 9px 30px; border-radius: 9px; cursor: pointer; font-size: 14px; position: relative; color: #f3ead6; outline: none; }
.cp-menu li:hover, .cp-menu li:focus { background: rgba(255,255,255,.1); }
.cp-menu li[aria-checked="true"]::after { content: ""; position: absolute; left: 10px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--gold, #d4af37); }
.cp-demo { position: absolute; top: 12px; right: 12px; margin: 0; padding: 4px 12px; border-radius: 999px; background: rgba(0,0,0,.55); color: #f3ead6; font-size: 12px; }
@media (max-width: 640px) { .cp-menu > button span { display: none; } .cp-time { display: none; } }

.cp-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.cp-react { display: flex; gap: 8px; }
.cp-react button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--at-rule); background: var(--surface); color: var(--at-ink-2); font-family: var(--at-sans); font-size: 14px; cursor: pointer; }
.cp-react svg { width: 18px; height: 18px; }
.cp-react button[aria-pressed="true"] { border-color: var(--at-gold); color: var(--at-gold); background: color-mix(in srgb, var(--at-gold) 8%, transparent); }
#cpDone[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
#cpDone.is-done { background: transparent; color: var(--at-gold) !important; }
.cp-hint { margin: 10px 0 0; font-size: 13px; }

.cp-info { margin-top: 28px; padding: 28px; border: 1px solid var(--at-rule); border-radius: 24px; background: var(--surface); }
.cp-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; color: var(--at-gold); margin-bottom: 14px; }
.cp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 10px; }
@media (max-width: 640px) { .cp-two { grid-template-columns: 1fr; } }
.cp-sub { font-family: var(--at-display); font-weight: 500; font-size: 1.05rem; color: var(--at-ink); margin: 0 0 8px; }
.cp-list { margin: 0; padding-inline-start: 18px; color: var(--at-ink-2); line-height: 1.9; }
.cp-list li::marker { color: var(--at-gold); }
.cp-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--at-rule); }

.cp-notes { padding: 28px; border: 1px solid var(--at-rule); border-radius: 24px; background: var(--surface); }
.cp-notes textarea { width: 100%; box-sizing: border-box; margin-top: 14px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--at-rule); background: var(--black); color: var(--at-ink); font: 16px/1.9 var(--at-sans); resize: vertical; }
.cp-notes textarea:focus { outline: 1px solid var(--at-gold); border-color: var(--at-gold); }
.cp-note-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; }

/* outline */
.cp-side { position: sticky; top: 110px; padding: 22px; border: 1px solid var(--at-rule); border-radius: 24px; background: var(--surface); max-height: calc(100vh - 130px); overflow: auto; }
@media (max-width: 1000px) { .cp-side { position: static; max-height: none; } }
.cp-prog { display: flex; justify-content: space-between; align-items: baseline; }
.cp-prog b { font-family: var(--at-display); font-weight: 500; color: var(--at-ink); }
.cp-prog span { color: var(--at-gold); font-size: 14px; }
.cp-progbar { height: 6px; border-radius: 6px; background: color-mix(in srgb, var(--at-ink) 8%, transparent); margin: 10px 0 18px; overflow: hidden; }
.cp-progbar i { display: block; height: 100%; width: 0; background: var(--at-gold); border-radius: 6px; transition: width .6s var(--at-ease); }
.cp-sec h3 { font-family: var(--at-sans); font-weight: 500; font-size: 12.5px; color: var(--at-ink-3); margin: 16px 0 6px; }
.cp-sec ol { list-style: none; margin: 0; padding: 0; }
.cp-sec a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 8px; border-radius: 14px; text-decoration: none; color: var(--at-ink-2); transition: background .3s ease; }
.cp-sec a:hover { background: color-mix(in srgb, var(--at-gold) 6%, transparent); }
.cp-sec li.now a { background: color-mix(in srgb, var(--at-gold) 12%, transparent); color: var(--at-ink); }
.cp-dot { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--at-rule); font-size: 12.5px; color: var(--at-ink-3); background: var(--black); }
.cp-dot svg { width: 14px; height: 14px; }
.cp-sec li.done .cp-dot { background: var(--at-gold); border-color: var(--at-gold); color: #fff; }
.cp-sec li.now .cp-dot { border-color: var(--at-gold); color: var(--at-gold); }
.cp-lt { font-size: 14.5px; line-height: 1.5; }
.cp-lt small { display: block; font-size: 12px; color: var(--at-ink-3); margin-top: 2px; }
.cp-upsell { display: block; margin-top: 18px; padding: 14px 16px; border-radius: 16px; border: 1px dashed var(--at-gold); color: var(--at-gold) !important; font-size: 14px; text-decoration: none; text-align: center; }

@media (max-width: 640px) {
  .at-announce { font-size: 12.5px; padding: 8px 40px 8px 12px; white-space: nowrap; justify-content: flex-start; }
  [dir="rtl"] .at-announce { padding: 8px 12px 8px 40px; }
  .at-announce span { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  body:has(.at-announce) .faiq-nav { top: 46px !important; }
}

.at-announce a { white-space: nowrap; flex-shrink: 0; }
body:has(.at-announce) .faiq-nav, body:has(.at-announce) .faiq-nav { top: calc(var(--ann-h, 38px) + 10px) !important; }
body:has(.at-announce) .top-bar { top: var(--ann-h, 38px); }

/* ---------- daily practices ---------- */
.dl { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
@media (max-width: 900px) { .dl { grid-template-columns: 1fr; } .dl-side { order: -1; } }
.dl-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.dl-week { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.dl-week li { text-align: center; padding: 10px 4px; border-radius: 16px; border: 1px solid var(--at-rule); background: var(--surface); }
.dl-week span { display: block; font-size: 11.5px; color: var(--at-ink-3); }
.dl-week b { display: block; font-family: var(--at-display); font-weight: 500; font-size: 1.15rem; color: var(--at-ink); margin-top: 2px; }
.dl-week li.now { border-color: var(--at-gold); }
.dl-week li.part { background: color-mix(in srgb, var(--at-gold) 10%, var(--surface)); }
.dl-week li.full { background: var(--at-gold); border-color: var(--at-gold); }
.dl-week li.full span, .dl-week li.full b { color: #fff; }
.dl-cards { display: grid; gap: 14px; }
.dl-card { padding: 22px 24px; border: 1px solid var(--at-rule); border-radius: 22px; background: var(--surface); transition: border-color .4s ease; }
.dl-card.done { border-color: color-mix(in srgb, var(--at-gold) 55%, transparent); }
.dl-top { display: flex; justify-content: space-between; align-items: center; }
.dl-cat { font-size: 13px; color: var(--at-gold); }
.dl-ok { font-size: 12px; padding: 3px 12px; border-radius: 999px; background: var(--at-gold); color: #fff; }
.dl-card h3 { font-family: var(--at-display); font-weight: 600; font-size: 1.3rem; margin: 8px 0 6px; color: var(--at-ink); }
.dl-card p { margin: 0 0 8px; color: var(--at-ink-2); line-height: 1.85; font-size: 15.5px; }
.dl-b { font-size: 14px !important; color: var(--at-ink-3) !important; }
.dl-act { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.dl-act .at-btn[aria-pressed="true"] { background: transparent; color: var(--at-gold) !important; }
.dl-side { position: sticky; top: 120px; text-align: center; padding: 28px 24px; border: 1px solid var(--at-rule); border-radius: 26px; background: var(--surface); }
.dl-flame { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; color: var(--at-ink-3); border: 1px dashed var(--at-rule); transition: color .6s ease, box-shadow .6s ease; }
.dl-flame svg { width: 46px; height: 46px; }
.dl-flame.lit { color: var(--at-gold); border-style: solid; border-color: var(--at-gold); box-shadow: 0 0 30px color-mix(in srgb, var(--at-gold) 35%, transparent); }
.dl-flame.burst { animation: dlBurst 1s var(--at-ease); }
@keyframes dlBurst { 40% { transform: scale(1.18); box-shadow: 0 0 60px color-mix(in srgb, var(--at-gold) 60%, transparent); } }
.dl-n { margin: 14px 0 4px; }
.dl-n b { display: block; font-family: var(--at-display); font-weight: 500; font-size: 3rem; line-height: 1; color: var(--at-ink); }
.dl-n span { color: var(--at-ink-3); font-size: 14px; }
.dl-best { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--at-rule); font-size: 14px; color: var(--at-ink-3); }
.dl-best b { color: var(--at-gold); font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .dl-flame.burst { animation: none; } }

/* ---------- the assistant ---------- */
.at-guide { position: fixed; z-index: 9985; bottom: 20px; inset-inline-end: 20px; }
.at-guide-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 14px; border-radius: 999px; border: 1px solid var(--at-gold);
  background: var(--at-ink); color: var(--black); font-family: var(--at-display); font-size: 15px; cursor: pointer; box-shadow: 0 10px 30px rgba(20,14,4,.22); }
[dir="rtl"] .at-guide-btn { padding: 0 14px 0 20px; }
.at-guide-dot { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #f3dc93, var(--at-gold) 60%, #8a6a21); box-shadow: 0 0 14px var(--at-gold); animation: guideBreath 4s ease-in-out infinite; }
@keyframes guideBreath { 50% { transform: scale(.82); box-shadow: 0 0 4px var(--at-gold); } }
.at-guide-panel { position: absolute; bottom: calc(100% + 12px); inset-inline-end: 0; width: min(360px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 140px)); display: flex; flex-direction: column;
  border-radius: 24px; border: 1px solid var(--at-rule); background: var(--surface); box-shadow: 0 24px 70px rgba(20,14,4,.25); overflow: hidden; }
.at-guide-panel[hidden] { display: none; }
.at-guide-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--at-rule); }
.at-guide-head b { font-family: var(--at-display); font-weight: 500; color: var(--at-ink); }
.at-guide-x { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--at-rule); background: none; color: var(--at-ink-2); font-size: 18px; cursor: pointer; }
.at-guide-log { flex: 1; overflow: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.at-guide-msg, .at-guide-you { margin: 0; padding: 12px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.8; max-width: 92%; }
.at-guide-msg { background: color-mix(in srgb, var(--at-gold) 9%, var(--surface)); color: var(--at-ink); align-self: flex-start; }
.at-guide-you { background: var(--at-ink); color: var(--black); align-self: flex-end; }
.at-guide-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.at-guide-links a { font-size: 13.5px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--at-gold); color: var(--at-gold) !important; text-decoration: none; }
.at-guide-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 18px 16px; border-top: 1px solid var(--at-rule); }
.at-guide-chips button { border: 1px solid var(--at-rule); background: var(--black); color: var(--at-ink-2); border-radius: 999px; padding: 8px 12px; font: 13px var(--at-sans); cursor: pointer; text-align: start; }
.at-guide-chips button:hover, .at-guide-chips button:focus-visible { border-color: var(--at-gold); color: var(--at-ink); }
.at-guide-chips .at-guide-sos { border-color: var(--at-gold); color: var(--at-gold); background: color-mix(in srgb, var(--at-gold) 10%, transparent); font-weight: 600; } /* «أنا مش كويس دلوقتي» first */
@media (prefers-reduced-motion: reduce) { .at-guide-dot { animation: none; } }

/* ---------- bottom tab bar (phones) ---------- */
.at-tabbar { display: none; }
@media (max-width: 760px) {
  .at-tabbar { position: fixed; z-index: 9984; inset-inline: 10px; bottom: 10px; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px; border-radius: 22px;
    background: color-mix(in srgb, var(--surface) 92%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--at-rule); box-shadow: 0 12px 40px rgba(20,14,4,.16);
    padding-bottom: calc(6px + env(safe-area-inset-bottom)); }
  .at-tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; min-height: 52px; justify-content: center; border-radius: 16px; text-decoration: none; color: var(--at-ink-3); font-size: 11.5px; font-family: var(--at-sans); }
  .at-tabbar svg { width: 22px; height: 22px; }
  .at-tabbar a[aria-current="page"] { color: var(--at-gold); background: color-mix(in srgb, var(--at-gold) 10%, transparent); }
  body { padding-bottom: 88px !important; }
  .at-guide { bottom: 92px; inset-inline-end: 14px; }
  .at-guide-btn span:last-child { display: none; }
  .at-guide-btn { padding: 0 11px !important; }
  .at-progress { display: none; }
}

/* Reviews marquee (from Carrd landing pages) — ponytail: CSS loop, no JS scroller */
.rv { overflow: hidden; margin-top: 40px; direction: ltr; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.rv-track { display: flex; width: max-content; padding: 12px 0; animation: rv-move 70s linear infinite; }
.rv:hover .rv-track, .rv:active .rv-track { animation-play-state: paused; }
@keyframes rv-move { to { transform: translateX(-50%); } }
.rv-card { flex: 0 0 300px; margin-right: 20px; height: 400px; overflow-y: auto; border: 1px solid var(--at-rule); border-radius: 14px; background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.08); scrollbar-width: none; }
.rv-card::-webkit-scrollbar { display: none; }
.rv-card img { width: 100%; display: block; }
@media (max-width: 768px) { .rv-card { flex-basis: 250px; height: 340px; } }
@media (prefers-reduced-motion: reduce) { .rv { overflow-x: auto; } .rv-track { animation: none; } }
.rv-card img { cursor: zoom-in; }
.rv-box { margin: auto; inset: 0; position: fixed; padding: 0; border: 0; background: transparent; max-width: min(92vw, 560px); max-height: 92vh; overflow: auto; }
.rv-box::backdrop { background: rgba(0,0,0,.75); }
.rv-box img { width: 100%; display: block; border-radius: 12px; }
.rv-box button { position: fixed; top: 16px; left: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: #222; font-size: 26px; cursor: pointer; }

/* community: compose / reply forms */
.cm-form { display: flex; flex-direction: column; gap: 10px; margin: 0 0 22px; }
.cm-form textarea { width: 100%; font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--at-rule); background: transparent; color: inherit; resize: vertical; }
.cm-form .at-btn { align-self: flex-start; }
.cm-small { flex-direction: row; align-items: center; margin: 12px 0 0; }
.cm-small textarea { padding: 8px 12px; }
.cm-reply { margin-top: 10px; padding: 8px 12px; border-inline-start: 2px solid var(--at-rule); font-size: .95rem; }
.cm-list { margin-top: 24px; }

/* offers bar + price tags (shared by offers.html and services) */
.px { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin: 10px 0 14px; }
.px .was-l { font-size: 13px; color: #6b5a3a; letter-spacing: .02em; }
.px .now { font-family: 'Amiri', serif !important; font-weight: 700; font-size: clamp(2.2rem, 4.4vw, 2.9rem); color: #b8902f; line-height: 1.15; }
.px .now small { font-size: .9rem; opacity: .7; }
.px .was { font-size: 1.5rem; font-weight: 600; color: #5e5242; position: relative; width: max-content; }
.px .was::after { content: ""; position: absolute; inset-inline: -4px; top: 52%; height: 2px; background: #c9a13b; transform: rotate(-9deg); }
.px .off { font-size: 13px; color: #a07f45; margin-top: 4px; }

/* methodology map (method-map.js) */
.mm-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
@media (max-width: 820px) { .mm-wrap { grid-template-columns: 1fr; } }
.mm-wrap svg { width: 100%; max-width: 560px; margin-inline: auto; display: block; overflow: visible; }
.mm-orbit { fill: none; stroke: var(--at-gold); stroke-width: 1; stroke-dasharray: 2 7; opacity: .5; transform-origin: center; animation: mmTurn 90s linear infinite; }
@keyframes mmTurn { to { transform: rotate(360deg); } }
.mm-cell { --c: var(--at-gold); fill: color-mix(in srgb, var(--c) calc(var(--o) * 100%), transparent); stroke: var(--black, #faf8f3); stroke-width: 3; cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  opacity: 0; transform: scale(.86); transform-origin: 260px 260px; transition: opacity .7s ease calc(var(--i) * 70ms), transform .9s cubic-bezier(.22,1,.36,1) calc(var(--i) * 70ms), fill .3s ease, filter .3s ease; }
.mm-in .mm-cell { opacity: 1; transform: none; }
.mm-in .mm-cell.done { transition: fill .2s ease, filter .2s ease; }
.mm-d1 { --c: #8a6bb8; } .mm-d2 { --c: #4f9a7a; }
.mm-locked { stroke-dasharray: 4 4; }
.mm-cell:hover, .mm-cell:focus-visible, .mm-cell.on { fill: color-mix(in srgb, var(--c) 62%, transparent); filter: drop-shadow(0 0 10px color-mix(in srgb, var(--c) 55%, transparent)); }
.mm-ln { font: 600 13px var(--at-display); fill: var(--at-ink, currentColor); text-anchor: middle; pointer-events: none; }
.mm-dim { font: 600 16px var(--at-sans); fill: var(--at-ink, currentColor); text-anchor: middle; pointer-events: none; paint-order: stroke; stroke: var(--black, #fff); stroke-width: 4px; }
.mm-core { fill: var(--at-gold); filter: drop-shadow(0 0 18px color-mix(in srgb, var(--at-gold) 50%, transparent)); }
.mm-ct { font: 600 19px var(--at-display); fill: #fff; text-anchor: middle; } .mm-cs { font: 12px var(--at-sans); fill: #fff; opacity: .85; text-anchor: middle; }
.mm-info { border-inline-start: 2px solid var(--at-gold); padding: 6px 0 6px 0; padding-inline-start: 22px; min-height: 220px; }
.mm-info h3 { font-family: var(--at-display); font-weight: 500; font-size: 1.6rem; margin: 4px 0 10px; color: var(--at-gold); }
.mm-k { font-size: 13px; letter-spacing: .02em; opacity: .75; }
.mm-w { font-size: 15px; opacity: .85; }
@media (prefers-reduced-motion: reduce) { .mm-orbit { animation: none; } .mm-cell { transition: none; opacity: 1; transform: none; } }

.mm-cell:hover { fill: color-mix(in srgb, var(--c) 45%, transparent); }
.mm-cell.on { fill: color-mix(in srgb, var(--c) 78%, transparent) !important; filter: drop-shadow(0 0 12px color-mix(in srgb, var(--c) 60%, transparent)); }
@media (max-width: 820px) { .mm-wrap svg { max-width: 100%; } .mm-dim { font-size: 19px; } .mm-ln { font-size: 15px; } .mm-info { min-height: 0; border-inline-start: 0; border-top: 2px solid var(--at-gold); padding: 14px 0 0; } }

/* ===== Tighter rhythm (Faiq: less empty space between headings and text) ===== */
.at-section { padding: clamp(52px, 7vw, 96px) 0; }
.at-opener { min-height: min(68vh, 640px) !important; padding: 118px 0 clamp(36px, 5vw, 64px); }
.at-kicker { margin-bottom: 16px; }
.at-h1 { line-height: 1.15; }
.at-h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); margin: 0 0 16px; }
.at-h3 { margin: 0 0 8px; }
.at-lede { line-height: 1.75; }
.at-lede[style*="margin-top"] { margin-top: 16px !important; }
.at-body { line-height: 1.85; margin: 0 0 12px; }
.at-path { margin-top: 32px; gap: clamp(28px, 4vw, 48px); }
.at-station { gap: clamp(14px, 3vw, 28px); }
.at-ruled { margin-top: 12px; }
.at-ruled li { padding: 8px 0; line-height: 1.7; }
.at-ruled li > span { min-width: 0; }
.at-btns { margin-top: 20px; }
.at-quote { margin-block: 0; }
@media (max-width: 640px) { .at-section { padding: 40px 0; } .at-opener { padding-top: 104px; } }

/* site search */
.at-search-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--at-rule); background: transparent; color: var(--at-ink); cursor: pointer; margin-inline: 6px; flex: none; }
.at-search-btn:hover { color: var(--at-gold); border-color: var(--at-gold); }
.at-search { position: fixed; inset: 0; z-index: 3000; background: rgba(20,16,10,.45); backdrop-filter: blur(4px); display: grid; align-items: start; justify-items: center; padding: 12vh 16px 16px; }
.at-search[hidden] { display: none; }
.at-search-in { position: relative; width: min(640px, 100%); background: var(--surface, #fff); border-radius: 18px; box-shadow: 0 20px 60px rgba(0,0,0,.2); padding: 14px; }
.at-search-in input { width: 100%; box-sizing: border-box; font: 17px var(--at-sans); padding: 12px 16px 12px 44px; border-radius: 12px; border: 1px solid var(--at-rule); background: transparent; color: var(--at-ink); }
.at-search-in > button { position: absolute; top: 20px; left: 22px; border: 0; background: none; font-size: 24px; color: var(--at-ink-3); cursor: pointer; }
.at-search-in ul { list-style: none; margin: 10px 0 0; padding: 0; max-height: 60vh; overflow: auto; }
.at-search-in li a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--at-ink); }
.at-search-in li a:hover, .at-search-in li a:focus { background: color-mix(in srgb, var(--at-gold) 10%, transparent); }
.at-search-in li small { display: block; color: var(--at-ink-3); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.at-search-hint { padding: 10px 12px; color: var(--at-ink-3); font-size: 14px; }

/* Faiq chose Readex Pro (2026-11-20) for paragraphs and lede; headings stay Reem Kufi */
:root { --at-sans: 'Readex Pro', 'IBM Plex Sans Arabic', 'Tajawal', sans-serif !important; --at-serif: 'Readex Pro', 'IBM Plex Sans Arabic', sans-serif !important; }
.at-lede { font-weight: 300; }
.at-body, .at-ruled li { font-weight: 300; }

/* 2026-11-21 site-wide polish (taken from the about page, Faiq's request):
   calmer headings, tighter rhythm, justified prose, FAQ gold when open.
   Small section labels (kicker): original look (grey sans, gold number), just bigger. */
.at-section { padding-block: clamp(30px, 4vw, 52px); }
.at-section + .at-section { padding-top: 0; }
.at-opener { padding-bottom: clamp(20px, 3vw, 40px); }
.at-h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.35; margin: 0 0 18px; }
.at-body, .at-lede, .at-q p { text-align: justify; text-justify: inter-word; hyphens: auto; }
.at-qs details[open] summary { color: var(--at-gold); }
.at .at-kicker { font-family: var(--at-sans); font-size: 16px; color: var(--at-ink-3); margin-bottom: 16px; }
.at .at-kicker span:not(.at-num) { font-family: var(--at-sans); font-size: inherit; color: inherit; }
.at .at-kicker .at-num { font-family: var(--at-display); font-size: 19px; color: var(--at-gold); }

/* site 4: display font has a narrow space; Arabic headings looked jammed on mobile */
.at-h1, .at-h2, [class*="hero"] h1 { word-spacing: .18em; }

/* ---------- New Year gift (site 4): golden envelope intro + confetti, sticky bar with a living envelope, gift card. Fixed gold palette in every theme. ---------- */
.at-announce.gf-bar { position: sticky; top: 0; background: linear-gradient(90deg, #f6ecd2, #fbf3df 50%, #f6ecd2); color: #8a6a1f !important; border-bottom: 1px solid rgba(184,144,47,.4); padding: 9px 16px; gap: 14px; text-decoration: none; cursor: pointer; font-size: 14.5px; font-weight: 500; justify-content: center !important; }
.gf-bar u { text-decoration: none; border-bottom: 1px solid #b8902f; color: #9a7417; font-weight: 700; }
.gf-mini { position: relative; flex: none; width: 34px; height: 23px; border-radius: 4px; background: linear-gradient(160deg, #f3d77a, #c9a13b); box-shadow: 0 0 0 1px #a8832c; animation: gfFloat 2.6s ease-in-out infinite, gfGlow 1.8s ease-in-out infinite, gfNudge 4s ease-in-out infinite; }
.gf-mini::before { content: ""; position: absolute; inset: 0; border-radius: 4px; background: linear-gradient(to bottom right, transparent 48%, #8a6a1f 49%, #8a6a1f 52%, transparent 53%) left top / 50% 72% no-repeat, linear-gradient(to bottom left, transparent 48%, #8a6a1f 49%, #8a6a1f 52%, transparent 53%) right top / 50% 72% no-repeat; }
.gf-mini::after { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #c0902a, #7a5a14); left: 50%; top: 66%; translate: -50% -50%; }
@keyframes gfFloat { 50% { transform: translateY(-4px); } }
@keyframes gfGlow { 50% { box-shadow: 0 0 0 1px #a8832c, 0 0 18px 5px rgba(232,190,80,.75); } }
@keyframes gfNudge { 0%, 80%, 100% { rotate: 0deg; } 84% { rotate: -12deg; } 88% { rotate: 10deg; } 92% { rotate: -6deg; } 96% { rotate: 3deg; } }

.gf { position: fixed; inset: 0; z-index: 10000; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; background: rgba(28,22,10,.5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity .9s ease; font-family: 'IBM Plex Sans Arabic', var(--at-sans); }
.gf.in { opacity: 1; }
.gf canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.gf-env { position: relative; z-index: 1; width: min(340px, 82vw); aspect-ratio: 3 / 2; border: 0; padding: 0; background: none; cursor: pointer; perspective: 1000px; transition: opacity .8s ease; animation: gfFloat 4s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
.gf-env > span, .gf-env > svg { position: absolute; display: block; }
.gf-back { inset: 0; border-radius: 10px; background: linear-gradient(#a8832c, #8f6d22); }
.gf-peek { inset: 8% 7% 12%; z-index: 1; border-radius: 8px; background: #fffaf0; color: #9a7417; font-family: 'Amiri', serif; font-weight: 700; font-size: 1.15rem; line-height: 1.5; padding-top: 14%; opacity: 0; transition: transform 1.3s cubic-bezier(.2,.7,.2,1), opacity .4s .35s; }
.gf-front { inset: 0; z-index: 2; border-radius: 10px; background: linear-gradient(165deg, #f0d27a, #d4af37 55%, #c19a35); clip-path: polygon(0 34%, 50% 66%, 100% 34%, 100% 100%, 0 100%); }
.gf-flap { left: 0; right: 0; top: 0; height: 64%; z-index: 3; background: linear-gradient(#f7e09a, #dcb84a); clip-path: polygon(0 0, 100% 0, 50% 100%); transform-origin: top; transition: transform 1s cubic-bezier(.4,.1,.2,1), z-index 0s .45s; }
.gf-lines { inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; transition: opacity .3s; }
.gf-lines path { fill: none; stroke: #9a7417; stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.gf-seal { z-index: 4; left: 50%; top: 58%; translate: -50% -50%; width: 22%; aspect-ratio: 1; border-radius: 50%; display: grid !important; place-items: center; background: radial-gradient(circle at 38% 32%, #b8862a, #8a6214 62%, #6e4c0e); box-shadow: 0 0 0 3px rgba(110,76,14,.55), inset 0 0 0 5px rgba(255,220,140,.18), 0 3px 8px rgba(0,0,0,.35); color: #f7e3a1; font-family: 'Amiri', serif; font-weight: 700; font-size: clamp(.95rem, 4.2vw, 1.25rem); line-height: 1; transition: opacity .5s; }
.gf-here { z-index: 4; left: 0; right: 0; bottom: 3%; font-family: 'Amiri', serif; font-weight: 700; font-size: clamp(1.15rem, 5.4vw, 1.55rem); color: #5a4210; text-shadow: 0 1px 0 rgba(255,240,200,.6); transition: opacity .5s; }
.gf-hint { position: relative; z-index: 1; margin: 20px 0 0; font-size: 14px; color: #f3dc9a; transition: opacity .5s; animation: gfBlink 2s ease-in-out infinite; }
@keyframes gfBlink { 50% { opacity: .55; } }
.gf.open .gf-flap { transform: rotateX(180deg); z-index: 0; }
.gf.open .gf-seal, .gf.open .gf-here, .gf.open .gf-hint, .gf.open .gf-lines { opacity: 0; }
.gf.open .gf-peek { opacity: 1; }
.gf.open .gf-env { animation: none; }
.gf.rise .gf-peek { transform: translateY(-58%); }
.gf-card { display: none; position: relative; z-index: 1; width: min(400px, 100%); text-align: center; background: linear-gradient(#fffaf0, #fbf1da); color: #9a7417; border: 1.5px solid #d4af37; border-radius: 18px; padding: 40px 28px 26px; box-shadow: 0 0 0 6px rgba(212,175,55,.15), 0 40px 80px -30px rgba(0,0,0,.5); }
.gf.card .gf-env, .gf.card .gf-hint { display: none; }
.gf.card .gf-card { display: block; animation: gfCard 1s cubic-bezier(.2,.7,.2,1) both; }
@keyframes gfCard { from { opacity: 0; transform: translateY(24px) scale(.95); } }
.gf-gold { background: linear-gradient(100deg, #9a7417, #d4af37 30%, #f3d77a 50%, #c9a13b 70%, #9a7417); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.gf-star { color: #c9a13b; font-size: 1.2rem; margin-bottom: 10px; }
.gf-card h2 { font-family: 'Amiri', serif; font-weight: 700; font-size: clamp(1.7rem, 6vw, 2.1rem); line-height: 1.5; margin: 0 0 18px; }
.gf-card h2 em { display: block; font-style: normal; }
.gf-card p { margin: 0 0 6px; font-size: 1rem; line-height: 1.8; color: #9a7417; }
.gf-card p b { display: block; font-family: 'Amiri', serif; font-size: 1.45rem; font-weight: 700; }
.gf-card small { display: block; color: #b08f3a; font-size: 13px; margin-bottom: 22px; }
.gf-go { display: block; background: linear-gradient(100deg, #b8902f, #e2c25e 50%, #b8902f); background-size: 200% 100%; color: #fff !important; text-shadow: 0 1px 1px rgba(90,60,10,.4); text-decoration: none; padding: 13px 20px; border-radius: 999px; font-weight: 600; transition: background-position .6s; }
.gf-go:hover { background-position: 100% 0; }
.gf-later { margin-top: 12px; border: 0; background: none; color: #b08f3a; font: inherit; font-size: 13px; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .gf-env { animation: none !important; } .gf-flap, .gf-peek { transition-duration: .01s !important; } }
/* gift: the offer line stands out (Faiq): big deep-gold Amiri in a soft framed band with a slow shimmer */
.gf-card p b.gf-gold { margin: 10px auto 4px; padding: 10px 18px; width: max-content; max-width: 100%; font-size: clamp(1.75rem, 7vw, 2.2rem); line-height: 1.4;
  background: linear-gradient(100deg, #7a5410 0%, #b8862a 35%, #f3d77a 50%, #b8862a 65%, #7a5410 100%) 0 0 / 220% 100%; -webkit-background-clip: text; background-clip: text;
  border-block: 1.5px solid #d4af37; filter: drop-shadow(0 1px 0 rgba(255,255,255,.7)); animation: gfShine 3.5s linear infinite; }
@keyframes gfShine { to { background-position: -220% 0; } }

/* gift: always-visible close, top-left of the screen (Faiq) */
.gf-x { position: fixed; top: 16px; left: 16px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(243,220,154,.7); background: rgba(28,22,10,.35); color: #f3dc9a; font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .3s; }
.gf-x:hover { background: rgba(28,22,10,.6); }
.at-acc { position: relative; display: inline-block; }
.at-acc-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 170px; z-index: 9995; padding: 6px; border-radius: 14px; background: var(--at-paper, #faf6ec); border: 1px solid color-mix(in srgb, var(--at-gold) 35%, transparent); box-shadow: 0 14px 36px rgba(120,90,30,.16); display: grid; }
.at-acc-menu[hidden] { display: none; }
.at-acc-menu a { padding: 10px 14px; border-radius: 10px; color: var(--at-ink); text-decoration: none; font-size: 14px; white-space: nowrap; }
.at-acc-menu a:hover { background: color-mix(in srgb, var(--at-gold) 10%, transparent); color: var(--at-gold); }
.at-acc-menu a + a { border-top: 1px solid color-mix(in srgb, var(--at-gold) 15%, transparent); color: var(--at-ink-3); }
.at-out-li { opacity: .75; }
/* gift screen: always show the normal mouse arrow, lighter blur */
html.cur-on .gf { cursor: default; } html.cur-on .gf button, html.cur-on .gf a { cursor: pointer; }
.gf { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
/* music invitation pill (opens player.html) */
.at-mpill { position: fixed; z-index: 9983; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 2px; padding: 4px 6px 4px 4px; border-radius: 999px; background: color-mix(in srgb, var(--at-paper, #faf6ec) 94%, transparent); border: 1px solid color-mix(in srgb, var(--at-gold) 45%, transparent); box-shadow: 0 8px 26px rgba(120,90,30,.16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: atPillIn .8s 1.5s both; font-family: 'IBM Plex Sans Arabic', var(--at-sans); }
.at-mpill-go { border: 0; background: none; color: var(--at-ink); font: inherit; font-size: 13px; padding: 7px 12px; cursor: pointer; border-radius: 999px; }
.at-mpill-go:hover { color: var(--at-gold); }
.at-mpill-x { border: 0; background: none; color: var(--at-ink-3); font-size: 12px; cursor: pointer; padding: 6px 8px; }
@keyframes atPillIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) { .at-mpill { right: 10px; bottom: 86px; } .at-mpill-go { font-size: 12px; padding: 6px 8px; } }

/* music bar that survives page changes (atelier.js): the site runs in a full frame above a fixed bar */
html.at-shelled, html.at-shelled body { overflow: hidden; height: 100%; }
html.at-shelled body > *:not(.at-sb-frame):not(.at-sb) { display: none !important; }
.at-sb-frame { position: fixed; top: 0; left: 0; width: 100%; height: calc(100% - 74px); border: 0; z-index: 1; background: var(--at-paper, #faf6ec); }
.at-sb { position: fixed; left: 0; right: 0; bottom: 0; height: 74px; z-index: 2; background: var(--at-paper, #faf6ec); border-top: 1px solid color-mix(in srgb, var(--at-gold) 40%, transparent); box-shadow: 0 -8px 30px rgba(120,90,30,.12); font-family: 'IBM Plex Sans Arabic', var(--at-sans); }
.at-sb-row { max-width: 900px; height: 100%; margin: 0 auto; padding: 0 14px; display: flex; align-items: center; gap: 10px; }
.at-sb-pp { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: linear-gradient(135deg, #b8902f, #e2c25e); color: #fff; font-size: 15px; cursor: pointer; }
.at-sb-m { flex: 1; min-width: 0; display: grid; gap: 1px; }
.at-sb-t { font-family: 'Amiri', serif; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--at-ink); }
.at-sb-m input { width: 100%; accent-color: var(--at-gold); direction: ltr; margin: 2px 0; }
.at-sb-m small { font-size: 11px; color: var(--at-ink-3); direction: ltr; text-align: end; }
.at-sb-b { flex: none; border: 0; background: none; font-size: 18px; color: var(--at-ink); cursor: pointer; padding: 6px; }
.at-sb-x { font-size: 14px; opacity: .6; }
.at-sb-list { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); width: min(520px, calc(100% - 20px)); max-height: 55vh; overflow: auto; padding: 8px; display: grid; gap: 4px; background: var(--at-paper, #faf6ec); border: 1px solid color-mix(in srgb, var(--at-gold) 35%, transparent); border-radius: 16px 16px 0 0; box-shadow: 0 -12px 30px rgba(120,90,30,.14); }
.at-sb-list[hidden] { display: none; }
.at-sb-list button { text-align: right; border: 0; background: none; padding: 9px 12px; border-radius: 10px; font: inherit; font-size: 14px; color: var(--at-ink); cursor: pointer; }
.at-sb-list button:hover, .at-sb-list button.on { background: color-mix(in srgb, var(--at-gold) 12%, transparent); color: var(--at-gold); }
@media (max-width: 760px) { .at-sb { height: 68px; } .at-sb-frame { height: calc(100% - 68px); } .at-sb-row { gap: 6px; padding: 0 8px; } .at-sb-b { font-size: 16px; padding: 4px; } }
/* gift v3 (Faiq): Kufi headings like the site, richer envelope */
.gf-card h2, .gf-card p b, .gf-card p b.gf-gold { font-family: 'Reem Kufi', 'Amiri', serif; font-weight: 600; letter-spacing: .01em; word-spacing: .12em; }
.gf-card h2 { font-size: clamp(1.6rem, 5.6vw, 2rem); line-height: 1.6; }
.gf-card p b.gf-gold { font-size: clamp(1.45rem, 5.8vw, 1.9rem); line-height: 1.6; }
.gf-card { background: radial-gradient(120% 90% at 50% 0%, #fffdf6, #f8ecd0); border: 1px solid #d4af37; box-shadow: 0 0 0 5px #fffaf0, 0 0 0 6.5px rgba(212,175,55,.55), 0 40px 80px -30px rgba(0,0,0,.5); }
.gf-front { background: linear-gradient(160deg, #f7e3a1 0%, #e2c25e 30%, #c9a13b 62%, #b38a2c 100%); box-shadow: inset 0 0 0 7px rgba(255,244,210,.22), inset 0 0 0 8px rgba(120,84,16,.35); }
.gf-front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.45) 48%, transparent 60%); background-size: 260% 100%; animation: gfSheen 4.5s ease-in-out infinite; }
.gf-flap { background: linear-gradient(180deg, #fbebb6, #e2c25e 70%, #cfa743); filter: drop-shadow(0 3px 4px rgba(90,60,10,.25)); }
.gf-back { background: linear-gradient(#9b7726, #7d5d1c); }
@keyframes gfSheen { 0%, 60% { background-position: 130% 0; } 100% { background-position: -40% 0; } }
@media (prefers-reduced-motion: reduce) { .gf-front::after { animation: none; } }
/* gift v4 (Faiq: a classier envelope): ivory paper, gold foil edges, gold Kufi words, dark-gold wax seal */
.gf-back { background: linear-gradient(#e6d6b0, #d9c48f); }
.gf-front { background: linear-gradient(165deg, #fffdf6 0%, #f8eed6 55%, #efdfb8 100%); box-shadow: inset 0 0 0 6px #fffaf0, inset 0 0 0 7.5px #c9a13b, inset 0 0 0 10px rgba(201,161,59,.18); }
.gf-front::after { background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.7) 48%, transparent 58%); background-size: 260% 100%; }
.gf-flap { background: linear-gradient(180deg, #fffaf0, #f3e6c6 75%, #e9d6a6); filter: drop-shadow(0 1.5px 0 #c9a13b) drop-shadow(0 6px 8px rgba(90,60,10,.18)); }
.gf-lines path { stroke: #c9a13b !important; stroke-width: 1.2 !important; opacity: .55; }
.gf-here { font-family: 'Reem Kufi', 'Amiri', serif !important; font-weight: 600 !important; background: linear-gradient(100deg, #8a6214, #d4af37 45%, #f0d27a 55%, #a07d2e); -webkit-background-clip: text; background-clip: text; color: transparent !important; -webkit-text-fill-color: transparent; text-shadow: none !important; }
.gf-peek { font-family: 'Reem Kufi', 'Amiri', serif; }

/* envelope seal = Faiq's gold logo medallion */
.gf-seal { width: 30% !important; background: #fffaf0 !important; box-shadow: 0 0 0 2px #c9a13b, 0 0 0 5px rgba(255,250,240,.9), 0 4px 10px rgba(90,60,10,.35) !important; padding: 0; overflow: hidden; }
.gf-seal img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }

/* music invitation v2 (Faiq): dark like the assistant button, Kufi, three little gold notes dancing */
.at-mpill { background: #1c1914; border: 0; box-shadow: 0 10px 30px rgba(20,14,4,.22); padding: 4px 6px 4px 4px; -webkit-backdrop-filter: none; backdrop-filter: none; }
.at-mpill-go { color: #faf8f3; font-family: 'Reem Kufi', 'Amiri', serif; font-size: 14px; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; }
.at-mpill-go:hover { color: #f3dc93; }
.at-mpill-x { color: rgba(250,248,243,.55); }
.at-mpill-x:hover { color: #faf8f3; }
.at-mpill-notes { position: relative; width: 30px; height: 30px; flex: none; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #f3dc93, #a07d2e 60%, #8a6a21); animation: guideBreath 3.2s ease-in-out infinite; }
.at-mpill-notes i { position: absolute; font-style: normal; color: #f3dc93; font-size: 13px; line-height: 1; left: 50%; top: 50%; opacity: 0; animation: mpNote 2.7s ease-out infinite; text-shadow: 0 0 6px rgba(243,220,147,.8); }
.at-mpill-notes i:nth-child(2) { animation-delay: .9s; font-size: 15px; }
.at-mpill-notes i:nth-child(3) { animation-delay: 1.8s; }
@keyframes mpNote { 0% { transform: translate(-50%, -50%) scale(.6); opacity: 0; } 20% { opacity: 1; } 100% { transform: translate(calc(-50% + 12px), -230%) rotate(18deg) scale(1.05); opacity: 0; } }
@media (max-width: 760px) { .at-mpill-go { font-size: 12.5px; gap: 8px; padding: 6px 10px 6px 8px; } .at-mpill-notes { width: 26px; height: 26px; } }
@media (prefers-reduced-motion: reduce) { .at-mpill-notes, .at-mpill-notes i { animation: none; } .at-mpill-notes i:first-child { opacity: 1; transform: translate(-50%, -50%); } }
/* notes v2: deep gold, bigger, rise clearly above the button */
.at-mpill-notes i { color: #a67c1d; font-size: 17px; font-weight: 700; text-shadow: 0 0 3px #fff8e6, 0 0 8px rgba(255,240,200,.9); animation: mpNote2 2.6s ease-out infinite; }
.at-mpill-notes i:nth-child(2) { font-size: 20px; animation-delay: .85s; }
.at-mpill-notes i:nth-child(3) { animation-delay: 1.7s; }
@keyframes mpNote2 { 0% { transform: translate(-50%, -50%) scale(.5); opacity: 0; } 15% { opacity: 1; } 70% { opacity: 1; } 100% { transform: translate(calc(-50% + 14px), -330%) rotate(20deg) scale(1.1); opacity: 0; } }

/* music bar v2 (Faiq): its own rich gold, auto-hides to a small tab, pin to keep open, drag the tab to move it */
.at-sb-frame { height: 100% !important; }
.at-sb { height: auto !important; bottom: 0; left: 50% !important; right: auto !important; width: min(760px, calc(100% - 16px)); transform: translate(-50%, calc(100% - 6px)); transition: transform .45s cubic-bezier(.22,1,.36,1);
  border: 0 !important; border-radius: 18px 18px 0 0; background: linear-gradient(135deg, #f1d27a 0%, #c9a13b 45%, #9c7520 100%) !important; box-shadow: 0 -10px 34px rgba(90,60,10,.28) !important; }
.at-sb.open { transform: translate(-50%, 0); border-radius: 18px; margin-bottom: 8px; }
.at-sb-row { height: 66px; }
.at-sb-t, .at-sb-b { color: #2a1d06 !important; }
.at-sb-m small { color: rgba(42,29,6,.75) !important; }
.at-sb-m input { accent-color: #2a1d06; }
.at-sb-pp { background: #1c1914 !important; color: #f3dc93 !important; }
.at-sb-tab { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); width: 64px; height: 26px; border: 0; border-radius: 14px 14px 0 0; cursor: grab; touch-action: none;
  background: linear-gradient(135deg, #f1d27a, #b8902f); color: #2a1d06; font-size: 15px; box-shadow: 0 -4px 12px rgba(90,60,10,.2); }
.at-sb-tab:active { cursor: grabbing; }
.at-sb-pin { font-size: 15px !important; opacity: .55; filter: grayscale(1); }
.at-sb-pin[aria-pressed="true"] { opacity: 1; filter: none; }
.at-sb-list { border-color: #c9a13b !important; }
@media (max-width: 760px) { .at-sb-row { height: 62px; } }

/* music invitation v3: same theme tokens as the assistant button (switches with light/dark), notes drawn as SVG */
.at-mpill { background: var(--at-ink) !important; border: 1px solid var(--at-gold) !important; }
.at-mpill-go { color: var(--black, #faf8f3) !important; font-family: var(--at-display) !important; }
.at-mpill-x { color: var(--black, #faf8f3) !important; opacity: .6; }
.at-mpill-notes i { display: block; width: 18px; height: 18px; color: var(--at-gold); filter: drop-shadow(0 0 4px rgba(255,240,200,.9)); text-shadow: none; }
.at-mpill-notes i svg { display: block; }

/* music shell (top window): the light-cursor is hidden with the page, so use the normal mouse on the gold bar */
html.at-shelled, html.at-shelled * { cursor: auto !important; }
html.at-shelled .at-sb button, html.at-shelled .at-sb input { cursor: pointer !important; }
html.at-shelled .at-sb-tab { cursor: grab !important; }

/* even line lengths: Arabic quotes and headings break into balanced lines instead of long + short */
.at-quote, .at-h2, .at-lede, .at-manifesto { text-wrap: balance; }
.at-body, .at-wrap p { text-wrap: pretty; }

/* three steps v2: three equal cells in one frame, same look as the "اختر ما يشبهك" grid, soft gold hover */
.ladder { gap: 1px !important; background: var(--at-rule); border: 1px solid var(--at-rule); border-radius: 28px; overflow: hidden; }
.rung, .rung:nth-child(n) { margin-top: 0 !important; border: 0 !important; border-radius: 0 !important; background: var(--black) !important; padding: 34px 30px 30px !important; overflow: hidden; transform: none !important; transition: background .5s ease; }
.rung::before { content: ''; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, transparent, var(--at-gold), transparent); transform: scaleX(0); transition: transform .6s var(--at-ease); }
.rung::after { content: ''; position: absolute; width: 220px; height: 220px; inset-inline-end: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--at-gold) 16%, transparent), transparent 70%); opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.rung:hover, .rung:focus-visible { background: var(--surface) !important; }
.rung:hover::before, .rung:focus-visible::before { transform: scaleX(1); }
.rung:hover::after, .rung:focus-visible::after { opacity: 1; }
.rung-n { transition: transform .6s var(--at-ease); }
.rung:hover .rung-n { transform: translateY(-4px) scale(1.08); }
.rung i { transition: transform .5s var(--at-ease); }
.rung:hover i { transform: translateX(-6px); }

/* royal gold (Faiq: "ذهبي ملكي مش أصفر") — FAIQ wordmark + music bar */
.nav-logo-text, .logo-small .ls-name {
  background: linear-gradient(100deg, #9a7428 0%, #d4b062 30%, #f4e2a8 48%, #c9a048 62%, #8f6b22 100%);
  background-size: 220% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent !important; -webkit-text-fill-color: transparent;
  animation: royalSheen 6s ease-in-out infinite;
}
@keyframes royalSheen { 0%, 60% { background-position: 100% 0; } 85%, 100% { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .nav-logo-text, .logo-small .ls-name { animation: none; } }
.at-sb { background: linear-gradient(135deg, #dcbd6e 0%, #b8903a 42%, #82601d 100%) !important; }
.at-sb-tab { background: linear-gradient(135deg, #dcbd6e, #9c7628) !important; }
.at-sb-pp { color: #e4c77c !important; }
.at-sb-list { border-color: #b8903a !important; }

/* gift bar v2: a floating royal-gold capsule, edge to edge, hung in the air above the menu; «افتحها» swings like a steering wheel and changes colour */
.at-announce.gf-bar { top: 10px !important; margin: 10px 12px 0; border-radius: 999px; border: 1px solid #8f6b22 !important; z-index: 1001;
  background: linear-gradient(100deg, #9a7428 0%, #c9a24d 22%, #ecd497 48%, #c9a24d 72%, #8f6b22 100%) !important; background-size: 220% 100% !important;
  animation: gfBarSheen 7s ease-in-out infinite; color: #2a1d06 !important; box-shadow: 0 10px 30px rgba(60,40,8,.28), inset 0 1px 0 rgba(255,245,210,.6); padding: 8px 18px !important; }
@keyframes gfBarSheen { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.gf-bar u { border: 0 !important; color: inherit !important; }
.gf-wheel { display: inline-block; font-weight: 800; padding: 0 4px; transform-origin: 50% 50%; animation: gfWheel 2.4s ease-in-out infinite, gfWheelInk 3.6s linear infinite; }
@keyframes gfWheel { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-16deg); } 45% { transform: rotate(14deg); } 65% { transform: rotate(-8deg); } 82% { transform: rotate(4deg); } }
@keyframes gfWheelInk { 0%, 100% { color: #2a1d06; text-shadow: none; } 33% { color: #fff6d6; text-shadow: 0 0 10px rgba(255,236,170,.9); } 66% { color: #6b1f12; text-shadow: none; } }
.gf-mini { background: linear-gradient(160deg, #fff1c4, #e2c47a) !important; }
@media (max-width: 600px) { .at-announce.gf-bar { margin: 8px 8px 0; font-size: 13px !important; padding: 7px 12px !important; } }
@media (prefers-reduced-motion: reduce) { .gf-wheel, .at-announce.gf-bar { animation: none; } }

/* music invitation + assistant: half-transparent while resting, full the moment someone touches them (all pages, all themes) */
.at-mpill, .at-guide-btn { opacity: .55; transition: opacity .35s ease, transform .35s ease; }
.at-mpill:hover, .at-mpill:focus-within, .at-guide-btn:hover, .at-guide-btn:focus-visible, .at-guide-btn[aria-expanded="true"] { opacity: 1; }
@media (hover: none) { .at-mpill, .at-guide-btn { opacity: .72; } .at-mpill:active, .at-guide-btn:active { opacity: 1; } }

/* Arabic text must never be letter-spaced (spacing breaks the joined letters and looks cheap) — every page, every theme. Latin wordmarks keep theirs. */
html[dir="rtl"] body *:not(.nav-logo-text):not(.ls-name):not(.ls-sub):not([lang="en"]) { letter-spacing: 0 !important; }
/* prices: Faiq's pick (24 Nov) = the heavy gold Tajawal of the old offers card «١٥٠٠», numbers without a thousands comma, every page */
.px .now, .at-item .price, .sk-price b, [data-price], .price, .price-tag, .plan-price, .pricing-price, .pricing-amount, .investment-price, .cta-main-price, .final-cta-price, .discount-price-new { font-family: 'Tajawal', var(--at-sans), sans-serif !important; font-weight: 800 !important; font-variant-numeric: lining-nums tabular-nums; letter-spacing: 0 !important; }
.px .now { font-size: clamp(2.3rem, 4.6vw, 3rem) !important; line-height: 1.1; color: var(--gold, #a07d2e); text-shadow: 0 0 30px var(--gold-glow, rgba(212,175,55,.15)); }
.stat-num { font-family: 'IBM Plex Sans Arabic', var(--at-sans), sans-serif !important; font-weight: 600 !important; font-variant-numeric: lining-nums tabular-nums; letter-spacing: 0 !important; }
/* «الأكثر مبيعاً» tag: the old offers-card corner label, now on the offer cards */
.of-best { position: absolute; top: 14px; inset-inline-start: 16px; background: var(--gold, #a07d2e); color: var(--surface, #fff); font-size: 12px; font-weight: 800; padding: 4px 14px; border-radius: 6px; box-shadow: 0 4px 14px rgba(161,128,49,.3); z-index: 1; }
:has(> .of-best) > h3 { margin-top: 24px; }

/* «احجز جلسة» now lives first inside the «المسارات» menu: gold so it still stands out */
.faiq-nav .dropdown a.dd-book { color: #b8903a !important; font-weight: 700 !important; border-bottom: 1px solid color-mix(in srgb, var(--at-gold) 25%, transparent); }

/* logo wordmark: «فائق | FAIQ» — Arabic in the same Reem Kufi as the Latin, a thin royal-gold vertical line between them (every page, every theme) */
.nav-logo-text, .logo-small .ls-name { display: inline-flex !important; align-items: center; }
.nav-logo-text::before, .logo-small .ls-name::before {
  content: "فائق"; font-family: 'Reem Kufi', var(--at-display), serif; font-weight: 600; font-size: 1.12em; letter-spacing: 0 !important; line-height: 1;
  padding-inline-end: .55em; margin-inline-end: .55em; border-inline-end: 1.5px solid #c9a24d;
  background: linear-gradient(100deg, #9a7428 0%, #d4b062 30%, #f4e2a8 48%, #c9a048 62%, #8f6b22 100%); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  animation: royalSheen 6s ease-in-out infinite;
}
@media (max-width: 380px) { .nav-logo-text::before, .logo-small .ls-name::before { padding-inline-end: .4em; margin-inline-end: .4em; } }
@media (prefers-reduced-motion: reduce) { .nav-logo-text::before, .logo-small .ls-name::before { animation: none; } }

/* offer strip (services page etc.): same royal-gold capsule as the gift bar at the top */
.sv-strip { background: linear-gradient(100deg, #9a7428 0%, #c9a24d 22%, #ecd497 48%, #c9a24d 72%, #8f6b22 100%) !important; background-size: 220% 100% !important; animation: gfBarSheen 7s ease-in-out infinite; color: #2a1d06 !important; border: 1px solid #8f6b22; box-shadow: 0 10px 30px rgba(60,40,8,.22), inset 0 1px 0 rgba(255,245,210,.6); }
.sv-strip b { color: #2a1d06 !important; }
.sv-strip a { background: #1c1914 !important; color: #e4c77c !important; }
@media (prefers-reduced-motion: reduce) { .sv-strip { animation: none; } }

/* intensive programs: price comes after review */
.sv-apply { margin: 6px 0 0; color: #b8903a; font-weight: 600; font-size: 15px; }

/* wordmark width = the tagline «رحلة التشافي والوعي» width (Faiq's measure) */
html .faiq-nav .nav-logo-text, html .logo-small .ls-name { font-size: 17.4px !important; letter-spacing: .2em !important; margin-inline-end: -.2em; }
.nav-logo-text::before, .logo-small .ls-name::before { font-size: 1.08em; padding-inline-end: .42em; margin-inline-end: .42em; }

/* client video testimonials (testimonials.js) */
.ts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 24px; }
.ts-card { margin: 0; border: 1px solid var(--at-rule); border-radius: 20px; overflow: hidden; background: var(--surface); }
.ts-vid { position: relative; background: #000; }
.ts-vid video { display: block; width: 100%; aspect-ratio: 9 / 12; object-fit: cover; }
.ts-cap { position: absolute; inset-inline: 10px; bottom: 54px; display: grid; gap: 4px; text-align: center; pointer-events: none; }
.ts-cap span { justify-self: center; background: rgba(0,0,0,.66); color: #fff; padding: 3px 10px; border-radius: 8px; font-size: 14px; line-height: 1.6; }
.ts-cap span[lang="en"] { font-size: 13px; color: #f3e3b0; }
.ts-audio { display: grid; place-items: center; gap: 12px; padding: 30px 16px; background: linear-gradient(135deg, #1c1914, #3a2e18); }
.ts-audio span { color: #e4c77c; font-size: 42px; } .ts-audio audio { width: 100%; }
.ts-card figcaption { padding: 12px 16px; font-family: var(--at-display); color: var(--at-ink); }
.ts-note { margin-top: 14px; font-size: 13px; color: var(--at-ink-3); }
.ts-langs { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px 0; }
.ts-langs button { border: 1px solid var(--at-rule); background: transparent; color: var(--at-ink-3); border-radius: 999px; padding: 4px 10px; font: inherit; font-size: 12.5px; cursor: pointer; }
.ts-langs button.on { border-color: #c9a24d; color: #b8903a; background: color-mix(in srgb, #c9a24d 10%, transparent); }

/* «ذكّرني» (remind.js) + course series */
.rm-btn.on { border-color: var(--at-gold); color: var(--at-gold); }
.sk-link.rm-btn { margin-inline-start: 14px; }
.cs-chain { color: var(--at-gold) !important; }
.cs-soon .price small { display: block; }
.rm-dlg { position: fixed; inset: 0; margin: auto; height: fit-content; max-height: calc(100vh - 32px); overflow: auto; border: 1px solid var(--at-rule); border-radius: 24px; padding: 0; background: var(--surface, var(--black)); color: var(--at-ink); width: min(440px, calc(100vw - 32px)); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.rm-dlg::backdrop { background: rgba(0,0,0,.55); backdrop-filter: blur(3px); }
.rm-box { position: relative; padding: 28px 24px 24px; display: grid; gap: 14px; }
.rm-x { position: absolute; inset-inline-end: 14px; top: 10px; background: none; border: 0; color: var(--at-ink-3); font-size: 24px; cursor: pointer; }
.rm-t { font-family: var(--at-display); font-size: 1.3rem; font-weight: 500; }
.rm-s { margin: 0; color: var(--at-ink); line-height: 1.8; }
.rm-s small { color: var(--at-ink-3); }
.rm-l { display: grid; gap: 6px; font-size: 14px; color: var(--at-ink-3); }
.rm-l small { font-size: 12px; }
.rm-l input { padding: 12px 14px; border-radius: 14px; border: 1px solid var(--at-rule); background: var(--black); color: var(--at-ink); font: inherit; font-size: 16px; }
.rm-l input:focus { outline: none; border-color: var(--at-gold); }
.rm-msg { margin: 0; min-height: 1.4em; font-size: 14px; color: var(--at-gold); }
.rm-or { margin: 4px 0 0; font-size: 13px; color: var(--at-ink-3); }
.rm-cal { display: flex; flex-wrap: wrap; gap: 8px; }
.rm-cal .at-btn { font-size: 14px; padding: 10px 16px; }

/* music button v4 (Faiq, 23 Nov): a gold note in a circle on the right, notes bounce out of it;
   the question slides out of the note on hover / first tap and slides back in after */
.at-mpill { right: 16px; left: auto; padding: 4px; gap: 0; }
.at-mpill-x { display: none; }
.at-mpill-go { padding: 0; gap: 0; }
.at-mpill-notes { width: 42px; height: 42px; display: grid; place-items: center; overflow: visible; }
.at-mpill-notes b { display: grid; place-items: center; color: #2a2113; }
.at-mpill-notes b svg { width: 20px; height: 20px; }
.at-mpill-notes i { animation-name: mpBounce; animation-duration: 2.8s; }
.at-mpill-notes i:nth-child(3) { animation-delay: .95s; }
.at-mpill-notes i:nth-child(4) { animation-delay: 1.9s; }
@keyframes mpBounce {
  0% { transform: translate(-50%, -50%) scale(.4); opacity: 0; }
  15% { opacity: 1; }
  35% { transform: translate(calc(-50% - 10px), -190%) rotate(-12deg) scale(1); }
  55% { transform: translate(calc(-50% - 16px), -140%) rotate(-6deg) scale(1); }
  80% { opacity: 1; transform: translate(calc(-50% - 22px), -260%) rotate(-16deg) scale(1.05); }
  100% { transform: translate(calc(-50% - 26px), -330%) rotate(-20deg) scale(1.05); opacity: 0; }
}
.at-mpill-t { max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; padding: 0; transition: max-width .45s ease, opacity .3s ease, padding .45s ease; }
.at-mpill:hover .at-mpill-t, .at-mpill:focus-within .at-mpill-t, .at-mpill.open .at-mpill-t { max-width: 320px; opacity: 1; padding: 0 14px 0 12px; }
@media (max-width: 760px) { .at-mpill { right: 10px; } .at-mpill-notes { width: 38px; height: 38px; } .at-mpill-t { font-size: 12.5px; } }
@media (prefers-reduced-motion: reduce) { .at-mpill-notes i { animation: none; opacity: 0; } .at-mpill-t { transition: none; } }

/* languages (Faiq, 23 Nov): a globe in the menu bar, and a one-time bar in the visitor's own language (atelier.js) */
.at-lang { position: relative; flex: none; margin-inline: 2px; }
.at-lang-btn { display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--at-rule); background: transparent; color: var(--at-ink); cursor: pointer; font: 600 12px/1 var(--at-sans); letter-spacing: .05em; }
.at-lang-btn:hover, .at-lang-btn[aria-expanded="true"] { color: var(--at-gold); border-color: var(--at-gold); }
.at-lang-list { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 9990; min-width: 150px; margin: 0; padding: 6px; list-style: none; background: var(--surface, #111); border: 1px solid var(--at-rule); border-radius: 16px; box-shadow: 0 18px 50px rgba(20,14,4,.22); }
.at-lang-list[hidden] { display: none; }
.at-lang-list a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--at-ink); text-decoration: none; font: 500 15px/1.3 var(--at-sans); }
.at-lang-list a:hover { background: color-mix(in srgb, var(--at-gold) 12%, transparent); color: var(--at-gold); }
.at-lang-list a[aria-current="true"] { color: var(--at-gold); font-weight: 700; }
.at-langbar { position: fixed; z-index: 9985; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; max-width: calc(100vw - 150px); padding: 6px 6px 6px 16px; border-radius: 999px; background: var(--at-ink); color: var(--black, #faf8f3); border: 1px solid var(--at-gold); box-shadow: 0 10px 30px rgba(20,14,4,.25); font: 500 14px/1.35 var(--at-sans); }
.at-langbar[dir="rtl"] { padding: 6px 16px 6px 6px; }
.at-langbar a { color: inherit; text-decoration: none; }
.at-langbar a:hover { color: var(--at-gold); }
.at-langbar button { background: none; border: 0; color: inherit; opacity: .7; font-size: 18px; line-height: 1; cursor: pointer; padding: 4px 8px; }
@media (max-width: 760px) { .at-lang-btn span { display: none; } .at-lang-btn { width: 40px; padding: 0; justify-content: center; } .at-langbar { bottom: 80px; max-width: calc(100vw - 32px); } }
/* translated pages (ltr): Latin display type */
:root:not([lang="ar"]) { --at-display: 'Playfair Display', Georgia, serif !important; }

/* level chooser (level-filter.js) on the courses and meditations pages */
.lv-sec { padding-bottom: 0 !important; }
.lv-pick { margin: 0 0 34px; }
.lv-q { font-family: var(--at-display); font-size: 1.3rem; margin: 0 0 12px; color: var(--at-ink); }
.lv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lv-chips button { font: inherit; font-size: 15px; color: var(--at-ink-2); background: transparent; border: 1px solid var(--at-rule); border-radius: 999px; padding: 8px 18px; min-height: 44px; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.lv-chips button b { color: var(--at-gold); margin-inline-end: 6px; }
.lv-chips button:hover, .lv-chips button[aria-pressed="true"] { border-color: var(--at-gold); color: var(--at-ink); background: color-mix(in srgb, var(--at-gold) 12%, transparent); }
.lv-intro { margin-top: 18px; padding: 20px 22px; border: 1px solid var(--at-rule); border-inline-start: 3px solid var(--at-gold); border-radius: 14px; }
.lv-intro h3 { font-family: var(--at-display); font-size: 1.35rem; margin: 0 0 6px; color: var(--at-gold); }
.lv-intro p { margin: 6px 0 0; color: var(--at-ink-2); line-height: 1.8; }

/* free sign-up wall (gate.js) on content pages */
html.fq-gate-on, html.fq-gate-on body { overflow: hidden !important; }
.fq-gate { position: fixed; inset: 0; z-index: 950; display: flex; align-items: flex-end; justify-content: center; padding: 24px 16px calc(24px + env(safe-area-inset-bottom));
  background: linear-gradient(to bottom, transparent 0%, color-mix(in srgb, var(--black, #0b0a08) 70%, transparent) 35%, var(--black, #0b0a08) 70%); animation: fqGateIn .5s ease both; }
.fq-gate-card { width: 100%; max-width: 520px; background: var(--surface, #111); color: var(--at-ink); border: 1px solid var(--at-rule); border-radius: 20px; padding: 28px 24px; text-align: center; box-shadow: 0 24px 70px rgba(0,0,0,.35); }
.fq-gate-k { margin: 0; font-size: 13px; letter-spacing: .08em; color: var(--at-gold); }
.fq-gate-card h2 { font-family: var(--at-display); font-size: clamp(1.4rem, 4vw, 1.9rem); margin: 6px 0 10px; color: var(--at-ink); }
.fq-gate-card p { margin: 0 0 18px; color: var(--at-ink-2); line-height: 1.8; }
.fq-gate-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
@keyframes fqGateIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .fq-gate { animation: none; } }
html.fq-gate-on .at-langbar { display: none !important; } /* the language bar sat on the sign-up buttons */

/* the magnifier sits with «حسابي» (Faiq, 23 Nov) */
.at-nav-acc { display: flex; align-items: center; gap: 8px; }
.at-nav-acc .at-search-btn { margin-inline: 0; }
/* the music button follows the theme colour, like the assistant (Faiq, 23 Nov) */
.at-mpill-notes { background: radial-gradient(circle at 40% 35%, color-mix(in srgb, var(--at-gold) 45%, #fff), var(--at-gold) 60%, color-mix(in srgb, var(--at-gold) 70%, #000)) !important; }
.at-mpill-notes b { color: color-mix(in srgb, var(--at-gold) 22%, #000) !important; }
.at-mpill-notes i { color: var(--at-gold) !important; text-shadow: 0 0 6px color-mix(in srgb, var(--at-gold) 55%, transparent) !important; }
/* en/fr/es/de pages (html dir=ltr): the shared CSS pins rtl on body/nav, flip it back (Faiq, 24 Nov) */
html[dir="ltr"] body, html[dir="ltr"] .faiq-nav, html[dir="ltr"] .cp-menu ul { direction: ltr; }
html[dir="ltr"] .at-sb-list button, html[dir="ltr"] .data-table th, html[dir="ltr"] .data-table td, html[dir="ltr"] .team-card .card-traits { text-align: left; }
html[dir="ltr"] .two-col.reverse { direction: rtl; } html[dir="ltr"] .two-col.reverse > * { direction: ltr; }
/* envelope says it in Arabic (right) and English (left), on every language page (Faiq, 24 Nov) */
.gf-here { display: flex !important; justify-content: space-between; align-items: baseline; gap: 6%; padding-inline: 8%; direction: rtl; }
.gf-here b { font: inherit; }
.gf-here b[lang="en"] { font-size: .72em; letter-spacing: .02em; }
/* the gift bar's show (atelier.js giftShow, Faiq site 9): our own postman, drawn in SVG; legs walk (SMIL), a bob while he walks,
   the front arm (its own SVG, above the gift) rises to point at the envelope. */
.gf-line, .gf-txt { display: inline-block; }
.gf-wheel.gf-still { animation: none !important; }
.gf-stage { position: absolute; inset: 0; pointer-events: none; overflow-x: clip !important; overflow-y: visible !important; display: block; font-style: normal; } /* sideways: nothing leaves the bar (RTL pages would scroll) */
.gf-walker { position: absolute; left: 0; bottom: -4px; width: 60px; height: 64px; opacity: 0; display: block; font-style: normal; will-change: transform; transform-origin: 50% 100%; }
.gf-pm, .gf-pm-arm { position: absolute; inset: 0; width: 60px; height: 64px; overflow: visible; }
.gf-pm { filter: drop-shadow(0 1px 1.2px rgba(60,40,8,.4)); }
.gf-arm { transform-box: view-box; transform-origin: 30px 24.5px; transition: transform .35s ease; }
.gf-walker.point .gf-arm { transform: rotate(-75deg); }
.gf-walker.walk .gf-pm, .gf-walker.walk .gf-pm-arm, .gf-walker.walk .gf-box { animation: gfBob .225s ease-in-out infinite alternate; }
.gf-box { position: absolute; left: 34px; bottom: 19px; width: 26px; height: 23px; overflow: visible; transform-origin: 50% 50%; filter: drop-shadow(0 2px 2px rgba(60,40,8,.35)); }
.gf-lid { transform-box: fill-box; transform-origin: 20% 100%; }
@keyframes gfBob { from { translate: 0 0; } to { translate: 0 -1.5px; } }
.gf-dust { position: absolute; font-style: normal; font-size: 13px; color: #fff3d0; text-shadow: 0 0 4px rgba(120,90,30,.6); }
.gf-spark { position: absolute; font-style: normal; font-size: 11px; color: #fff6d6; text-shadow: 0 0 6px rgba(255,236,170,.95); }
/* phones (site 11): search · language · door · bell must leave room for the menu button — smaller, closer icons */
@media (max-width: 480px) {
  .faiq-nav .at-nav-acc { gap: 2px; }
  .faiq-nav .at-nav-acc .at-search-btn, .faiq-nav .at-nav-acc .at-lang-btn, .faiq-nav .at-nav-acc .fq-bell-site, .faiq-nav .at-nav-acc a.nav-cta { box-sizing: border-box; width: 34px !important; min-width: 34px !important; height: 34px !important; min-height: 34px !important; padding: 0 !important; justify-content: center; }
  .faiq-nav .at-nav-acc .at-lang { margin-inline: 0; }
  .faiq-nav .nav-logo { min-width: 0; flex-shrink: 1; }
}
@media (max-width: 380px) { .faiq-nav .nav-logo-sub { font-size: .5rem; letter-spacing: 1px; } }

/* dates (Faiq 25 Nov): official launch 1 Dec + first live 30 Dec — card after the gift on the homepage, a short note on other pages */
.dt .gf-card p.dt-row { margin: 0 0 16px; }
.dt-cal { display: block; margin-top: 12px; color: #9a7417 !important; font-size: 14px; text-decoration: underline; }
.dt-toast { position: fixed; inset-inline: 12px; bottom: 88px; z-index: 9990; max-width: 420px; margin-inline: auto; display: flex; flex-direction: column; gap: 3px; padding: 14px 18px; padding-inline-end: 44px; background: linear-gradient(#fffaf0, #fbf1da); color: #7a5c12; border: 1.5px solid #d4af37; border-radius: 16px; box-shadow: 0 0 0 5px rgba(212,175,55,.12), 0 24px 50px -22px rgba(0,0,0,.5); font-family: 'IBM Plex Sans Arabic', var(--at-sans); font-size: 14px; line-height: 1.65; opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.dt-toast.in { opacity: 1; transform: none; }
.dt-toast b { color: #9a7417; font-size: 15px; }
.dt-more { align-self: flex-start; margin-top: 4px; padding: 0; border: 0; background: none; color: #9a7417; font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.dt-tx { position: absolute; top: 6px; inset-inline-end: 10px; width: 30px; height: 30px; border: 0; background: none; color: #9a7417; font-size: 22px; line-height: 1; cursor: pointer; }

/* ===== path pages (services/twin-flame, peace-*, abundance — Faiq 27 Nov): readable cards, numbered steps beside the title ===== */
.pa-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-top: 28px; }
.pa-card { border: 1px solid var(--at-rule); border-radius: 18px; padding: 22px 20px; background: color-mix(in srgb, var(--at-paper-2) 70%, transparent); }
.pa-card h3 { font-family: var(--at-display); font-weight: 500; font-size: 1.25rem; line-height: 1.45; margin: 0 0 8px; color: var(--at-ink); }
.pa-card p, .pa-card li { margin: 0; font-size: 16px; line-height: 1.85; color: var(--at-ink-2); font-weight: 300; }
.pa-card ul { margin: 6px 0 0; padding-inline-start: 18px; }
.pa-card .pa-tag { display: inline-block; font-size: 13px; padding: 3px 12px; border-radius: 999px; margin-bottom: 10px; background: color-mix(in srgb, var(--at-gold) 14%, transparent); color: var(--at-gold); }
a.pa-go { display: inline-block; margin-top: 10px; color: var(--at-gold); font-weight: 600; text-decoration: none; }
a.pa-go:hover { text-decoration: underline; }
.pa-meta { color: var(--at-ink-3); font-size: 15px; margin: 0 0 8px; }
.at-station .knot b { font-family: 'Tajawal', var(--at-sans), sans-serif; font-size: 22px; font-weight: 800; line-height: 1; }
.at-station > div { min-width: 0; padding-top: 6px; }
.at-station .at-body { margin-bottom: 0; }
.pa-note { margin-top: 24px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--at-rule); background: color-mix(in srgb, var(--at-gold) 6%, transparent); font-size: 15px; line-height: 1.9; color: var(--at-ink-2); }
.pa-join { text-align: center; }
.pa-join .at-kicker { justify-content: center; }
.pa-join .at-lede { margin-inline: auto; text-align: center; }
.pa-join .pa-small { margin-top: 18px; font-size: 14px; color: var(--at-ink-3); }
@media (max-width: 640px) { .pa-card { padding: 18px 16px; } .at-station .knot b { font-size: 20px; } }
.pa-quote { margin: 22px 0; padding: 18px 22px; border-inline-start: 3px solid var(--at-gold); background: color-mix(in srgb, var(--at-gold) 6%, transparent); border-radius: 0 14px 14px 0; }
[dir="rtl"] .pa-quote { border-radius: 14px 0 0 14px; }
.pa-quote p { margin: 0; font-family: var(--at-serif); font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.9; color: var(--at-ink); }
.pa-quote cite { display: block; margin-top: 8px; font-style: normal; font-size: 14px; color: var(--at-gold); }
.pa-quote cite::before { content: '— '; }
.pa-card.pa-yes h3::before { content: '✓ '; color: var(--at-gold); }
.pa-card.pa-no h3::before { content: '✕ '; color: var(--at-ink-3); }
.pa-card ul li { margin-bottom: 6px; }
.pa-signs { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 28px; }
.pa-signs li { position: relative; padding: 11px 0; padding-inline-start: 22px; border-top: 1px solid var(--at-rule); font-size: 16px; line-height: 1.8; color: var(--at-ink-2); font-weight: 300; }
.pa-signs li::before { content: ''; position: absolute; inset-inline-start: 2px; top: 22px; width: 8px; height: 8px; border-radius: 50%; background: var(--at-gold); }
.pa-inc { max-width: 640px; }
.pa-checks { list-style: none; padding: 0 !important; margin: 10px 0 0; }
.pa-checks li { position: relative; padding: 7px 0; padding-inline-start: 26px; border-top: 1px solid var(--at-rule); }
.pa-checks li::before { content: '✓'; position: absolute; inset-inline-start: 2px; top: 7px; color: var(--at-gold); font-weight: 700; }
.pa-table-wrap { margin-top: 22px; overflow-x: auto; border: 1px solid var(--at-rule); border-radius: 16px; }
.pa-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.7; color: var(--at-ink-2); }
.pa-table th, .pa-table td { padding: 12px 14px; text-align: start; border-bottom: 1px solid var(--at-rule); vertical-align: top; }
.pa-table thead th { font-family: var(--at-display); font-weight: 500; color: var(--at-ink); background: color-mix(in srgb, var(--at-gold) 8%, transparent); }
.pa-table tr:last-child td { border-bottom: 0; }
.pa-table td:first-child { color: var(--at-ink); font-weight: 500; }
.pa-table td.ok { color: var(--at-gold); font-weight: 700; }
.pa-levels { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.pa-levels a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--at-rule); border-radius: 14px; text-decoration: none; color: var(--at-ink); transition: border-color .3s ease; }
.pa-levels a:hover { border-color: var(--at-gold); }
.pa-levels b { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--at-gold); color: var(--at-gold); font-family: 'Tajawal', var(--at-sans), sans-serif; font-weight: 800; font-size: 18px; }
.pa-levels span { font-size: 16px; line-height: 1.5; }
.pa-levels [aria-current] a { border-color: var(--at-gold); background: color-mix(in srgb, var(--at-gold) 10%, transparent); }
.pa-levels [aria-current] b { background: var(--at-gold); color: var(--at-paper); }
@media (max-width: 640px) { .pa-table { font-size: 14px; } .pa-table th, .pa-table td { padding: 10px; } }

/* Faiq's integrated method — three circles with his photo (method-map.js, #methodVenn) */
.mv-wrap svg { max-width: 460px; order: 2; } /* Faiq 27 Nov: circles on the left, text on the right (the wheel above stays the other way) */
.mv-c { fill: color-mix(in srgb, var(--c) 9%, transparent); stroke: var(--c); stroke-width: 1.6; cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent; transition: fill .3s ease, filter .3s ease, stroke-width .3s ease; }
.mv-c:hover, .mv-c:focus-visible { fill: color-mix(in srgb, var(--c) 20%, transparent); }
.mv-c.on { fill: color-mix(in srgb, var(--c) 24%, transparent); stroke-width: 2.4; filter: drop-shadow(0 0 10px color-mix(in srgb, var(--c) 55%, transparent)); }
.mv-l { font: 600 17px var(--at-sans); fill: var(--c); text-anchor: middle; pointer-events: none; }
.mv-me { cursor: pointer; outline: none; }
.mv-ring { fill: var(--black, #1c1914); stroke: var(--at-gold); stroke-width: 3; filter: drop-shadow(0 0 14px color-mix(in srgb, var(--at-gold) 55%, transparent)); transition: stroke-width .3s ease; }
.mv-me:hover .mv-ring, .mv-me:focus-visible .mv-ring { stroke-width: 5; }
.mv-go { margin-top: 6px; }
.at-station.mv-on { border-radius: 16px; box-shadow: 0 0 0 1px var(--at-gold), 0 10px 40px color-mix(in srgb, var(--at-gold) 18%, transparent); transition: box-shadow .4s ease; }
@media (max-width: 820px) { .mv-wrap svg { max-width: 360px; order: 0; } .mv-l { font-size: 19px; } }
.pa-table td.ok::before { content: "\2713"; }
.pa-diff { list-style: none; margin: 18px 0 0; padding: 0; max-width: 44rem; }
.pa-diff li { position: relative; padding: 10px 0; padding-inline-start: 28px; border-top: 1px solid var(--at-rule); font-size: 16px; line-height: 1.8; color: var(--at-ink-2); font-weight: 300; }
.pa-diff li::before { position: absolute; inset-inline-start: 2px; top: 10px; font-weight: 700; }
.pa-diff li.no::before { content: "\2715"; color: var(--at-ink-3); }
.pa-diff li.yes::before { content: "\2713"; color: var(--at-gold); }
.pa-note h3 { font-family: var(--at-display); font-weight: 500; font-size: 1.2rem; margin: 0 0 8px; color: var(--at-ink); }
.pa-note ul { margin: 0; padding-inline-start: 20px; }
.pa-note li { margin: 6px 0; }
.pa-terms { margin-top: 20px; border-top: 1px solid var(--at-rule); }
.pa-terms details { border-bottom: 1px solid var(--at-rule); }
.pa-terms summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 18px 0; font-family: var(--at-display); font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--at-ink); }
.pa-terms summary::-webkit-details-marker { display: none; }
.pa-terms summary b { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--at-gold); color: var(--at-gold); font-family: 'Tajawal', var(--at-sans), sans-serif; font-weight: 800; font-size: 16px; }
.pa-terms details[open] summary { color: var(--at-gold); }
.pa-terms p { margin: 0 0 18px; padding-inline-start: 44px; font-size: 16px; line-height: 1.9; color: var(--at-ink-2); font-weight: 300; }
.pa-refund { display: inline-block; margin-bottom: 10px; padding: 6px 14px; border-radius: 999px; background: color-mix(in srgb, var(--at-gold) 14%, transparent); color: var(--at-gold); font-weight: 600; font-size: 15px; }
.pa-warn p::before { content: "\26A0\FE0F  "; }

/* 28 Nov: the page must never slide sideways (trackpad swipe-back slide, or anything poking past the edge like the gift walker) */
html, body { overscroll-behavior-x: none; overflow-x: clip; }
