/* =====================================================================
   DigiDollar — Founder profile page  «علی اسدی»      (dd-ali-asadi.css)
   ---------------------------------------------------------------------
   An award-grade, fully self-contained author/founder page. Loaded ONLY
   on /ali-asadi/ (enqueued by inc/ali-asadi.php). RTL-first, brand-gold,
   glassmorphic, dark-mode aware (html[data-dracula-scheme="dark"]),
   motion-safe (honours prefers-reduced-motion via the .dd-ali--motion
   class that JS adds only when motion is allowed).

   Everything is namespaced under .dd-ali and the root breaks OUT of the
   theme's constrained .grid-container to span the full viewport, while an
   inner .dd-ali__wrap re-centres the readable column — so the layout is
   independent of the theme's width quirks.
   ===================================================================== */

.dd-ali {
	/* brand tokens (with safe fallbacks) */
	--g:        var(--dd-gold, #e0be00);
	--g2:       var(--dd-gold-2, #fdb837);
	--g3:       var(--dd-gold-bright, #ffbf2f);
	--gd:       var(--dd-gold-deep, #9a7d00);
	--grad:     var(--dd-grad, linear-gradient(135deg,#fdb837 0%,#ffbf2f 45%,#e0be00 100%));
	--gtext:    var(--dd-grad-text, linear-gradient(100deg,#c79a00 0%,#fdb837 60%,#ffd366 100%));
	--ink:      var(--dd-ink, #18181c);
	--muted:    var(--dd-muted, #6c6c78);
	--soft:     var(--dd-bg-soft, #faf7ef);
	--card:     var(--dd-card, rgba(255,255,255,.74));
	--brd:      var(--dd-card-brd, rgba(20,20,35,.08));
	--hair:     var(--dd-hair, rgba(224,190,0,.28));
	--radius:   var(--dd-radius, 18px);
	--radius-lg:var(--dd-radius-lg, 26px);
	--shadow:   var(--dd-shadow, 0 14px 38px -16px rgba(25,22,50,.22));
	--glow:     var(--dd-glow, 0 18px 60px -26px rgba(224,190,0,.55));

	/* page-local */
	--maxw: 1140px;
	--ease: cubic-bezier(.22,.61,.36,1);
	--page-bg: radial-gradient(120% 90% at 100% -8%, #fff7df 0%, transparent 46%),
	           radial-gradient(120% 90% at 0% -6%, #fdfbf3 0%, transparent 44%),
	           linear-gradient(180deg, #fdfbf4 0%, #ffffff 30%, #fdfbf4 100%);

	/* sit inside the theme column — which we force to true full width below
	   (see "Page shell"). Avoids the fragile 100vw breakout that shifted /
	   clipped the content sideways in RTL on this template. */
	width: 100%;
	position: relative;
	color: var(--ink);
	background: var(--page-bg);
	overflow-x: clip;
	font-feature-settings: "ss01","cv01";
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	line-height: 1.85;
}

html[data-dracula-scheme="dark"] .dd-ali {
	--page-bg: radial-gradient(120% 90% at 100% -8%, rgba(253,184,55,.10) 0%, transparent 48%),
	           radial-gradient(120% 90% at 0% -6%, rgba(224,190,0,.07) 0%, transparent 46%),
	           linear-gradient(180deg, #121217 0%, #0d0d11 38%, #121217 100%);
}

/* =====================================================================
   PAGE SHELL — force the Fullwidth template's content chain to a TRUE,
   centred, full-width column on this page only (scoped via :has(.dd-ali),
   the same technique dd-widgets.css already uses). Without this the chain
   #page.grid-container › #single.center.fullcover › .left-content ›
   .post-content › .text is narrower/off-centre, so any full-bleed layout
   drifts sideways and clips in RTL.
   ===================================================================== */
#page.grid-container:has(.dd-ali) {
	max-width: 100% !important;
	width: 100% !important;
	margin-inline: auto !important;
	padding-inline: 0 !important;
}
.fullcover:has(.dd-ali),
.left-content:has(.dd-ali),
.post-content:has(.dd-ali),
.text:has(.dd-ali) {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	margin-inline: 0 !important;
	padding-inline: 0 !important;
}
.post-content:has(.dd-ali),
.text:has(.dd-ali) { padding-block: 0 !important; }

.dd-ali { margin: 0 !important; }

.dd-ali * { box-sizing: border-box; }
.dd-ali :where(p) { margin: 0 0 1.1em; }
.dd-ali a { color: inherit; text-decoration: none; }

.dd-ali__wrap {
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: clamp(18px, 5vw, 44px);
}

/* shared section rhythm */
.dd-ali__section { padding-block: clamp(56px, 8vw, 116px); position: relative; scroll-margin-top: 96px; }
.dd-ali__section + .dd-ali__section { padding-top: 0; }

/* ---- gradient ink helpers ---- */
.dd-ali__grad {
	background: var(--gtext);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
}

/* =====================================================================
   SECTION HEADERS
   ===================================================================== */
.dd-ali__head { text-align: center; max-width: 760px; margin-inline: auto; margin-bottom: clamp(34px, 5vw, 58px); }
.dd-ali__kicker {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 12.5px; font-weight: 800; letter-spacing: .12em;
	color: var(--gd); text-transform: uppercase;
	padding: 6px 14px; border-radius: 999px;
	background: linear-gradient(180deg, rgba(255,255,255,.6), rgba(255,255,255,.2));
	border: 1px solid var(--hair);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
html[data-dracula-scheme="dark"] .dd-ali__kicker {
	color: var(--g3);
	background: rgba(255,255,255,.04);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.dd-ali__kicker::before { content:""; width:6px; height:6px; border-radius:50%; background: var(--g2); box-shadow:0 0 10px var(--g2); }
.dd-ali__h2 {
	font-size: clamp(26px, 4.2vw, 44px);
	font-weight: 900; line-height: 1.25; margin: 16px 0 0; letter-spacing: -.01em;
}
.dd-ali__sub { color: var(--muted); font-size: clamp(15px, 1.6vw, 18px); margin-top: 14px; }

/* =====================================================================
   HERO
   ===================================================================== */
.dd-ali__hero {
	position: relative;
	padding-block: clamp(64px, 11vw, 150px) clamp(48px, 7vw, 96px);
	overflow: hidden;
	isolation: isolate;
}
.dd-ali__aurora { position: absolute; inset: -20% -10% auto -10%; height: 130%; z-index: -1; pointer-events: none; }
.dd-ali__aurora::before, .dd-ali__aurora::after {
	content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .8;
}
.dd-ali__aurora::before {
	width: 52vw; height: 52vw; top: -16vw; inset-inline-end: -8vw;
	background: radial-gradient(circle at 30% 30%, rgba(255,191,47,.55), rgba(253,184,55,.18) 45%, transparent 70%);
}
.dd-ali__aurora::after {
	width: 40vw; height: 40vw; bottom: -14vw; inset-inline-start: -6vw;
	background: radial-gradient(circle at 60% 40%, rgba(224,190,0,.32), transparent 68%);
}
.dd-ali--motion .dd-ali__aurora::before { animation: ddali-float1 14s var(--ease) infinite alternate; }
.dd-ali--motion .dd-ali__aurora::after  { animation: ddali-float2 18s var(--ease) infinite alternate; }
@keyframes ddali-float1 { to { transform: translate3d(-3vw, 3vw, 0) scale(1.08); } }
@keyframes ddali-float2 { to { transform: translate3d(3vw, -2vw, 0) scale(1.12); } }

/* fine grain overlay for that premium print feel */
.dd-ali__hero::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
	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='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.038'/%3E%3C/svg%3E");
}

.dd-ali__hero-grid {
	display: grid;
	grid-template-columns: 1.35fr .9fr;
	align-items: center;
	gap: clamp(28px, 5vw, 72px);
}
@media (max-width: 880px) {
	.dd-ali__hero-grid { grid-template-columns: 1fr; text-align: center; }
	.dd-ali__hero-figure { order: -1; }
}

.dd-ali__eyebrow {
	display: inline-flex; align-items: center; gap: 9px;
	font-size: 13px; font-weight: 800; letter-spacing: .04em;
	color: var(--gd);
	padding: 7px 16px 7px 14px; border-radius: 999px;
	background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.32));
	border: 1px solid var(--hair);
	box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.7);
	margin-bottom: 22px;
}
html[data-dracula-scheme="dark"] .dd-ali__eyebrow { color: var(--g3); background: rgba(255,255,255,.05); }
.dd-ali__eyebrow svg { width: 16px; height: 16px; }

.dd-ali__name {
	font-size: clamp(40px, 8vw, 86px);
	font-weight: 900; line-height: 1.02; letter-spacing: -.02em;
	margin: 0 0 6px;
}
.dd-ali__name .dd-ali__grad { padding-inline: .04em; }
.dd-ali__legal { display: block; font-size: clamp(13px, 1.5vw, 15px); font-weight: 600; color: var(--muted); letter-spacing: .02em; margin-top: 12px; }
.dd-ali__role {
	font-size: clamp(17px, 2.3vw, 24px); font-weight: 800; margin: 18px 0 0; color: var(--ink);
}
.dd-ali__role b { color: var(--gd); }
html[data-dracula-scheme="dark"] .dd-ali__role b { color: var(--g3); }

.dd-ali__lead {
	font-size: clamp(15.5px, 1.8vw, 19px);
	color: var(--muted); max-width: 56ch; margin: 20px 0 0;
}
@media (max-width: 880px) { .dd-ali__lead { margin-inline: auto; } }

.dd-ali__meta {
	display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 26px;
}
@media (max-width: 880px) { .dd-ali__meta { justify-content: center; } }
.dd-ali__chip {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13.5px; font-weight: 700; color: var(--ink);
	padding: 9px 14px; border-radius: 12px;
	background: var(--card);
	border: 1px solid var(--brd);
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.dd-ali__chip svg { width: 16px; height: 16px; color: var(--gd); flex: 0 0 auto; }
html[data-dracula-scheme="dark"] .dd-ali__chip svg { color: var(--g3); }

.dd-ali__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
@media (max-width: 880px) { .dd-ali__cta { justify-content: center; } }
.dd-ali__btn {
	display: inline-flex; align-items: center; gap: 9px;
	font-size: 15px; font-weight: 800; padding: 14px 26px; border-radius: 14px;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s;
	will-change: transform;
}
.dd-ali__btn svg { width: 18px; height: 18px; }
.dd-ali__btn--gold {
	color: #2b2000; background: var(--grad);
	box-shadow: 0 14px 30px -12px rgba(224,190,0,.7), inset 0 1px 0 rgba(255,255,255,.5);
	position: relative; overflow: hidden;
}
.dd-ali__btn--gold::after {
	content: ""; position: absolute; inset: 0; transform: translateX(-130%);
	background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
}
.dd-ali--motion .dd-ali__btn--gold:hover::after { transition: transform .9s var(--ease); transform: translateX(130%); }
.dd-ali__btn--gold:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -14px rgba(224,190,0,.85); }
.dd-ali__btn--ghost {
	color: var(--ink); background: var(--card); border: 1px solid var(--hair);
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.dd-ali__btn--ghost:hover { transform: translateY(-3px); border-color: var(--g2); box-shadow: var(--shadow); }

/* ---- hero medallion / avatar ---- */
.dd-ali__hero-figure { display: flex; justify-content: center; }
.dd-ali__medallion {
	position: relative; width: clamp(220px, 30vw, 330px); aspect-ratio: 1;
	display: grid; place-items: center;
}
.dd-ali__ring {
	position: absolute; inset: 0; border-radius: 50%;
	background: conic-gradient(from 0deg, var(--g3), var(--gd), var(--g2), #fff3c4, var(--g3));
	padding: 4px;
	-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
	        mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
	filter: drop-shadow(0 0 22px rgba(253,184,55,.45));
}
.dd-ali--motion .dd-ali__ring { animation: ddali-spin 12s linear infinite; }
@keyframes ddali-spin { to { transform: rotate(360deg); } }
.dd-ali__halo {
	position: absolute; inset: -9%; border-radius: 50%; z-index: -1;
	background: radial-gradient(circle, rgba(253,184,55,.4), transparent 62%);
	filter: blur(14px);
}
.dd-ali--motion .dd-ali__halo { animation: ddali-pulse 3.6s var(--ease) infinite; }
@keyframes ddali-pulse { 50% { transform: scale(1.06); opacity: .8; } }
.dd-ali__disc {
	position: relative; width: 86%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
	display: grid; place-items: center;
	background:
		radial-gradient(120% 120% at 30% 22%, #fff8e2 0%, #f7e6a8 30%, #e9c64f 60%, #b98e16 100%);
	box-shadow: inset 0 6px 18px rgba(255,255,255,.65), inset 0 -16px 30px rgba(120,86,0,.4), var(--glow);
}
.dd-ali__disc img { width: 100%; height: 100%; object-fit: cover; }
.dd-ali__mono {
	display: flex; flex-direction: column; align-items: center; gap: 4px;
	line-height: 1; color: #6a4e00; text-align: center; padding-inline: 6%;
	font-family: ui-sans-serif, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	text-shadow: 0 2px 0 rgba(255,255,255,.5), 0 -1px 0 rgba(120,86,0,.3);
}
.dd-ali__mono .m-top {
	font-size: clamp(13px, 2vw, 17px); font-weight: 800; letter-spacing: .42em;
	text-indent: .42em; text-transform: uppercase; opacity: .72;
}
.dd-ali__mono .m-main {
	font-size: clamp(33px, 6vw, 54px); font-weight: 900; letter-spacing: .005em;
	text-transform: uppercase;
}
.dd-ali__seal {
	position: absolute; inset-block-end: 6%; inset-inline-start: 8%;
	width: clamp(44px, 6vw, 60px); aspect-ratio: 1; border-radius: 50%;
	display: grid; place-items: center; color: #fff;
	background: linear-gradient(135deg, #1ea97c, #15805f);
	border: 3px solid #fff;
	box-shadow: 0 10px 22px -8px rgba(30,169,124,.7);
}
html[data-dracula-scheme="dark"] .dd-ali__seal { border-color: #16161c; }
.dd-ali__seal svg { width: 52%; height: 52%; }
.dd-ali--motion .dd-ali__seal { animation: ddali-pop .6s var(--ease) .5s both; }
@keyframes ddali-pop { from { transform: scale(0); } 70% { transform: scale(1.15); } to { transform: scale(1); } }

/* floating mini-badges around the medallion */
.dd-ali__orbit { position: absolute; display: inline-flex; align-items: center; gap: 7px;
	font-size: 12px; font-weight: 800; color: var(--ink);
	padding: 8px 12px; border-radius: 12px; background: var(--card);
	border: 1px solid var(--hair); box-shadow: var(--shadow);
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); white-space: nowrap;
}
.dd-ali__orbit svg { width: 15px; height: 15px; color: var(--gd); }
html[data-dracula-scheme="dark"] .dd-ali__orbit svg { color: var(--g3); }
.dd-ali__orbit--1 { inset-block-start: 6%;  inset-inline-start: -6%; }
.dd-ali__orbit--2 { inset-block-end: 14%; inset-inline-end: -8%; }
.dd-ali--motion .dd-ali__orbit--1 { animation: ddali-bob 5s var(--ease) infinite; }
.dd-ali--motion .dd-ali__orbit--2 { animation: ddali-bob 6.5s var(--ease) infinite .5s; }
@keyframes ddali-bob { 50% { transform: translateY(-9px); } }
@media (max-width: 520px) { .dd-ali__orbit { display: none; } }

/* =====================================================================
   LEAD / OVERTURE PROSE
   ===================================================================== */
.dd-ali__overture .dd-ali__wrap { max-width: 820px; }
.dd-ali__prose { font-size: clamp(16.5px, 1.9vw, 20px); line-height: 1.95; }
.dd-ali__prose p { color: var(--ink); }
/* Opening paragraph — a touch larger/weightier than body, with a leading gold
   accent bar. (No CSS drop-cap: ::first-letter splits Persian's cursive «هر»
   into «ه»+«ر», which reads as broken.) */
.dd-ali__opening {
	font-size: 1.12em; font-weight: 600; line-height: 1.9;
	position: relative; padding-inline-start: 22px;
}
.dd-ali__opening::before {
	content: ""; position: absolute; inset-block: .25em .25em; inset-inline-start: 0;
	width: 5px; border-radius: 5px; background: var(--grad);
	box-shadow: 0 0 16px rgba(253,184,55,.5);
}
.dd-ali__lead-line { color: var(--muted) !important; font-size: 1.05em; }
.dd-ali mark.dd-ali__hl {
	background: linear-gradient(180deg, transparent 58%, rgba(253,184,55,.42) 58%);
	color: inherit; padding: 0 .06em; font-weight: 800;
}

/* =====================================================================
   TIMELINE — «روایت»
   ===================================================================== */
.dd-ali__timeline { position: relative; max-width: 920px; margin-inline: auto; padding-inline-start: 6px; }
/* the rail (RTL → right edge) */
.dd-ali__rail { position: absolute; inset-block: 6px 0; inset-inline-start: 26px; width: 3px; border-radius: 3px;
	background: linear-gradient(180deg, var(--hair), rgba(224,190,0,.08)); overflow: hidden; }
.dd-ali__rail-fill { position: absolute; inset-block-start: 0; inset-inline: 0; height: var(--p, 0%);
	background: linear-gradient(180deg, var(--g3), var(--g)); box-shadow: 0 0 14px rgba(253,184,55,.7); }

.dd-ali__step { position: relative; padding-inline-start: 70px; padding-block: 0 clamp(26px, 4vw, 46px); }
.dd-ali__step:last-child { padding-bottom: 0; }
.dd-ali__node {
	position: absolute; inset-inline-start: 9px; inset-block-start: 2px;
	width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
	color: #4a3700; background: var(--grad);
	border: 4px solid var(--soft);
	box-shadow: 0 8px 20px -8px rgba(224,190,0,.8); z-index: 1;
}
html[data-dracula-scheme="dark"] .dd-ali__node { border-color: #15151a; }
.dd-ali__node svg { width: 18px; height: 18px; }
.dd-ali__card {
	position: relative; border-radius: var(--radius-lg);
	background: var(--card); border: 1px solid var(--brd);
	box-shadow: var(--shadow);
	padding: clamp(20px, 3vw, 30px);
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.dd-ali__card::before {
	content: ""; position: absolute; inset-block: 22px auto; inset-inline-start: -8px; width: 16px; height: 16px;
	transform: rotate(45deg); background: var(--card); border-inline-start: 1px solid var(--brd); border-block-end: 1px solid var(--brd);
}
.dd-ali__card:hover { transform: translateY(-4px); border-color: var(--hair); box-shadow: var(--glow); }
.dd-ali__year {
	display: inline-flex; align-items: center; gap: 7px;
	font-size: 12.5px; font-weight: 800; letter-spacing: .04em; color: var(--gd);
	padding: 5px 12px; border-radius: 999px; background: rgba(224,190,0,.1); border: 1px solid var(--hair);
	margin-bottom: 12px;
}
html[data-dracula-scheme="dark"] .dd-ali__year { color: var(--g3); background: rgba(255,191,47,.1); }
.dd-ali__step-title { font-size: clamp(18px, 2.3vw, 23px); font-weight: 900; margin: 0 0 8px; letter-spacing: -.01em; }
.dd-ali__step-body { color: var(--muted); font-size: clamp(14.5px, 1.6vw, 16.5px); margin: 0; }
.dd-ali__step-body b { color: var(--ink); font-weight: 800; }

/* =====================================================================
   PILLARS — «باور او به کار»
   ===================================================================== */
.dd-ali__pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 860px) { .dd-ali__pillars { grid-template-columns: 1fr; } }
.dd-ali__pillar {
	position: relative; border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px);
	background: var(--card); border: 1px solid var(--brd); box-shadow: var(--shadow);
	overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.dd-ali__pillar::before {
	content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 4px;
	background: var(--grad); transform: scaleX(0); transform-origin: inline-start; transition: transform .5s var(--ease);
}
.dd-ali__pillar:hover { transform: translateY(-6px); border-color: var(--hair); box-shadow: var(--glow); }
.dd-ali__pillar:hover::before { transform: scaleX(1); }
.dd-ali__pillar-num {
	position: absolute; inset-block-start: 14px; inset-inline-end: 18px;
	font-size: 54px; font-weight: 900; line-height: 1; color: var(--ink); opacity: .06;
}
.dd-ali__pillar-ic {
	width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; color: #4a3700;
	background: linear-gradient(135deg, #fff2c6, #ffd870); border: 1px solid var(--hair);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 10px 22px -12px rgba(224,190,0,.8);
	margin-bottom: 18px;
}
html[data-dracula-scheme="dark"] .dd-ali__pillar-ic { background: linear-gradient(135deg, rgba(255,191,47,.22), rgba(224,190,0,.12)); color: var(--g3); }
.dd-ali__pillar-ic svg { width: 28px; height: 28px; }
.dd-ali__pillar h3 { font-size: clamp(18px, 2.2vw, 22px); font-weight: 900; margin: 0 0 10px; }
.dd-ali__pillar p { color: var(--muted); font-size: 15px; margin: 0; }

/* =====================================================================
   ROADMAP / VISION — «چشم‌اندازِ پیشِ‌رو»
   ===================================================================== */
.dd-ali__kicker svg { width: 14px; height: 14px; }
.dd-ali__roadmap { display: flex; flex-direction: column; gap: clamp(16px, 2vw, 22px); }
.dd-ali__phase {
	position: relative; overflow: hidden; border-radius: var(--radius-lg);
	background: var(--card); border: 1px solid var(--brd); box-shadow: var(--shadow);
	padding: clamp(22px, 3.2vw, 36px);
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.dd-ali__phase:hover { transform: translateY(-4px); border-color: var(--hair); box-shadow: var(--glow); }
.dd-ali__phase::before {
	content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 4px;
	background: var(--grad); opacity: 0; transition: opacity .4s var(--ease);
}
.dd-ali__phase--now { border-color: var(--hair); box-shadow: var(--glow); }
.dd-ali__phase--now::before { opacity: 1; }

.dd-ali__phase-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.dd-ali__phase-badge {
	display: inline-flex; align-items: center; gap: 7px;
	font-size: 12.5px; font-weight: 800; letter-spacing: .03em;
	padding: 6px 13px; border-radius: 999px; border: 1px solid transparent;
}
.dd-ali__phase-badge--now  { color: #15805f; background: rgba(30,169,124,.12); border-color: rgba(30,169,124,.32); }
.dd-ali__phase-badge--soon { color: var(--gd); background: rgba(224,190,0,.12); border-color: var(--hair); }
.dd-ali__phase-badge--next { color: var(--muted); background: rgba(120,120,135,.1); border-color: var(--brd); }
html[data-dracula-scheme="dark"] .dd-ali__phase-badge--now  { color: #4fd6a8; }
html[data-dracula-scheme="dark"] .dd-ali__phase-badge--soon { color: var(--g3); }
.dd-ali__live-dot { width: 8px; height: 8px; border-radius: 50%; background: #1ea97c; display: inline-block; }
.dd-ali--motion .dd-ali__live-dot { animation: ddali-live 1.8s ease-out infinite; }
@keyframes ddali-live { 0% { box-shadow: 0 0 0 0 rgba(30,169,124,.55); } 70% { box-shadow: 0 0 0 7px rgba(30,169,124,0); } 100% { box-shadow: 0 0 0 0 rgba(30,169,124,0); } }
.dd-ali__phase-step { font-size: 13px; font-weight: 800; color: var(--muted); letter-spacing: .02em; }

.dd-ali__phase-title { display: flex; align-items: center; gap: 13px; font-size: clamp(19px, 2.4vw, 26px); font-weight: 900; margin: 0 0 10px; letter-spacing: -.01em; }
.dd-ali__phase-ic {
	flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #4a3700;
	background: linear-gradient(135deg, #fff2c6, #ffd870); border: 1px solid var(--hair);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 10px 22px -12px rgba(224,190,0,.8);
}
html[data-dracula-scheme="dark"] .dd-ali__phase-ic { background: linear-gradient(135deg, rgba(255,191,47,.22), rgba(224,190,0,.12)); color: var(--g3); }
.dd-ali__phase-ic svg { width: 24px; height: 24px; }
.dd-ali__phase-desc { color: var(--muted); font-size: clamp(14.5px, 1.6vw, 16.5px); margin: 0; max-width: 74ch; }

/* voucher link grid (phase 1) */
.dd-ali__vouchers { display: grid; grid-template-columns: repeat(auto-fit, minmax(184px, 1fr)); gap: 12px; margin-top: 22px; }
.dd-ali__voucher {
	display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-radius: 14px;
	background: linear-gradient(180deg, rgba(255,255,255,.6), rgba(255,255,255,.28));
	border: 1px solid var(--brd); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s, background .3s;
}
html[data-dracula-scheme="dark"] .dd-ali__voucher { background: rgba(255,255,255,.04); }
.dd-ali__voucher:hover { transform: translateY(-3px); border-color: var(--g2); box-shadow: 0 14px 30px -16px rgba(224,190,0,.7); }
.dd-ali__voucher-ic {
	flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: var(--gd);
	background: rgba(224,190,0,.12); border: 1px solid var(--hair);
}
html[data-dracula-scheme="dark"] .dd-ali__voucher-ic { color: var(--g3); background: rgba(255,191,47,.12); }
.dd-ali__voucher-ic svg { width: 20px; height: 20px; }
.dd-ali__voucher-tx { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dd-ali__voucher-tx b { font-size: 15px; font-weight: 800; color: var(--ink); }
.dd-ali__voucher-tx small { font-size: 11.5px; color: var(--muted); }
.dd-ali__voucher-go { flex: 0 0 auto; color: var(--gd); display: grid; place-items: center; transition: transform .3s var(--ease); }
html[data-dracula-scheme="dark"] .dd-ali__voucher-go { color: var(--g3); }
.dd-ali__voucher-go svg { width: 18px; height: 18px; }
.dd-ali__voucher:hover .dd-ali__voucher-go { transform: translateX(-4px); }
.dd-ali__voucher--all { background: linear-gradient(135deg, rgba(253,184,55,.16), rgba(224,190,0,.08)); border-color: var(--hair); }

/* phases 2 & 3 side-by-side */
.dd-ali__phase-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 22px); }
@media (max-width: 860px) { .dd-ali__phase-pair { grid-template-columns: 1fr; } }
.dd-ali__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.dd-ali__tags span {
	font-size: 12.5px; font-weight: 700; color: var(--ink);
	padding: 6px 12px; border-radius: 999px; background: rgba(224,190,0,.09); border: 1px solid var(--hair);
}
html[data-dracula-scheme="dark"] .dd-ali__tags span { background: rgba(255,191,47,.1); }

/* crypto chips (phase 3) */
.dd-ali__coins { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.dd-ali__coin {
	display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px 9px 11px; border-radius: 999px;
	font-size: 14px; font-weight: 800; color: var(--ink);
	background: linear-gradient(180deg, rgba(255,255,255,.6), rgba(255,255,255,.28));
	border: 1px solid var(--brd); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
html[data-dracula-scheme="dark"] .dd-ali__coin { background: rgba(255,255,255,.04); }
.dd-ali__coin:hover { transform: translateY(-3px); border-color: var(--g2); box-shadow: 0 12px 26px -16px rgba(224,190,0,.7); }
.dd-ali__coin-sym {
	display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding-inline: 7px; border-radius: 8px;
	font-size: 11px; font-weight: 900; letter-spacing: .02em; color: #4a3700;
	background: linear-gradient(135deg, #ffe9a6, #ffcf5e); border: 1px solid var(--hair);
}
html[data-dracula-scheme="dark"] .dd-ali__coin-sym { color: #1a1a1f; }

/* =====================================================================
   INSTAGRAM — «همراهِ علی اسدی»
   ===================================================================== */
.dd-ali__ig-sec { padding-top: 0; }
.dd-ali__ig {
	--ig: linear-gradient(70deg, #feda75 0%, #fa7e1e 26%, #d62976 54%, #962fbf 78%, #4f5bd5 100%);
	position: relative; overflow: hidden; display: flex; align-items: center; gap: clamp(20px, 3.5vw, 44px);
	border-radius: clamp(22px, 3.4vw, 34px); padding: clamp(24px, 3.4vw, 40px) clamp(22px, 3.6vw, 48px);
	background: var(--card); border: 1px solid var(--brd); box-shadow: var(--shadow);
	backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.dd-ali__ig::before {
	content: ""; position: absolute; inset: 0; opacity: .1; pointer-events: none; background: var(--ig);
}
.dd-ali__ig::after {
	content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 4px; background: var(--ig);
}
.dd-ali__ig:hover { transform: translateY(-5px); border-color: rgba(214,41,118,.4); box-shadow: 0 36px 70px -34px rgba(214,41,118,.55); }
.dd-ali__ig-grain {
	position: absolute; inset: 0; opacity: .5; pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
}
.dd-ali__ig > * { position: relative; }

@media (max-width: 720px) { .dd-ali__ig { flex-direction: column; text-align: center; gap: 20px; } }

/* story-ring avatar */
.dd-ali__ig-figure { flex: 0 0 auto; }
.dd-ali__ig-ring {
	display: grid; place-items: center; width: clamp(96px, 14vw, 132px); aspect-ratio: 1; border-radius: 50%;
	padding: 4px; background: var(--ig);
	box-shadow: 0 14px 30px -12px rgba(214,41,118,.55);
}
.dd-ali__ig-ava {
	width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; padding: 4px;
	background: var(--card); border: 3px solid var(--soft);
}
html[data-dracula-scheme="dark"] .dd-ali__ig-ava { border-color: #15151a; }
.dd-ali__ig-ava:has(img) { overflow: hidden; padding: 0; }
.dd-ali__ig-ava img { width: 100%; height: 100%; aspect-ratio: 1; border-radius: 50% !important; object-fit: cover; display: block; }
.dd-ali__ig-ava .dd-ali__mono {
	width: 86%; aspect-ratio: 1; border-radius: 50%; gap: 1px; padding-inline: 0;
	background: radial-gradient(120% 120% at 30% 22%, #fff8e2 0%, #f7e6a8 30%, #e9c64f 60%, #b98e16 100%);
	box-shadow: inset 0 4px 12px rgba(255,255,255,.6), inset 0 -10px 20px rgba(120,86,0,.4);
}
.dd-ali__ig-ava .m-top  { font-size: clamp(8px, 1.4vw, 11px); }
.dd-ali__ig-ava .m-main { font-size: clamp(17px, 3.2vw, 28px); }

/* body */
.dd-ali__ig-body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.dd-ali__ig-eyebrow {
	display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
	font-size: 12.5px; font-weight: 800; letter-spacing: .02em; color: #c13584;
	padding: 5px 12px; border-radius: 999px; background: rgba(214,41,118,.1); border: 1px solid rgba(214,41,118,.25);
}
@media (max-width: 720px) { .dd-ali__ig-eyebrow { align-self: center; } }
html[data-dracula-scheme="dark"] .dd-ali__ig-eyebrow { color: #f48fc0; }
.dd-ali__ig-eyebrow svg { width: 15px; height: 15px; }
.dd-ali__ig-title { font-size: clamp(20px, 2.8vw, 30px); font-weight: 900; letter-spacing: -.01em; margin-top: 4px; }
.dd-ali__ig-sub { color: var(--muted); font-size: clamp(14px, 1.6vw, 16px); max-width: 60ch; }
.dd-ali__ig-handle { font-size: 15px; font-weight: 800; color: var(--ink); direction: ltr; margin-top: 4px; }
@media (max-width: 720px) { .dd-ali__ig-handle { text-align: center; } }

/* follow button (visual; whole card is the link) */
.dd-ali__ig-cta {
	flex: 0 0 auto; display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
	font-size: 15px; font-weight: 800; color: #fff; padding: 14px 26px; border-radius: 14px;
	background: var(--ig); background-size: 180% 180%;
	box-shadow: 0 16px 34px -14px rgba(214,41,118,.7), inset 0 1px 0 rgba(255,255,255,.3);
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-position .6s var(--ease);
}
.dd-ali__ig-cta svg { width: 18px; height: 18px; }
.dd-ali__ig:hover .dd-ali__ig-cta { transform: translateY(-2px); background-position: 100% 100%; box-shadow: 0 22px 42px -16px rgba(214,41,118,.85); }

/* =====================================================================
   PULL-QUOTE / MANIFESTO
   ===================================================================== */
.dd-ali__quote { text-align: center; position: relative; }
.dd-ali__quote .dd-ali__wrap { max-width: 940px; }
.dd-ali__quote-mark {
	font-size: clamp(90px, 16vw, 170px); line-height: .6; font-weight: 900;
	background: var(--gtext); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
	opacity: .55; height: .5em; display: block;
}
.dd-ali__quote blockquote {
	margin: 0; font-size: clamp(22px, 3.6vw, 40px); font-weight: 800; line-height: 1.55; letter-spacing: -.01em;
}
.dd-ali__quote cite {
	display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; font-style: normal; font-weight: 800; color: var(--muted);
}
.dd-ali__quote cite::before { content: ""; width: 34px; height: 2px; background: var(--grad); border-radius: 2px; }

/* =====================================================================
   TRUST BAND
   ===================================================================== */
.dd-ali__trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 20px); }
@media (max-width: 900px) { .dd-ali__trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .dd-ali__trust-grid { grid-template-columns: 1fr; } }
.dd-ali__trust-card {
	display: block; border-radius: var(--radius); padding: 22px 20px; text-align: center;
	background: var(--card); border: 1px solid var(--brd); box-shadow: var(--shadow);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.dd-ali__trust-card:hover { transform: translateY(-5px); border-color: var(--hair); box-shadow: var(--glow); }
.dd-ali__trust-ic {
	width: 50px; height: 50px; margin: 0 auto 14px; border-radius: 14px; display: grid; place-items: center;
	color: var(--gd); background: rgba(224,190,0,.1); border: 1px solid var(--hair);
}
html[data-dracula-scheme="dark"] .dd-ali__trust-ic { color: var(--g3); background: rgba(255,191,47,.1); }
.dd-ali__trust-ic svg { width: 24px; height: 24px; }
.dd-ali__trust-card h3 { font-size: 16.5px; font-weight: 900; margin: 0 0 6px; }
.dd-ali__trust-card p { color: var(--muted); font-size: 13.5px; margin: 0; }
.dd-ali__trust-card .dd-ali__more {
	display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
	font-size: 13px; font-weight: 800; color: var(--gd);
}
.dd-ali__trust-card .dd-ali__more svg { width: 15px; height: 15px; }
.dd-ali__more--phone { font-size: 15px !important; letter-spacing: .02em; direction: ltr; }
.dd-ali__more--phone bdi { font-weight: 900; }
html[data-dracula-scheme="dark"] .dd-ali__trust-card .dd-ali__more { color: var(--g3); }

/* =====================================================================
   FINAL CTA BAND
   ===================================================================== */
.dd-ali__cta-band { position: relative; }
.dd-ali__cta-inner {
	position: relative; overflow: hidden; border-radius: clamp(24px, 4vw, 40px);
	padding: clamp(40px, 6vw, 76px) clamp(24px, 5vw, 64px); text-align: center;
	background: linear-gradient(135deg, #17171f 0%, #21212b 48%, #14141a 100%);
	color: #fff7e2;
	box-shadow: 0 40px 84px -34px rgba(18,16,40,.55), inset 0 1px 0 rgba(255,255,255,.06);
	border: 1px solid rgba(255,191,47,.22);
}
/* gold hairline along the very top edge for a premium finish */
.dd-ali__cta-inner { background-clip: padding-box; }
.dd-ali__cta-inner::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(900px 320px at 80% -30%, rgba(255,191,47,.35), transparent 60%),
	            radial-gradient(700px 280px at 12% 120%, rgba(224,190,0,.22), transparent 60%);
}
.dd-ali__cta-inner::after {
	content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
	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='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
}
.dd-ali__cta-inner > * { position: relative; max-width: 760px; margin-inline: auto; }
.dd-ali__cta-inner h2 { font-size: clamp(24px, 4vw, 40px); font-weight: 900; line-height: 1.35; margin: 0 0 14px; }
.dd-ali__cta-inner h2 .dd-ali__grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.dd-ali__cta-inner p { color: rgba(255,247,226,.8); font-size: clamp(15px, 1.8vw, 18px); max-width: 60ch; margin: 0 auto 28px; }
.dd-ali__cta-band .dd-ali__cta { justify-content: center; }
.dd-ali__cta-band .dd-ali__btn--ghost { color: #fff7e2; background: rgba(255,255,255,.08); border-color: rgba(255,191,47,.4); }
.dd-ali__cta-band .dd-ali__btn--ghost:hover { background: rgba(255,255,255,.14); }

/* =====================================================================
   SCROLL-REVEAL  (only animated when JS marks .dd-ali--motion)
   ===================================================================== */
.dd-ali--motion [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.dd-ali--motion [data-reveal].is-in { opacity: 1; transform: none; }
.dd-ali--motion [data-reveal][data-delay="1"] { transition-delay: .08s; }
.dd-ali--motion [data-reveal][data-delay="2"] { transition-delay: .16s; }
.dd-ali--motion [data-reveal][data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
	.dd-ali *, .dd-ali *::before, .dd-ali *::after { animation: none !important; transition: none !important; }
	.dd-ali [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* =====================================================================
   TOP-GAP FIX — pull the hero up under the sticky header
   (theme adds 80px margin on #single.fullcover; hero had ~142px top pad)
   ===================================================================== */
#single.content.fullcover { margin-top: 0 !important; }
.dd-ali__hero { padding-block-start: clamp(28px, 4.5vw, 56px); }
