/* =====================================================================
   Golden Age Studio - hand-written stylesheet (no build step)
   Night + molten gold. Logical properties everywhere -> RTL for free.
   ===================================================================== */

:root {
    --bg: #07060a;
    --bg-2: #0c0a0f;
    --bg-3: #14111a;
    --panel: rgba(255, 244, 220, .035);
    --panel-2: rgba(255, 244, 220, .06);
    --line: color-mix(in srgb, var(--gold) 16%, transparent);
    --line-2: color-mix(in srgb, var(--gold) 32%, transparent);
    --text: #f4eee1;
    --muted: #a99f8c;
    --faint: #6f675a;
    --gold: #e8b84a;
    --gold-2: var(--gold-soft);
    --gold-3: var(--gold-dark);
    --gold-light: #fff3c4;
    --gold-soft: #f7dc95;
    --gold-dark: #a7731f;
    --amber: #ff9d4d;
    --blue: #5fb8ff;
    --ok: #7ee0a8;
    --bad: #ff7a6b;
    --radius: 18px;
    --radius-lg: var(--r, 28px);
    --shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
    --gold-grad: linear-gradient(120deg, var(--gold-light) 0%, var(--gold-soft) 30%, var(--gold) 55%, var(--gold-light) 75%, var(--gold-dark) 100%);
    --font-display: "Cinzel", "Times New Roman", serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --ease: cubic-bezier(.2, .8, .2, 1);
    color-scheme: dark;
}
[dir="rtl"] {
    --font-display: "Reem Kufi", "Cairo", sans-serif;
    --font-body: "Cairo", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; min-height: 100vh; overflow-x: hidden;
    background: var(--bg); color: var(--text);
    font: 400 16px/1.65 var(--font-body);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: .01em; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; line-height: 1.3; }
p { margin: 0; }
::selection { background: color-mix(in srgb, var(--gold) 35%, transparent); color: #fff; }
.container { width: min(1240px, 100% - 48px); margin-inline: auto; }
.muted { color: var(--muted); }
.center { text-align: center; }
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }
.hp { position: absolute; inset-inline-start: -9999px; opacity: 0; height: 0; width: 0; }
.icon { flex: none; }

/* ---------------------------------------------------------------- background */
.bg-layer { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden;
    background:
        radial-gradient(1200px 700px at 80% -10%, color-mix(in srgb, var(--gold) 13%, transparent), transparent 60%),
        radial-gradient(900px 600px at -10% 30%, rgba(255, 140, 60, .07), transparent 60%),
        radial-gradient(800px 800px at 50% 120%, rgba(80, 140, 255, .06), transparent 60%),
        var(--bg);
}
.bg-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; animation: drift 22s ease-in-out infinite alternate; }
.bg-glow--a { width: 520px; height: 520px; background: radial-gradient(circle, color-mix(in srgb, var(--gold) 35%, transparent), transparent 70%); top: 10%; inset-inline-end: -120px; }
.bg-glow--b { width: 620px; height: 620px; background: radial-gradient(circle, rgba(120, 80, 255, .16), transparent 70%); bottom: -200px; inset-inline-start: -160px; animation-duration: 28s; }
@keyframes drift { to { transform: translate(-80px, 60px) scale(1.15); } }
.bg-grain { position: absolute; inset: -50%; opacity: .06; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%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");
    animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,3%); } 80% { transform: translate(3%,1%); } }
#embers { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

/* ---------------------------------------------------------------- typography helpers */
.gold-text {
    background: var(--gold-grad); background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 4px 30px color-mix(in srgb, var(--gold) 25%, transparent));
}
[data-shine] { animation: shine 6s linear infinite; }
@keyframes shine { from { background-position: 0% 0; } to { background-position: 220% 0; } }
.kicker {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px 7px 12px; border-radius: 999px;
    font: 600 12.5px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
    color: var(--gold-2); background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 14%, transparent), color-mix(in srgb, var(--gold) 4%, transparent));
    border: 1px solid var(--line);
}
[dir="rtl"] .kicker { letter-spacing: 0; font-size: 14px; }

/* ---------------------------------------------------------------- buttons */
.btn {
    --h: 46px;
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: var(--h); padding-inline: 22px; border-radius: 999px; border: 1px solid transparent;
    font: 600 15px/1 var(--font-body); white-space: nowrap; cursor: pointer; isolation: isolate;
    transition: transform .25s var(--ease), box-shadow .3s, background .3s, border-color .3s, color .3s;
}
.btn--sm { --h: 38px; padding-inline: 16px; font-size: 14px; }
.btn--lg { --h: 56px; padding-inline: 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--gold {
    color: #1a1206; background: var(--gold-grad); background-size: 200% 100%;
    box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--gold) 60%, transparent), inset 0 1px 0 rgba(255, 255, 255, .5);
    overflow: hidden;
}
.btn--gold::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .7) 48%, transparent 66%);
    transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn--gold:hover { background-position: 100% 0; box-shadow: 0 16px 44px -12px color-mix(in srgb, var(--gold) 85%, transparent), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn--gold:hover::after { transform: translateX(120%); }
.btn--ghost { color: var(--text); background: rgba(255, 255, 255, .03); border-color: var(--line-2); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); background: color-mix(in srgb, var(--gold) 7%, transparent); }
.btn--discord { color: #fff; background: linear-gradient(135deg, #5865f2, #7b5cf5); box-shadow: 0 10px 30px -10px rgba(88, 101, 242, .7); }
.btn--discord:hover { box-shadow: 0 16px 44px -12px rgba(88, 101, 242, .95); transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.icon-btn {
    display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--text); cursor: pointer;
    transition: border-color .3s, color .3s, background .3s;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold-2); background: color-mix(in srgb, var(--gold) 8%, transparent); }

/* ---------------------------------------------------------------- nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(8, 7, 11, .72); backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
.nav__inner { height: 78px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.brand__name { font: 700 19px/1 "Cinzel", serif; letter-spacing: .06em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand__sub { font: 600 10.5px/1 var(--font-body); letter-spacing: .5em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.logo-mark { filter: drop-shadow(0 0 14px color-mix(in srgb, var(--gold) 35%, transparent)); transition: transform .6s var(--ease); }
.brand:hover .logo-mark { transform: rotate(-12deg) scale(1.05); }
.nav__links { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.nav__links > a { position: relative; white-space: nowrap; padding: 10px 14px; font-size: 14.5px; font-weight: 500; color: var(--muted); transition: color .25s; }
.nav__links > a::after { content: ""; position: absolute; inset-inline: 14px; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav__links > a:hover { color: var(--text); }
.nav__links > a:hover::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding-inline: 12px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--muted); transition: color .25s, border-color .25s; }
.lang-switch:hover { color: var(--gold-2); border-color: var(--gold); }
.nav__burger, .nav__mobile-actions { display: none; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 120px 0 90px; }
.hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero__title { margin: 26px 0 24px; font-size: clamp(40px, 5vw, 74px); font-weight: 800; }
.hero__line { display: block; }
[dir="rtl"] .hero__title { font-size: clamp(40px, 5.4vw, 78px); }
.hero__lead { max-width: 560px; font-size: clamp(16px, 1.35vw, 19px); color: var(--muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 34px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.hero__badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero__badges .icon { color: var(--gold); }

.hero__art { position: relative; aspect-ratio: 1 / .92; }
.shot { position: absolute; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-3);
    box-shadow: var(--shadow), 0 0 0 1px color-mix(in srgb, var(--gold) 22%, transparent), 0 0 60px -10px color-mix(in srgb, var(--gold) 25%, transparent);
    transition: transform .6s var(--ease); will-change: transform; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot--main { inset: 12% 4% 14% 6%; z-index: 2; }
.shot--main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5, 4, 8, .85)); pointer-events: none; }
.shot--main figcaption { position: absolute; z-index: 1; inset-inline-start: 22px; inset-inline-end: 42%; bottom: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
[dir="rtl"] .shot--main figcaption { letter-spacing: 0; }
.shot--main figcaption strong { font: 700 20px/1.2 var(--font-display); text-transform: none; letter-spacing: .02em; color: var(--text); }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(126, 224, 168, .7); animation: pulse 2s infinite; margin-inline-end: 6px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(126, 224, 168, 0); } 100% { box-shadow: 0 0 0 0 rgba(126, 224, 168, 0); } }
.shot--b { width: 32%; aspect-ratio: 1; inset-inline-start: -3%; top: 0; z-index: 3; border-radius: 22px; animation: float 7s ease-in-out infinite; }
.shot--c { width: 40%; aspect-ratio: 1.15; inset-inline-end: -4%; bottom: 0; z-index: 3; border-radius: 22px; animation: float 8s ease-in-out -2s infinite; }
@keyframes float { 50% { translate: 0 -14px; } }
.orbit { position: absolute; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--gold) 22%, transparent); pointer-events: none; }
.orbit--1 { inset: -4% 0 -6% 2%; animation: spin 60s linear infinite; }
.orbit--2 { inset: 8% 12% 6% 14%; border-style: solid; border-color: color-mix(in srgb, var(--gold) 8%, transparent); animation: spin 90s linear infinite reverse; }
.orbit--1::before { content: ""; position: absolute; top: 12%; inset-inline-start: 12%; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 20px 4px color-mix(in srgb, var(--gold) 70%, transparent); }
@keyframes spin { to { transform: rotate(360deg); } }
.scroll-hint { position: absolute; bottom: 26px; inset-inline-start: 50%; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--faint); }
[dir="rtl"] .scroll-hint { translate: 50% 0; letter-spacing: 0; }
.scroll-hint span { width: 22px; height: 36px; border: 1.5px solid var(--line-2); border-radius: 12px; position: relative; }
.scroll-hint span::after { content: ""; position: absolute; inset-inline-start: 50%; top: 7px; width: 3px; height: 7px; margin-inline-start: -1.5px; border-radius: 2px; background: var(--gold); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 70% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }

/* ---------------------------------------------------------------- marquee */
.marquee { position: relative; overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 5%, transparent), color-mix(in srgb, var(--gold) 2%, transparent), color-mix(in srgb, var(--gold) 5%, transparent));
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 48s linear infinite; }
[dir="rtl"] .marquee__track { animation-name: marquee-rtl; }
.marquee span { font: 600 clamp(16px, 1.6vw, 22px)/1 var(--font-display); color: rgba(244, 238, 225, .75); white-space: nowrap; }
.marquee i { font-style: normal; color: var(--gold); font-size: 14px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ---------------------------------------------------------------- sections */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section--tight { padding-top: 30px; }
.section--band { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--gold) 2.8%, transparent) 18%, color-mix(in srgb, var(--gold) 2.8%, transparent) 82%, transparent); }
.section__head { max-width: 760px; margin: 0 auto 60px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.section__head h2 { font-size: clamp(32px, 4.4vw, 56px); }
.section__head p { color: var(--muted); font-size: 18px; }
.section__head--left { margin-inline: 0; text-align: start; align-items: flex-start; }

/* ---------------------------------------------------------------- spotlight + cards */
[data-spot] { --mx: 50%; --my: 0%; }
.svc, .plan, .panel, .step, .qa, .summary, .window { position: relative; }
.svc::before, .plan::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
    background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--gold) 13%, transparent), transparent 45%);
}
.svc:hover::before, .plan:hover::before { opacity: 1; }

/* services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc {
    --accent: var(--gold);
    padding: 30px 26px 26px; border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
    border: 1px solid rgba(255, 255, 255, .07);
    display: flex; flex-direction: column; gap: 14px;
    transition: transform .5s var(--ease), border-color .4s, box-shadow .4s;
    transform-style: preserve-3d;
}
.svc:hover { border-color: color-mix(in srgb, var(--accent) 55%, transparent); box-shadow: 0 30px 70px -30px color-mix(in srgb, var(--accent) 50%, transparent); }
.svc__icon {
    width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: var(--accent);
    background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%), rgba(255, 255, 255, .03);
    border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
    box-shadow: 0 0 30px -6px color-mix(in srgb, var(--accent) 60%, transparent);
    transform: translateZ(30px);
}
.svc h3 { font-size: 21px; margin-top: 6px; }
[dir="rtl"] .svc h3 { font-size: 22px; }
.svc p { color: var(--muted); font-size: 15px; }
.svc ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 7px; font-size: 14px; color: rgba(244, 238, 225, .82); }
.svc li { display: flex; gap: 10px; align-items: baseline; }
.svc li::before { content: ""; width: 6px; height: 6px; flex: none; transform: rotate(45deg) translateY(-2px); background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.svc__link { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--accent); }
.svc__link .icon { transition: transform .3s var(--ease); }
.svc__link:hover .icon { transform: translateX(4px); }
[dir="rtl"] .svc__link:hover .icon { transform: scaleX(-1) translateX(4px); }

/* mapforge */
.forge { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.forge .section__head { margin-bottom: 36px; }
.forge__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.forge__points li { display: flex; gap: 18px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid transparent; transition: background .35s, border-color .35s; }
.forge__points li:hover { background: var(--panel); border-color: var(--line); }
.forge__num { font: 700 15px/1 "Cinzel", serif; color: var(--gold); min-width: 30px; padding-top: 5px; }
.forge__points h3 { font-size: 18.5px; margin-bottom: 6px; }
.forge__points p { color: var(--muted); font-size: 15px; }
.forge__shots { position: relative; padding-bottom: 80px; }
.window { margin: 0; border-radius: 20px; overflow: hidden; background: #0d1222; border: 1px solid rgba(255, 255, 255, .1); box-shadow: var(--shadow), 0 0 80px -20px rgba(95, 184, 255, .25); transition: transform .6s var(--ease); }
.window__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 12px; color: var(--muted); }
.window__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.window__bar i:nth-child(2) { background: #febc2e; } .window__bar i:nth-child(3) { background: #28c840; }
.window__bar span { margin-inline-start: 10px; }
.window figcaption { padding: 12px 16px; font-size: 13px; color: var(--muted); background: rgba(0, 0, 0, .3); }
.window--small { position: absolute; width: 46%; inset-inline-end: -4%; bottom: 0; border-radius: 18px; box-shadow: var(--shadow), 0 0 60px -10px color-mix(in srgb, var(--gold) 30%, transparent); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 16px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .08); padding: 0; cursor: zoom-in; background: var(--bg-3); text-align: start; }
.tile--wide { grid-column: span 2; grid-row: span 2; }
.tile--tall { grid-row: span 2; }
.tile--w2 { grid-column: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.1s var(--ease), filter .6s; filter: saturate(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5, 4, 8, .92)); transition: opacity .5s; }
.tile:hover img { transform: scale(1.09); filter: saturate(1.2) brightness(1.08); }
.tile__info { position: absolute; z-index: 1; inset-inline: 18px; bottom: 16px; display: flex; flex-direction: column; gap: 4px; transform: translateY(6px); transition: transform .5s var(--ease); }
.tile:hover .tile__info { transform: none; }
.tile__info em { font-style: normal; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
[dir="rtl"] .tile__info em { letter-spacing: 0; font-size: 13px; }
.tile__info strong { font: 700 18px/1.2 var(--font-display); }
.tile__zoom { position: absolute; z-index: 1; top: 14px; inset-inline-end: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(8, 7, 11, .6); border: 1px solid var(--line-2); color: var(--gold-2); opacity: 0; transform: scale(.8); transition: .4s var(--ease); backdrop-filter: blur(6px); }
.tile:hover .tile__zoom { opacity: 1; transform: none; }
.tile:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 40px; background: rgba(4, 3, 6, .9); backdrop-filter: blur(10px); opacity: 0; transition: opacity .35s; }
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1400px, 100%); max-height: 100%; display: flex; flex-direction: column; gap: 14px; transform: scale(.96); transition: transform .45s var(--ease); }
.lightbox.is-open figure { transform: none; }
.lightbox img { max-height: calc(100vh - 160px); width: auto; margin-inline: auto; border-radius: 16px; box-shadow: 0 40px 120px rgba(0, 0, 0, .8), 0 0 0 1px var(--line-2); }
.lightbox figcaption { text-align: center; display: flex; flex-direction: column; gap: 4px; }
.lightbox figcaption em { font-style: normal; color: var(--gold-2); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.lightbox figcaption strong { font: 700 22px/1.2 var(--font-display); }
.lightbox__close { position: absolute; top: 20px; inset-inline-end: 20px; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; inset-inline: 12%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .5; }
.step { text-align: center; padding: 0 12px; }
.step__n { position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%; font: 800 24px/1 "Cinzel", serif; color: #1a1206; background: var(--gold-grad); box-shadow: 0 0 0 8px color-mix(in srgb, var(--gold) 8%, transparent), 0 0 40px -6px color-mix(in srgb, var(--gold) 70%, transparent); }
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { padding: 38px 32px 32px; border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)); border: 1px solid rgba(255, 255, 255, .08); display: flex; flex-direction: column; gap: 14px; transition: transform .5s var(--ease), box-shadow .4s, border-color .4s; }
.plan:hover { transform: translateY(-6px); border-color: var(--line-2); }
.plan--featured { background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 13%, transparent), color-mix(in srgb, var(--gold) 3%, transparent)); border-color: color-mix(in srgb, var(--gold) 50%, transparent); box-shadow: 0 40px 90px -40px color-mix(in srgb, var(--gold) 55%, transparent); transform: translateY(-10px); }
.plan--featured:hover { transform: translateY(-16px); }
.plan__ribbon { position: absolute; top: -13px; inset-inline-start: 50%; translate: -50% 0; padding: 6px 16px; border-radius: 999px; background: var(--gold-grad); color: #1a1206; font: 700 12px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--gold) 90%, transparent); white-space: nowrap; }
[dir="rtl"] .plan__ribbon { translate: 50% 0; letter-spacing: 0; }
.plan h3 { font-size: 26px; }
.plan__tag { color: var(--muted); }
.plan__price { font: 700 30px/1.1 var(--font-display); padding: 14px 0 18px; border-bottom: 1px solid var(--line); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan__price small { font-size: 14px; }
.plan ul { list-style: none; margin: 6px 0 18px; padding: 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.plan li .icon { color: var(--gold); margin-top: 3px; }
.plan .btn { margin-top: auto; }

/* faq */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq__list { display: grid; gap: 12px; }
.qa { border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .08); background: var(--panel); transition: border-color .3s, background .3s; }
.qa[open] { border-color: var(--line-2); background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 7%, transparent), color-mix(in srgb, var(--gold) 1.5%, transparent)); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; font-weight: 600; font-size: 17px; }
.qa summary::-webkit-details-marker { display: none; }
.qa__plus { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--gold); transition: transform .4s var(--ease), background .3s; }
.qa[open] .qa__plus { transform: rotate(45deg); background: color-mix(in srgb, var(--gold) 12%, transparent); }
.qa__a { padding: 0 24px 22px; color: var(--muted); animation: qa .45s var(--ease); }
@keyframes qa { from { opacity: 0; transform: translateY(-6px); } }

/* cta */
.section--cta { padding-top: 40px; }
.cta { position: relative; overflow: hidden; text-align: center; padding: clamp(56px, 8vw, 96px) 24px; border-radius: 36px; border: 1px solid var(--line-2);
    background: radial-gradient(800px 300px at 50% 0%, color-mix(in srgb, var(--gold) 20%, transparent), transparent 70%), linear-gradient(180deg, #120e0a, #0b090d); }
.cta__glow { position: absolute; inset: auto -20% -60% -20%; height: 120%; background: conic-gradient(from 180deg at 50% 50%, transparent, color-mix(in srgb, var(--gold) 18%, transparent), transparent 30%, rgba(255, 140, 60, .12), transparent 60%); animation: spin 18s linear infinite; filter: blur(40px); pointer-events: none; }
.cta > * { position: relative; }
.cta__logo { margin: 0 auto 24px; }
.cta h2 { font-size: clamp(30px, 4.2vw, 54px); max-width: 820px; margin-inline: auto; }
.cta p { color: var(--muted); font-size: 18px; margin: 18px auto 34px; max-width: 600px; }
.cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* footer */
.footer { position: relative; padding: 70px 0 30px; margin-top: 60px; }
.footer__line { position: absolute; top: 0; inset-inline: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .5; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer__brand p { color: var(--muted); margin-top: 16px; max-width: 380px; }
.footer h4 { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 16px; font-family: var(--font-body); }
[dir="rtl"] .footer h4 { letter-spacing: 0; font-size: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--muted); transition: color .25s; }
.footer ul a:hover, .footer ul a.is-active { color: var(--gold-2); }
.footer .sep { color: var(--faint); margin-inline: 6px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .06); color: var(--faint); font-size: 13.5px; }

/* ---------------------------------------------------------------- inner pages */
.page-hero { padding: 150px 0 40px; text-align: center; }
.page-hero h1 { font-size: clamp(38px, 5.4vw, 68px); margin: 22px 0 14px; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 640px; margin-inline: auto; }
.page-hero--small { padding-bottom: 10px; }
.page-hero--small h1 { margin-bottom: 26px; }

/* order */
.order { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.order__form { display: grid; gap: 22px; }
.panel { margin: 0; padding: 30px; border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012)); border: 1px solid rgba(255, 255, 255, .08); min-width: 0; }
.panel legend { float: inline-start; width: 100%; display: flex; align-items: center; gap: 14px; padding: 0; margin-bottom: 26px; font: 700 22px/1.2 var(--font-display); }
.panel legend + * { clear: both; }
.panel__n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; font: 800 17px/1 "Cinzel", serif; color: #1a1206; background: var(--gold-grad); box-shadow: 0 0 24px -6px color-mix(in srgb, var(--gold) 80%, transparent); }
.field { display: grid; gap: 10px; margin-bottom: 22px; }
.field:last-child { margin-bottom: 0; }
.field__label { font-weight: 600; font-size: 14.5px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.field__label small { color: var(--faint); font-weight: 400; }
.field__meta { font-size: 12.5px; color: var(--faint); text-align: end; }
.field__err { color: var(--bad); font-size: 13.5px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-row--3 { grid-template-columns: repeat(3, 1fr); }
.field-row .field { margin-bottom: 0; }
input[type="text"], input[type="email"], input[type="url"], input[type="number"], input[type="password"], input[type="search"], textarea, select {
    width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(5, 4, 8, .55); color: var(--text); font: 400 15px/1.5 var(--font-body);
    transition: border-color .25s, box-shadow .25s, background .25s; resize: vertical;
}
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 14%, transparent); background: rgba(5, 4, 8, .75); }
.is-invalid, input.is-invalid, textarea.is-invalid { border-color: rgba(255, 122, 107, .7) !important; }
.chips-grid.is-invalid { border-radius: 16px; outline: 1px dashed rgba(255, 122, 107, .7); outline-offset: 6px; }

.choice { position: relative; display: block; cursor: pointer; --accent: var(--gold); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__box { position: relative; display: flex; align-items: center; gap: 12px; height: 100%; padding: 15px 16px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .025); font-weight: 600; font-size: 14.5px; transition: border-color .25s, background .25s, box-shadow .25s, transform .25s var(--ease); }
.choice__box .icon { color: var(--accent); }
.choice:hover .choice__box { border-color: color-mix(in srgb, var(--accent) 50%, transparent); transform: translateY(-2px); }
.choice input:checked + .choice__box { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 11%, transparent); box-shadow: 0 0 0 1px var(--accent) inset, 0 12px 30px -16px var(--accent); }
.choice input:focus-visible + .choice__box { box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 35%, transparent); }
.choice__tick { position: absolute; top: 8px; inset-inline-end: 8px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #120e08; transform: scale(0); transition: transform .3s var(--ease); }
.choice input:checked + .choice__box .choice__tick { transform: scale(1); }
.chips-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.choice--pkg .choice__box { flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px; }
.choice--pkg strong { font: 700 17px/1.2 var(--font-display); }
.choice--pkg small { color: var(--muted); font-weight: 400; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { cursor: pointer; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-flex; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .025); font-size: 14px; font-weight: 500; transition: .25s; }
.pill:hover span { border-color: var(--line-2); }
.pill input:checked + span { color: #1a1206; background: var(--gold-grad); border-color: transparent; font-weight: 600; box-shadow: 0 8px 22px -10px color-mix(in srgb, var(--gold) 80%, transparent); }
.pill input:focus-visible + span { box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 35%, transparent); }
.check { display: flex; align-items: flex-start; gap: 12px; margin-top: 22px; cursor: pointer; color: var(--muted); font-size: 14.5px; }
.check input { position: absolute; opacity: 0; }
.check__box { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1px solid var(--line-2); display: grid; place-items: center; color: transparent; transition: .25s; margin-top: 2px; }
.check input:checked + .check__box { background: var(--gold-grad); color: #1a1206; border-color: transparent; }
.check.is-invalid .check__box { border-color: var(--bad); }
.order__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.order__submit .muted { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.order__submit .muted .icon { color: var(--ok); }
.btn.is-sending { pointer-events: none; opacity: .8; }
.order__aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.summary { padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--line-2); background: radial-gradient(400px 200px at 50% 0%, color-mix(in srgb, var(--gold) 14%, transparent), transparent 70%), rgba(12, 10, 15, .8); backdrop-filter: blur(10px); }
.summary h3 { font-size: 21px; margin-bottom: 18px; }
.summary__row { display: grid; gap: 6px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .06); font-size: 14px; }
.summary__row > span { color: var(--faint); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
[dir="rtl"] .summary__row > span { letter-spacing: 0; font-size: 13px; }
.summary__row [data-sum-services] { display: flex; flex-wrap: wrap; gap: 6px; }
.summary__row [data-sum-services] span { padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--gold) 12%, transparent); color: var(--gold-2); font-size: 13px; }
.summary__row [data-sum-services]:empty::before { content: attr(data-empty); color: var(--faint); }
.summary__progress { margin-top: 14px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.summary__progress i { display: block; height: 100%; width: 0; background: var(--gold-grad); border-radius: inherit; transition: width .5s var(--ease); box-shadow: 0 0 14px color-mix(in srgb, var(--gold) 80%, transparent); }
.discord-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid rgba(88, 101, 242, .45); background: linear-gradient(135deg, rgba(88, 101, 242, .18), rgba(123, 92, 245, .06)); transition: transform .35s var(--ease), box-shadow .35s; }
.discord-card:hover { transform: translateY(-3px); box-shadow: 0 20px 50px -20px rgba(88, 101, 242, .8); }
.discord-card > span:nth-child(2) { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.discord-card strong { font-size: 15.5px; }
.discord-card small { color: var(--muted); font-size: 13.5px; }
.discord-card__icon { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #5865f2, #7b5cf5); box-shadow: 0 10px 26px -10px rgba(88, 101, 242, .9); }
.discord-card--big { padding: 26px; }
.alert { padding: 14px 18px; border-radius: 14px; border: 1px solid rgba(255, 122, 107, .45); background: rgba(255, 122, 107, .08); color: #ffc2ba; }
.alert--ok { border-color: rgba(126, 224, 168, .45); background: rgba(126, 224, 168, .08); color: #c7f5d9; margin-bottom: 18px; }

/* thanks */
.thanks { padding: 150px 0 40px; }
.thanks__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; max-width: 860px; }
.thanks__seal { position: relative; width: 170px; height: 170px; display: grid; place-items: center; }
.thanks__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line-2); background: radial-gradient(circle, color-mix(in srgb, var(--gold) 20%, transparent), transparent 65%); animation: ring 3s ease-in-out infinite; }
.thanks__ring::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--gold) 30%, transparent); animation: spin 30s linear infinite; }
@keyframes ring { 50% { transform: scale(1.06); box-shadow: 0 0 80px -10px color-mix(in srgb, var(--gold) 60%, transparent); } }
.thanks h1 { font-size: clamp(38px, 5.4vw, 64px); }
.thanks .lead { color: var(--muted); font-size: 19px; }
.ref { display: flex; flex-direction: column; gap: 8px; padding: 18px 34px; border-radius: 20px; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--gold) 6%, transparent); }
.ref span { color: var(--faint); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; }
.ref strong { font: 700 clamp(20px, 6vw, 30px)/1 "Cinzel", serif; letter-spacing: .06em; color: var(--gold-2); cursor: copy; white-space: nowrap; }
.thanks__grid { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; text-align: start; margin: 10px 0; }
.thanks__grid .panel h3 { font-size: 20px; margin-bottom: 16px; }
.mini-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; color: var(--muted); }
.mini-steps li { display: flex; gap: 12px; align-items: center; }
.mini-steps span { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 700 13px/1 "Cinzel", serif; color: var(--gold); border: 1px solid var(--line-2); }

/* admin */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tabs a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.tabs a b { color: var(--gold-2); margin-inline-start: 6px; }
.tabs a.is-active { color: #1a1206; background: var(--gold-grad); border-color: transparent; }
.tabs a.is-active b { color: #1a1206; }
.admin-order { margin-bottom: 16px; }
.admin-order header { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.admin-order header > div { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.admin-order header strong { font: 700 18px/1 "Cinzel", serif; color: var(--gold-2); }
.admin-order__grid { display: grid; grid-template-columns: 1fr 260px; gap: 24px; }
.admin-order__grid p { margin-bottom: 10px; }
.admin-order__form { display: grid; gap: 10px; align-content: start; }
.pre { white-space: pre-wrap; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); font-size: 12.5px; }
.tags .tag-gold { background: color-mix(in srgb, var(--gold) 14%, transparent); color: var(--gold-2); }
.note { font-size: 13px; color: var(--muted); border-inline-start: 2px solid var(--line-2); padding-inline-start: 10px; }
.status { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, .08); }
.status--new { background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold-2); }
.status--contacted { background: rgba(95, 184, 255, .16); color: #b7e0ff; }
.status--in_progress { background: rgba(255, 157, 77, .16); color: #ffd0a8; }
.status--done { background: rgba(126, 224, 168, .16); color: #c7f5d9; }
.status--rejected { background: rgba(255, 122, 107, .14); color: #ffc2ba; }

/* ---------------------------------------------------------------- reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
[data-tilt] { transform-style: preserve-3d; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
    .services { grid-template-columns: repeat(2, 1fr); }
    .hero__grid, .forge, .faq { grid-template-columns: minmax(0, 1fr); }
    .hero { min-height: auto; padding-top: 130px; }
    .hero__art { max-width: 640px; width: 100%; margin-inline: auto; }
    .gallery { grid-template-columns: repeat(3, 1fr); }
    .order { grid-template-columns: minmax(0, 1fr); }
    .order__aside { position: static; }
    .chips-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1180px) {
    .nav__links { position: fixed; inset: 78px 12px auto 12px; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px; border-radius: 22px; background: rgba(12, 10, 15, .96); border: 1px solid var(--line); backdrop-filter: blur(18px); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .35s var(--ease); margin: 0; }
    .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
    .nav__links > a { padding: 14px 12px; font-size: 16px; }
    .nav__links > a::after { display: none; }
    .nav__mobile-actions { display: grid; gap: 10px; margin-top: 10px; }
    .nav__burger { display: inline-grid; }
    .nav__cta, .nav__actions > .icon-btn:not(.nav__burger) { display: none; }
    .nav__actions { margin-inline-start: auto; }
}
@media (max-width: 920px) {
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .steps::before { display: none; }
    .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
    .plan--featured { transform: none; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
    .field-row, .field-row--3, .pkg-grid, .thanks__grid, .admin-order__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .container { width: calc(100% - 32px); }
    .services, .gallery { grid-template-columns: 1fr; }
    .gallery { grid-auto-rows: 240px; }
    .tile--wide, .tile--tall, .tile--w2 { grid-column: auto; grid-row: auto; }
    .tile__zoom { opacity: 1; transform: none; }
    .steps { grid-template-columns: 1fr; }
    .chips-grid { grid-template-columns: 1fr 1fr; }
    .panel { padding: 22px; }
    .hero__ctas .btn { flex: 1; }
    .brand__sub { display: none; }
    .lightbox { padding: 16px; }
    .window--small { position: relative; width: 70%; margin: -40px 0 0 auto; inset: auto; }
    .forge__shots { padding-bottom: 0; }
}
/* full-page screenshots (?capture=1): no viewport-sized hero, everything shown */
.is-capture .hero { min-height: 900px; }
.is-capture .reveal { opacity: 1; transform: none; transition: none; }
.is-capture .nav { position: absolute; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* settings toggles */
.no-embers #embers, .no-grain .bg-grain, .no-glow .bg-glow { display: none; }
