/* =========================================================================
   Dorj el Kunuz — theme
   Palette: vault black + antique gold. Type: Aref Ruqaa (wordmark),
   Reem Kufi (display & numerals), Readex Pro (body).
   ========================================================================= */
:root {
	--dk-bg: #0b0a08;
	--dk-bg-2: #110f0b;
	--dk-panel: #16130e;
	--dk-line: rgba(227, 184, 102, .16);
	--dk-line-strong: rgba(227, 184, 102, .38);
	--dk-gold: #e3b866;
	--dk-gold-hi: #f7dea0;
	--dk-gold-lo: #9c7432;
	--dk-text: #f1e9d8;
	--dk-mute: #a59b87;
	--dk-wrap: 1180px;
	--dk-narrow: 820px;
	--dk-gutter: clamp(16px, 4vw, 32px);
	--dk-font-word: "Aref Ruqaa", "Reem Kufi", serif;
	--dk-font-display: "Reem Kufi", "Readex Pro", system-ui, sans-serif;
	--dk-font-body: "Readex Pro", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;

	/* feed the plugin components */
	--dorj-font-display: var(--dk-font-display);
	--dorj-font-num: var(--dk-font-display);
	--dorj-ink: var(--dk-bg);
	--dorj-panel: var(--dk-panel);
	--dorj-gold: var(--dk-gold);
	--dorj-gold-hi: var(--dk-gold-hi);
	--dorj-gold-lo: var(--dk-gold-lo);
	--dorj-text: var(--dk-text);
	--dorj-mute: var(--dk-mute);
	--dk-star-tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23e3b866' stroke-width='.8'%3E%3Crect x='28' y='28' width='40' height='40'/%3E%3Crect x='28' y='28' width='40' height='40' transform='rotate(45 48 48)'/%3E%3Ccircle cx='48' cy='48' r='9'/%3E%3Cpath d='M0 0l20 20M96 0L76 20M0 96l20-20M96 96L76 76'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0; background: var(--dk-bg); color: var(--dk-text);
	font-family: var(--dk-font-body); font-size: 17px; line-height: 1.75; font-weight: 300;
	-webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; }
a { color: var(--dk-gold); }
a:hover { color: var(--dk-gold-hi); }
h1, h2, h3, h4 { font-family: var(--dk-font-display); font-weight: 600; line-height: 1.25; color: var(--dk-text); }
::selection { background: var(--dk-gold); color: #1a1206; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.dk-skip:focus { clip: auto; width: auto; height: auto; z-index: 100; top: 8px; inset-inline-start: 8px; padding: 8px 14px; background: var(--dk-gold); color: #000; }

.dk-wrap { width: 100%; max-width: var(--dk-wrap); margin-inline: auto; padding-inline: var(--dk-gutter); }
.dk-narrow { max-width: var(--dk-narrow); }
.dk-ic { display: inline-flex; width: 1.15em; height: 1.15em; vertical-align: -.2em; }
.dk-ic svg { width: 100%; height: 100%; }

/* night sky + geometric pattern ------------------------------------------------ */
.dk-stars {
	position: fixed; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(1px 1px at 12% 18%, rgba(247,222,160,.55), transparent 60%),
		radial-gradient(1px 1px at 72% 12%, rgba(247,222,160,.4), transparent 60%),
		radial-gradient(1.5px 1.5px at 85% 38%, rgba(247,222,160,.35), transparent 60%),
		radial-gradient(1px 1px at 33% 62%, rgba(247,222,160,.3), transparent 60%),
		radial-gradient(1px 1px at 55% 82%, rgba(247,222,160,.25), transparent 60%),
		radial-gradient(1.5px 1.5px at 6% 78%, rgba(247,222,160,.3), transparent 60%),
		radial-gradient(70% 50% at 50% -10%, rgba(227,184,102,.12), transparent 70%),
		var(--dk-bg);
}
.dk-pattern {
	position: absolute; inset: 0; pointer-events: none; opacity: .07;
	background-image: var(--dk-star-tile); background-size: 96px;
	-webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000 20%, transparent 75%);
	mask-image: radial-gradient(70% 70% at 50% 30%, #000 20%, transparent 75%);
}

/* header ------------------------------------------------------------------------- */
.dk-header { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.dk-header.is-scrolled { background: rgba(11,10,8,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--dk-line); }
.dk-header__in { display: flex; align-items: center; gap: 24px; min-height: 74px; }
.dk-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--dk-gold-hi); }
.dk-brand__mark { width: 30px; height: 30px; color: var(--dk-gold); filter: drop-shadow(0 0 10px rgba(227,184,102,.6)); }
.dk-brand__mark .dk-ic { width: 100%; height: 100%; }
.dk-brand__word { white-space: nowrap; font-family: var(--dk-font-word); font-size: 28px; line-height: 1; background: linear-gradient(180deg, var(--dk-gold-hi), var(--dk-gold) 60%, var(--dk-gold-lo)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dk-brand__logo { max-height: 46px; width: auto; }
.dk-nav { margin-inline-start: auto; }
.dk-nav__list { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.dk-nav__list a { color: var(--dk-mute); text-decoration: none; font-weight: 400; font-size: 15px; transition: color .2s; }
.dk-nav__list a:hover, .dk-nav__list .current-menu-item a { color: var(--dk-gold-hi); }
.dk-header__actions { display: flex; align-items: center; gap: 12px; }
.dk-header__cta { padding: .65em 1.3em; font-size: 15px; }
.dk-keys { display: inline-flex; align-items: center; gap: 6px; padding: .45em .95em; border-radius: 999px; text-decoration: none; color: var(--dk-gold-hi); background: rgba(227,184,102,.08); box-shadow: 0 0 0 1px var(--dk-line-strong) inset; font-family: var(--dk-font-display); font-weight: 600; }
.dk-keys__of { color: var(--dk-mute); font-weight: 400; }
.dk-burger { display: none; width: 42px; height: 42px; border: 0; border-radius: 12px; background: rgba(227,184,102,.08); cursor: pointer; padding: 12px 10px; flex-direction: column; justify-content: space-between; }
.dk-burger span { display: block; height: 2px; border-radius: 2px; background: var(--dk-gold); transition: transform .25s; }
@media (max-width: 860px) {
	.dk-burger { display: flex; }
	.dk-nav { position: fixed; inset: 74px 0 auto; margin: 0; background: rgba(11,10,8,.97); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--dk-line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s; }
	.dk-nav.is-open { transform: none; opacity: 1; visibility: visible; }
	.dk-nav__list { flex-direction: column; gap: 0; padding: 8px var(--dk-gutter) 20px; }
	.dk-nav__list a { display: block; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--dk-line); }
	.dk-burger[aria-expanded="true"] span:first-child { transform: translateY(8px) rotate(45deg); }
	.dk-burger[aria-expanded="true"] span:last-child { transform: translateY(-8px) rotate(-45deg); }
	.dk-header__cta { padding: .55em 1em; font-size: 14px; }
}

/* shared type -------------------------------------------------------------------- */
.dk-eyebrow { margin: 0 0 .7rem; color: var(--dk-gold); font-family: var(--dk-font-display); font-weight: 500; font-size: 15px; letter-spacing: .04em; display: inline-flex; align-items: center; gap: .6em; }
.dk-eyebrow::before { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--dk-gold)); }
.dk-h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); margin: 0; }
.dk-h2 { font-size: clamp(1.8rem, 4.4vw, 2.9rem); margin: 0 0 .6rem; }
.dk-lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--dk-mute); }

/* hero --------------------------------------------------------------------------- */
.dk-hero { position: relative; padding: clamp(24px, 5vw, 60px) 0 clamp(60px, 8vw, 110px); }
.dk-hero__in { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.dk-hero__title {
	margin: 0; font-family: var(--dk-font-word); font-weight: 700; font-size: clamp(4rem, 11vw, 8.6rem); line-height: 1.05;
	background: linear-gradient(175deg, #fff3d0 0%, var(--dk-gold-hi) 25%, var(--dk-gold) 55%, var(--dk-gold-lo) 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
	filter: drop-shadow(0 6px 40px rgba(227,184,102,.28));
}
.dk-hero__tag { font-size: clamp(1.05rem, 2.1vw, 1.3rem); color: var(--dk-text); opacity: .86; max-width: 34ch; margin: .6rem 0 1.8rem; }
.dk-hero__count .dorj-countdown { text-align: start; }
.dk-hero__count .dorj-countdown__label { text-align: start; }
.dk-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }
.dk-hero__ticker { margin: 1.4rem 0 0; color: var(--dk-mute); font-size: 15px; display: flex; align-items: center; gap: .5em; }
.dk-dot { width: 8px; height: 8px; border-radius: 50%; background: #6fdc8c; box-shadow: 0 0 0 4px rgba(111,220,140,.15); animation: dk-blink 2s infinite; }
@keyframes dk-blink { 50% { opacity: .35; } }
.dk-hero__vault { position: relative; }
.dk-hero__vault::after { /* floor reflection */
	content: ""; position: absolute; inset-inline: 10%; bottom: -46px; height: 50px; border-radius: 50%;
	background: radial-gradient(50% 50% at 50% 50%, rgba(227,184,102,.22), transparent 70%); filter: blur(8px);
}
@media (max-width: 960px) {
	.dk-hero__in { grid-template-columns: 1fr; text-align: center; }
	.dk-hero__tag { margin-inline: auto; }
	.dk-hero__count .dorj-countdown, .dk-hero__count .dorj-countdown__label { text-align: center; }
	.dk-hero__ctas, .dk-hero__ticker { justify-content: center; }
	.dk-hero__copy .dk-eyebrow::before { display: none; }
}

/* sections ----------------------------------------------------------------------- */
.dk-section { position: relative; padding: clamp(56px, 9vw, 110px) 0; }
.dk-section--tight { padding: clamp(20px, 4vw, 40px) 0; }
.dk-section--alt { background: linear-gradient(180deg, transparent, rgba(227,184,102,.035) 30%, rgba(227,184,102,.035) 70%, transparent); }
.dk-section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(30px, 5vw, 56px); }
.dk-section__head .dk-eyebrow::before { display: none; }
.dk-film { border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px var(--dk-line) inset, 0 50px 100px -50px rgba(0,0,0,.9); }

.dk-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.dk-step { position: relative; padding: 26px 22px 24px; border-radius: 20px; background: var(--dk-panel); box-shadow: 0 0 0 1px var(--dk-line) inset; overflow: hidden; }
.dk-step .dk-ic { width: 34px; height: 34px; color: var(--dk-gold); }
.dk-step h3 { font-size: 1.25rem; margin: 14px 0 6px; }
.dk-step p { margin: 0; color: var(--dk-mute); font-size: 15px; }
.dk-step__n { position: absolute; inset-inline-end: 14px; top: -10px; font-family: var(--dk-font-display); font-size: 92px; line-height: 1; font-weight: 700; color: rgba(227,184,102,.07); }
.dk-step:not(:last-child)::after { content: ""; position: absolute; top: 44px; inset-inline-end: -12px; width: 8px; height: 8px; border-radius: 50%; background: var(--dk-gold); box-shadow: 0 0 12px var(--dk-gold); z-index: 2; }
@media (max-width: 960px) { .dk-steps { grid-template-columns: 1fr 1fr; } .dk-step::after { display: none; } }
@media (max-width: 560px) { .dk-steps { grid-template-columns: 1fr; } }

.dk-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dk-type { position: relative; overflow: hidden; padding: 30px 26px 34px; border-radius: 22px; background: var(--dk-panel); box-shadow: 0 0 0 1px var(--dk-line) inset; min-height: 260px; display: grid; align-content: start; gap: 10px; transition: transform .3s; }
.dk-type:hover { transform: translateY(-4px); }
.dk-type h3 { font-size: 1.6rem; margin: 8px 0 0; }
.dk-type p { color: var(--dk-mute); margin: 0; }
.dk-type__glyph { position: absolute; inset-inline-start: -10px; bottom: -40px; font-size: 180px; line-height: 1; opacity: .08; color: var(--dk-gold); }
.dk-type--golden { background: radial-gradient(90% 70% at 100% 0%, rgba(227,184,102,.2), transparent 70%), var(--dk-panel); box-shadow: 0 0 0 1px var(--dk-line-strong) inset; }
.dk-type--agency { background: radial-gradient(90% 70% at 100% 0%, rgba(120,160,255,.13), transparent 70%), var(--dk-panel); }
.dk-type--agency .dk-type__glyph { color: #9fb8ff; }
.dk-type--creative { background: radial-gradient(90% 70% at 100% 0%, rgba(240,140,200,.12), transparent 70%), var(--dk-panel); }
.dk-type--creative .dk-type__glyph { color: #f5a8d4; }
@media (max-width: 860px) { .dk-types { grid-template-columns: 1fr; } .dk-type { min-height: 0; } }

.dk-grand { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(20px, 5vw, 60px); padding: clamp(28px, 5vw, 56px); border-radius: 28px; overflow: hidden;
	background: radial-gradient(60% 120% at 0% 50%, rgba(227,184,102,.22), transparent 70%), linear-gradient(120deg, #1d170f, #0f0c08); box-shadow: 0 0 0 1px var(--dk-line-strong) inset, 0 60px 120px -60px rgba(227,184,102,.35); }
.dk-grand::before { content: ""; position: absolute; inset: 0; background-image: var(--dk-star-tile); background-size: 96px; opacity: .05; }
.dk-grand__num { position: relative; font-family: var(--dk-font-display); font-weight: 700; font-size: clamp(110px, 20vw, 220px); line-height: .9; background: linear-gradient(180deg, #fff3d0, var(--dk-gold) 50%, var(--dk-gold-lo)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 40px rgba(227,184,102,.4)); }
.dk-grand__copy { position: relative; }
.dk-grand__copy p:last-child { color: var(--dk-text); opacity: .85; font-size: 1.1rem; max-width: 46ch; margin: 0; }
@media (max-width: 680px) { .dk-grand { grid-template-columns: 1fr; text-align: center; } .dk-grand .dk-eyebrow::before { display: none; } .dk-grand__copy p:last-child { margin-inline: auto; } }

.dk-about { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.dk-services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dk-services li { padding: 18px 18px; border-radius: 16px; background: var(--dk-panel); box-shadow: 0 0 0 1px var(--dk-line) inset; font-family: var(--dk-font-display); font-weight: 500; position: relative; padding-inline-start: 40px; }
.dk-services li::before { content: "✦"; position: absolute; inset-inline-start: 16px; color: var(--dk-gold); }
@media (max-width: 860px) { .dk-about { grid-template-columns: 1fr; } }

.dk-final { text-align: center; }
.dk-final .dk-h2 { font-family: var(--dk-font-word); font-size: clamp(2.4rem, 6vw, 4rem); background: linear-gradient(180deg, var(--dk-gold-hi), var(--dk-gold-lo)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* inner pages -------------------------------------------------------------------- */
.dk-page-hero { position: relative; padding: clamp(40px, 7vw, 90px) 0 clamp(26px, 4vw, 40px); text-align: center; }
.dk-page-hero .dk-eyebrow::before { display: none; }
.dk-page-body { padding-bottom: clamp(60px, 8vw, 110px); }
.dk-prose { font-size: 1.05rem; }
.dk-prose > *:first-child { margin-top: 0; }
.dk-prose li { margin-bottom: .5em; }
.dk-list__item { padding: 24px 0; border-bottom: 1px solid var(--dk-line); }
.dk-list__item h2 { margin: 0 0 6px; font-size: 1.4rem; }
.dk-list__item h2 a { color: var(--dk-text); text-decoration: none; }

.dk-drawer-hero { position: relative; text-align: center; padding: clamp(24px, 5vw, 50px) 0 clamp(20px, 3vw, 30px); overflow: hidden; }
.dk-back { position: relative; display: inline-block; color: var(--dk-mute); text-decoration: none; font-size: 15px; margin-bottom: 8px; }
.dk-drawer-hero__num { position: relative; font-family: var(--dk-font-display); font-weight: 700; font-size: clamp(110px, 24vw, 230px); line-height: .9; background: linear-gradient(180deg, #fff3d0, var(--dk-gold) 45%, var(--dk-gold-lo)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 10px 50px rgba(227,184,102,.3)); }
.dk-drawer-page.is-locked .dk-drawer-hero__num { filter: grayscale(.6) brightness(.55); }
.dk-drawer-hero__meta { position: relative; display: flex; justify-content: center; gap: 10px; margin: 10px 0 6px; }
.dk-drawer-hero__title { position: relative; font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 0; }
.dk-drawer-hero__date { position: relative; color: var(--dk-mute); margin: .4rem 0 0; }
.dk-drawer-hero__date .dk-ic { color: var(--dk-gold); }
.dk-state { display: inline-block; padding: .3em .9em; border-radius: 999px; font-size: .78rem; font-weight: 600; font-family: var(--dk-font-display); background: rgba(255,255,255,.05); color: var(--dk-mute); box-shadow: 0 0 0 1px var(--dk-line) inset; }
.dk-state--open { color: #1a1206; background: linear-gradient(180deg, var(--dk-gold-hi), var(--dk-gold)); box-shadow: 0 0 24px rgba(227,184,102,.45); }
.dk-state--closed { color: var(--dk-gold-hi); }
.dk-drawer-body { display: grid; gap: 28px; padding-bottom: clamp(60px, 8vw, 110px); }
.dk-pager { display: flex; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid var(--dk-line); }
.dk-pager a { color: var(--dk-mute); text-decoration: none; font-family: var(--dk-font-display); }
.dk-pager a:hover { color: var(--dk-gold-hi); }

/* footer ------------------------------------------------------------------------- */
.dk-footer { border-top: 1px solid var(--dk-line); padding: 46px 0 26px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.4)); }
.dk-footer__in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; }
.dk-footer__brand p { color: var(--dk-mute); font-size: 14px; max-width: 40ch; margin: .6rem 0 0; }
.dk-footer__menu, .dk-footer .dk-nav__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; flex-direction: column; }
.dk-footer a { color: var(--dk-mute); text-decoration: none; font-size: 15px; }
.dk-footer a:hover { color: var(--dk-gold-hi); }
.dk-footer__social { display: grid; gap: 10px; align-content: start; }
.dk-footer__social a { display: inline-flex; gap: 8px; align-items: center; }
.dk-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--dk-line); color: var(--dk-mute); font-size: 13px; }
@media (max-width: 760px) { .dk-footer__in { grid-template-columns: 1fr; } }

/* wp core bits */
.alignwide { max-width: var(--dk-wrap); }
.wp-block-image img { border-radius: 16px; }
.nav-links { display: flex; gap: 10px; justify-content: center; margin-top: 30px; }
.page-numbers { padding: 6px 12px; border-radius: 8px; background: var(--dk-panel); text-decoration: none; }

/* English mode -------------------------------------------------------------- */
.dk-hero__latin { margin: -.2rem 0 0; font-family: var(--dk-font-display); font-weight: 500; font-size: clamp(1rem, 1.8vw, 1.25rem); letter-spacing: .32em; text-transform: uppercase; color: var(--dk-gold); }
.dk-lang-en .dk-hero__tag { max-width: 38ch; }
.dk-lang-en .dk-h2, .dk-lang-en .dk-h1 { letter-spacing: -.005em; }
.dk-lang-en .dk-eyebrow { letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }
.dk-lang-en .dk-step__n { font-size: 84px; }
@media (max-width: 860px) { .dk-header__actions .dorj-lang { min-width: 40px; height: 36px; } }
@media (max-width: 480px) {
	.dk-header__cta { display: none; }
	.dk-brand__word { font-size: 24px; }
	.dk-header__in { gap: 12px; }
}
