/* =====================================================================
   RJ Coder — custom layer on top of the Arter theme
   Dark developer look · heavy (but smooth) animations
   ===================================================================== */
:root {
  --accent: #FFC107;
  --accent-2: #FF5722;
  --bg-0: #191923;
  --bg-1: #1e1e28;
  --bg-2: #20202a;
  --card: linear-gradient(159deg, #2d2d3a 0%, #2b2b35 100%);
  --text: #8c8c8e;
  --white: #fafafc;
  --mono: "JetBrains Mono", "Courier Prime", monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
::selection { background: var(--accent); color: #1e1e28; }
body { background: var(--bg-0); font-size: 13px; }
a { transition: color .3s; }
a:hover { color: var(--accent); }
.rj-accent { color: var(--accent); }
.rj-green { color: #4CAF50 !important; }
.rj-red { color: #f44336 !important; }
.rj-mono { font-family: var(--mono); }
.rj-grad-text {
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent));
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: rjShine 4s linear infinite;
}
@keyframes rjShine { to { background-position: 200% center; } }
.rj-skip { position: absolute; left: -999px; top: 0; z-index: 9999999; background: var(--accent); color: #111; padding: 8px 14px; }
.rj-skip:focus { left: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mt-30 { margin-top: 30px; }

/* headings used semantically, sized like theme */
.rj-card-title { font-size: 15px; font-weight: 600; color: var(--white); line-height: 1.45; }
.rj-card-title a { color: inherit; }
.rj-card-title a:hover { color: var(--accent); }
.rj-sec-title { font-size: 17px; font-weight: 600; }
.rj-sec-slash { color: var(--accent); font-family: var(--mono); margin-right: 4px; opacity: .85; }
.art-section-title .art-title-frame { position: relative; }
.art-section-title .art-title-frame:after {
  content: ""; display: block; height: 2px; width: 0; margin-top: 8px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transition: width 1.2s var(--ease) .2s;
}
.art-section-title.rj-in .art-title-frame:after, .no-reveal .art-section-title .art-title-frame:after { width: 60px; }
.rj-counter-label { font-size: 12px; font-weight: 400; color: var(--white); margin: 0; }

/* -------------------- progress bar (scroll) -------------------- */
.rj-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 99999999; pointer-events: none; }
.rj-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 12px var(--accent); }

/* -------------------- particles -------------------- */
#rj-particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .55; }
.art-content #swup { position: relative; z-index: 1; }

/* -------------------- preloader -------------------- */
.rj-preloader { flex-direction: column; background: radial-gradient(circle at 50% 40%, #262633, #191923 70%); }
.rj-pre-logo { display: block; margin: 0 auto 14px; filter: drop-shadow(0 0 18px rgba(255, 193, 7, .35)); }
.rj-pre-hex { stroke-dasharray: 280; stroke-dashoffset: 280; animation: rjDraw 1.4s var(--ease) forwards, rjSpinGlow 3s linear infinite 1.4s; transform-origin: 50% 50%; }
.rj-pre-txt { font: 800 30px "Poppins", sans-serif; fill: #fafafc; opacity: 0; animation: rjFadeUp .6s ease .9s forwards; }
@keyframes rjDraw { to { stroke-dashoffset: 0; } }
@keyframes rjSpinGlow { 50% { filter: drop-shadow(0 0 6px var(--accent)); } }
@keyframes rjFadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.rj-pre-title { font-family: var(--mono); letter-spacing: 2px; font-size: 15px; color: var(--white); margin-bottom: 6px; }
.rj-pre-term { font-family: var(--mono); font-size: 11px; color: #4CAF50; min-height: 18px; margin-bottom: 4px; }
.rj-caret { display: inline-block; width: 7px; height: 12px; background: var(--accent); margin-left: 3px; vertical-align: -1px; animation: rjBlink 1s steps(1) infinite; }
@keyframes rjBlink { 50% { opacity: 0; } }

/* -------------------- page transition swipe -------------------- */
.rj-swipe { position: fixed; inset: 0; z-index: 9999999; pointer-events: none; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(120deg, #20202a 0%, #1a1a24 60%, var(--accent) 60.3%, var(--accent-2) 100%);
  background-size: 300% 100%; transform: translateX(-101%); transition: transform .5s var(--ease); }
.rj-swipe img { opacity: 0; transform: scale(.6) rotate(-30deg); transition: .4s var(--ease); }
html.is-animating .rj-swipe { transform: translateX(0); }
html.is-animating .rj-swipe img { opacity: 1; transform: none; }
html.is-rendering .rj-swipe { transform: translateX(101%); }

/* -------------------- custom cursor -------------------- */
.rj-cursor, .rj-cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 999999999; border-radius: 50%; opacity: 0; }
.rj-cursor { width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1.5px solid var(--accent); transition: width .25s, height .25s, margin .25s, background .25s, opacity .3s, border-color .25s; mix-blend-mode: difference; }
.rj-cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--accent); }
body.rj-cursor-on .rj-cursor, body.rj-cursor-on .rj-cursor-dot { opacity: 1; }
body.rj-hovering .rj-cursor { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255, 193, 7, .12); border-color: transparent; }
body.rj-clicking .rj-cursor { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
@media (pointer: coarse) { .rj-cursor, .rj-cursor-dot { display: none; } }

/* -------------------- sidebar / avatar / glitch -------------------- */
.rj-avatar { position: relative; }
.rj-avatar-ring { position: absolute; inset: -6px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, var(--accent), transparent 30%, var(--accent-2) 55%, transparent 80%, var(--accent));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: rjRotate 4s linear infinite; }
@keyframes rjRotate { to { transform: rotate(360deg); } }
.art-available-lamp { position: relative; }
.art-available-lamp:not(.art-not-available) { background: #4CAF50 !important; }
.art-available-lamp:not(.art-not-available):after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #4CAF50; animation: rjPing 1.6s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes rjPing { 75%, 100% { transform: scale(2.4); opacity: 0; } }
.rj-glitch { position: relative; display: inline-block; }
.rj-glitch:hover:before, .rj-glitch:hover:after, .rj-404-num:before, .rj-404-num:after {
  content: attr(data-text); position: absolute; left: 0; top: 0; width: 100%; overflow: hidden; }
.rj-glitch:hover:before, .rj-404-num:before { left: 2px; text-shadow: -2px 0 #ff00c1; clip-path: inset(0 0 55% 0); animation: rjGlitch 1.4s infinite linear alternate-reverse; }
.rj-glitch:hover:after, .rj-404-num:after { left: -2px; text-shadow: -2px 0 #00fff9; clip-path: inset(55% 0 0 0); animation: rjGlitch 1.1s infinite linear alternate-reverse; }
@keyframes rjGlitch {
  0% { clip-path: inset(20% 0 60% 0); } 20% { clip-path: inset(60% 0 10% 0); } 40% { clip-path: inset(40% 0 40% 0); }
  60% { clip-path: inset(80% 0 5% 0); } 80% { clip-path: inset(10% 0 75% 0); } 100% { clip-path: inset(50% 0 30% 0); } }
.art-info-bar .art-sm-text { line-height: 1.7; }

/* menu */
.rj-menu-ico { width: 18px; margin-right: 8px; color: var(--accent); opacity: .7; font-size: 11px; transition: .3s; }
.main-menu .menu-item a { transition: color .3s, padding .3s; }
.main-menu .menu-item a:hover { padding-left: 4px; }
.main-menu .menu-item a:hover .rj-menu-ico { opacity: 1; transform: rotate(-10deg) scale(1.2); }
.art-current-page .rj-menu-ico { display: none; }
.rj-menu-logo { padding: 30px; text-align: center; opacity: .9; }
.rj-menu-logo img { display: block; margin: 0 auto 8px; animation: rjFloat 4s ease-in-out infinite; }
.rj-menu-logo span { font-family: var(--mono); font-size: 10px; color: var(--accent); letter-spacing: 1px; }
.rj-mobile-logo img { height: 40px; width: auto; }

/* -------------------- hero -------------------- */
.rj-banner-overlay { overflow: hidden; }
.rj-matrix { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .16; pointer-events: none; }
.art-banner-title { position: relative; z-index: 2; }
.rj-hero .art-banner-overlay { min-height: 440px; padding-right: 420px; background-image: linear-gradient(90deg, rgba(30, 30, 40, .96) 25%, rgba(30, 30, 40, .86) 60%, rgba(30, 30, 40, .62) 100%); }
.rj-page-banner .art-banner-overlay, .rj-404 .art-banner-overlay { background-image: linear-gradient(90deg, rgba(30, 30, 40, .95) 30%, rgba(30, 30, 40, .8) 100%); }
.rj-hero-title { line-height: 1.12; font-size: 48px; }
.rj-hero-title b { color: var(--accent); text-shadow: 0 0 30px rgba(255, 193, 7, .35); }
.rj-hero-title .rj-w { display: inline-block; opacity: 0; transform: translateY(40px) rotateX(-80deg); transform-origin: 50% 100%; }
.rj-hero-desc { max-width: 560px; color: #a9a9b0; font-size: 13px; line-height: 1.8; margin-bottom: 25px; }
.rj-hello { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; color: var(--white); background: rgba(32, 32, 42, .7); border: 1px solid rgba(255, 255, 255, .06); padding: 6px 14px; border-radius: 30px; margin-bottom: 18px; backdrop-filter: blur(6px); }
.rj-dot-live { width: 8px; height: 8px; border-radius: 50%; background: #4CAF50; position: relative; }
.rj-dot-live:after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #4CAF50; animation: rjPing 1.6s infinite; }
.rj-typing { color: var(--accent); }
.rj-typing:after { content: ""; display: inline-block; width: 2px; height: 1em; background: var(--accent); margin-left: 3px; vertical-align: -2px; animation: rjBlink .9s steps(1) infinite; }
.rj-hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.rj-hero-btns .art-btn { margin-right: 0; }
.rj-btn-ghost { background: transparent !important; box-shadow: inset 0 0 0 2px var(--accent) !important; }
.rj-btn-ghost span { color: var(--accent) !important; }
.rj-btn-ghost:hover span { color: #1e1e28 !important; }
.rj-btn-ghost:hover { background: var(--accent) !important; }
.art-btn { position: relative; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.art-btn:before { content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); transition: left .7s var(--ease); }
.art-btn:hover:before { left: 140%; }
.art-btn:hover { box-shadow: 0 8px 24px rgba(255, 193, 7, .3); }

.rj-hero-photo-wrap { position: absolute; right: 30px; bottom: 0; width: 390px; height: 100%; pointer-events: none; z-index: 1; }
.rj-hero-photo { width: 100% !important; right: 0 !important; position: absolute; bottom: 0; animation: rjFloat 6s ease-in-out infinite; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .5)); }
.rj-hero-glow { position: absolute; left: 50%; bottom: 10%; width: 300px; height: 300px; margin-left: -150px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 193, 7, .35), transparent 65%); filter: blur(10px); animation: rjPulse 4s ease-in-out infinite; }
.rj-hero-glow:before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px dashed rgba(255, 193, 7, .35); animation: rjRotate 30s linear infinite; }
@keyframes rjPulse { 50% { transform: scale(1.12); opacity: .7; } }
@keyframes rjFloat { 50% { transform: translateY(-12px); } }
.rj-orbit { position: absolute; width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; z-index: 3;
  background: rgba(32, 32, 42, .85); color: var(--accent); font-size: 20px; box-shadow: 0 8px 20px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .06); backdrop-filter: blur(4px); animation: rjBob 5s ease-in-out infinite; }
.rj-orbit-1 { left: 0; top: 25%; color: #8892BF; }
.rj-orbit-2 { right: 0; top: 18%; animation-delay: -1.2s; color: #F7DF1E; }
.rj-orbit-3 { right: 10px; top: 58%; animation-delay: -2.4s; color: #61DAFB; }
.rj-orbit-4 { left: 18px; top: 66%; animation-delay: -3.3s; color: #FF7043; }
@keyframes rjBob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(8deg); } }
.rj-floating span { position: absolute; left: var(--x); top: var(--y); font-family: var(--mono); font-weight: 600; color: var(--accent); opacity: .12; font-size: 26px; animation: rjDrift 9s ease-in-out infinite; animation-delay: var(--d); pointer-events: none; }
@keyframes rjDrift { 0%, 100% { transform: translate(0, 0) rotate(0); } 33% { transform: translate(14px, -18px) rotate(10deg); } 66% { transform: translate(-12px, 10px) rotate(-8deg); } }
.art-banner { border-radius: 4px; }
.art-banner:after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: 4px; padding: 1px;
  background: linear-gradient(120deg, transparent 30%, var(--accent), transparent 70%); background-size: 250% 250%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: rjBorder 6s linear infinite; }
@keyframes rjBorder { 0% { background-position: 0% 0%; } 100% { background-position: 250% 250%; } }

/* inner page banner */
.rj-page-banner .art-banner-overlay { min-height: 220px; }
.rj-page-banner h1 { font-size: 40px; line-height: 1.2; }
.rj-page-sub { font-size: 13px; color: #c3c3c8; }
.rj-comment { color: #6a9955; }
.rj-breadcrumb { font-size: 11px; margin-bottom: 14px; font-family: var(--mono); color: #8c8c8e; }
.rj-breadcrumb a { color: #c3c3c8; }
.rj-breadcrumb a:hover { color: var(--accent); }
.rj-breadcrumb [aria-current] { color: var(--accent); }
.rj-bc-sep { margin: 0 8px; opacity: .5; }

/* counters */
.rj-counter-frame { transition: transform .4s var(--ease); }
.rj-counter-frame:hover { transform: translateY(-4px); }
.art-counter { text-shadow: 0 0 18px rgba(255, 193, 7, .35); }

/* marquee */
.rj-marquee { overflow: hidden; margin-bottom: 30px; padding: 16px 0; background: var(--card); box-shadow: 0 3px 8px rgba(15, 15, 20, .2);
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rj-marquee-track { display: flex; width: max-content; animation: rjMarquee 40s linear infinite; }
.rj-marquee:hover .rj-marquee-track { animation-play-state: paused; }
.rj-marquee span { white-space: nowrap; padding: 0 26px; font-family: var(--mono); font-size: 13px; color: var(--white); }
.rj-marquee span i { color: var(--accent); font-size: 10px; margin-right: 6px; }
@keyframes rjMarquee { to { transform: translateX(-50%); } }

/* about + terminal */
.rj-about-card { height: calc(100% - 30px); }
.rj-about-h { font-size: 20px; line-height: 1.45; margin-bottom: 15px; }
.rj-about-h em { color: var(--accent); font-style: normal; }
.rj-checks { list-style: none; padding: 0; margin: 15px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rj-checks li { color: #c3c3c8; }
.rj-checks i { color: var(--accent); margin-right: 6px; }
.rj-terminal { background: #15151c; border-radius: 8px; overflow: hidden; box-shadow: 0 20px 40px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .05); margin-bottom: 30px; }
.rj-term-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #23232d; }
.rj-term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f56; }
.rj-term-bar i:nth-child(2) { background: #ffbd2e; }
.rj-term-bar i:nth-child(3) { background: #27c93f; }
.rj-term-bar span { margin-left: 10px; font-family: var(--mono); font-size: 11px; color: #8c8c8e; }
.rj-term-body { margin: 0; padding: 20px; min-height: 230px; font-family: var(--mono); font-size: 12.5px; line-height: 1.85; color: #c3c3c8; white-space: pre-wrap; }
.rj-term-body .p { color: #4CAF50; }
.rj-term-body .p b { color: #64B5F6; font-weight: 400; }
.rj-term-body .s { color: var(--accent); }

/* services */
.rj-service { position: relative; overflow: hidden; height: calc(100% - 30px); transition: transform .5s var(--ease), box-shadow .5s; }
.rj-service:before, .rj-price:after, .rj-step:before, .rj-skill-card:before, .rj-contact-card:before {
  content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 60%, var(--accent) 80%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: rjAng 4s linear infinite; }
.rj-service:hover:before, .rj-price:hover:after, .rj-step:hover:before, .rj-skill-card:hover:before, .rj-contact-card:hover:before { opacity: 1; }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes rjAng { to { --ang: 360deg; } }
.rj-service:hover { box-shadow: 0 18px 40px rgba(0, 0, 0, .4); }
.rj-service-icon { width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 22px; color: #1e1e28;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 10px 24px rgba(255, 152, 0, .3); transition: transform .6s var(--ease); }
.rj-service:hover .rj-service-icon, .rj-step:hover .rj-service-icon, .rj-contact-card:hover .rj-service-icon { transform: rotateY(360deg) scale(1.05); }
.rj-service-num { position: absolute; right: 20px; top: 14px; font: 800 44px var(--mono); color: rgba(255, 255, 255, .04); transition: .5s; }
.rj-service:hover .rj-service-num { color: rgba(255, 193, 7, .12); transform: translateY(-4px); }

/* projects & posts */
.rj-project-card, .rj-post-card { position: relative; overflow: hidden; margin-bottom: 0; transition: transform .5s var(--ease), box-shadow .5s; }
.rj-project-card:hover, .rj-post-card:hover { box-shadow: 0 20px 40px rgba(0, 0, 0, .45); }
.rj-item-desc { position: relative !important; left: 0 !important; width: 100% !important; transform: none !important; padding: 24px; background: var(--card); }
.rj-card-text { color: #9a9aa0; line-height: 1.7; }
.rj-shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .18) 50%, transparent 70%); transform: translateX(-100%); transition: transform .9s var(--ease); pointer-events: none; }
.rj-project-card:hover .rj-shine { transform: translateX(100%); }
.rj-cat-chip { display: inline-block; font-size: 10px; letter-spacing: .5px; color: var(--accent); background: rgba(255, 193, 7, .08); border: 1px solid rgba(255, 193, 7, .2); padding: 2px 10px; border-radius: 20px; }
.rj-post-date { position: absolute; left: 16px; top: 16px; z-index: 2; background: var(--accent); color: #1e1e28; text-align: center; border-radius: 6px; padding: 6px 10px; font-size: 10px; font-weight: 600; line-height: 1.1; text-transform: uppercase; box-shadow: 0 6px 16px rgba(0, 0, 0, .3); }
.rj-post-date b { display: block; font-size: 18px; }
.rj-post-meta { display: flex; align-items: center; gap: 12px; font-size: 11px; flex-wrap: wrap; }
.rj-grid .art-grid-item { margin-bottom: 30px; }
.rj-grid .art-grid-item:hover .art-item-description { transform: none; }
.art-works-slider .swiper-slide, .art-blog-slider .swiper-slide { height: auto; }
.art-filter.rj-filter { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.art-filter a { position: relative; }
.art-filter a sup { color: var(--accent); font-size: 9px; }
.art-filter a:after { content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0; background: var(--accent); transition: width .4s var(--ease); }
.art-filter a.art-current:after, .art-filter a:hover:after { width: 100%; }
.rj-related { margin-bottom: 30px; }

/* pricing */
.rj-price { position: relative; overflow: hidden; transition: transform .5s var(--ease); }
.rj-price-title { font-size: 14px; }
.rj-ribbon-unused { position: absolute; top: 18px; right: -34px; transform: rotate(45deg); background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #1e1e28; font-size: 10px; font-weight: 700; padding: 4px 40px; letter-spacing: 1px; text-transform: uppercase; z-index: 2; }

/* testimonials */
.rj-testimonial { margin: 0; height: 100%; }
.rj-tquote { font-style: italic; color: #a9a9b0; line-height: 1.8; }
.rj-quote { color: var(--accent); opacity: .6; margin-right: 4px; }
.art-testimonial-slider .swiper-slide { height: auto; }

/* CTA */
.rj-cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 40px; margin-bottom: 30px; background: var(--card); }
.rj-cta h2 { font-size: 24px; line-height: 1.4; margin: 8px 0; }
.rj-cta p { margin: 0; }
.rj-cta-glow { position: absolute; width: 380px; height: 380px; right: -100px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 193, 7, .22), transparent 70%); animation: rjPulse 5s infinite; pointer-events: none; }
.rj-cta-text, .rj-cta-btns { position: relative; z-index: 1; }

/* brands */
.rj-brands .art-brand { filter: grayscale(1); transition: .4s; object-fit: contain; }
.rj-brands .art-brand:hover { filter: none; transform: scale(1.08); }

/* footer */
.rj-footer { margin-top: 10px; }
.rj-footer-links { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.rj-heart { color: #f44336; animation: rjBeat 1.2s infinite; }
@keyframes rjBeat { 0%, 100% { transform: scale(1); } 25% { transform: scale(1.3); } 50% { transform: scale(1); } 75% { transform: scale(1.2); } }

/* about page */
.rj-about-photo { position: relative; overflow: hidden; margin-bottom: 30px; border-radius: 4px; }
.rj-about-photo img { width: 100%; height: auto; display: block; aspect-ratio: 1 / 1; object-fit: cover; filter: grayscale(.2) contrast(1.05); transition: transform .8s var(--ease); }
.rj-about-photo:hover img { transform: scale(1.05); }
.rj-about-badge { position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 10px; background: rgba(30, 30, 40, .85); backdrop-filter: blur(8px); padding: 12px 18px; border-radius: 10px; border: 1px solid rgba(255, 193, 7, .25); }
.rj-about-badge b { font-size: 34px; color: var(--accent); line-height: 1; }
.rj-about-badge span { font-size: 11px; color: var(--white); line-height: 1.3; }
.rj-about-table { margin-top: 20px; }
.rj-skill-card { position: relative; text-align: center; padding: 26px 14px 22px; margin-bottom: 30px; background: var(--card); transition: transform .5s var(--ease); }
.rj-ring { width: 110px; height: 110px; transform: rotate(-90deg); display: block; margin: 0 auto; }
.rj-ring circle { fill: none; stroke-width: 7; }
.rj-ring-bg { stroke: #191923; }
.rj-ring-fg { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 1.8s var(--ease); filter: drop-shadow(0 0 4px var(--accent)); }
.rj-ring-val { margin-top: -72px; height: 72px; font: 600 20px "Poppins"; color: var(--white); }
.rj-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.rj-tag { display: inline-block; padding: 5px 12px; border-radius: 20px; font-size: 11px; background: #20202a; color: #c3c3c8; box-shadow: inset 0 2px 6px rgba(15, 15, 20, .3); transition: .3s; }
a.rj-tag:hover, .rj-tag:hover { color: #1e1e28; background: var(--accent); transform: translateY(-2px); }
.rj-timeline .art-timeline-content { transition: transform .4s var(--ease); }
.rj-timeline .art-timeline-item:hover .art-timeline-content { transform: translateX(-6px); }
.rj-timeline .art-timeline-mark { box-shadow: 0 0 0 4px rgba(255, 193, 7, .12); }

/* services page */
.rj-step { position: relative; padding: 30px; margin-bottom: 30px; height: calc(100% - 30px); background: var(--card); overflow: hidden; }
.rj-step-no { position: absolute; right: 16px; top: 8px; font: 800 52px var(--mono); color: rgba(255, 193, 7, .08); }
.rj-faq-item { margin-bottom: 14px; background: var(--card); padding: 0; border-left: 3px solid transparent; transition: border-color .3s; }
.rj-faq-item[open] { border-left-color: var(--accent); }
.rj-faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; }
.rj-faq-item summary::-webkit-details-marker { display: none; }
.rj-faq-item summary h3 { font-size: 14px; margin: 0; color: var(--white); font-weight: 500; }
.rj-faq-item summary i { color: var(--accent); transition: transform .4s var(--ease); }
.rj-faq-item[open] summary i { transform: rotate(135deg); }
.rj-faq-body { padding: 0 24px 22px; line-height: 1.8; animation: rjFadeUp .5s var(--ease); }

/* single project / post */
.rj-prose { color: #a9a9b0; font-size: 13.5px; line-height: 1.9; margin-bottom: 30px; }
.rj-prose h2 { font-size: 20px; margin: 26px 0 12px; scroll-margin-top: 30px; }
.rj-prose h3 { font-size: 16px; margin: 22px 0 10px; color: var(--white); }
.rj-prose h2:first-child { margin-top: 0; }
.rj-prose ul, .rj-prose ol { padding-left: 20px; }
.rj-prose li { margin-bottom: 6px; }
.rj-prose ul li::marker { color: var(--accent); }
.rj-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.rj-prose strong, .rj-prose b { color: var(--white); font-weight: 600; }
.rj-prose img { max-width: 100%; height: auto; border-radius: 4px; }
.rj-prose code { font-family: var(--mono); background: #191923; color: var(--accent); padding: 2px 6px; border-radius: 4px; font-size: 12px; }
.rj-prose pre { background: #15151c; padding: 18px; border-radius: 6px; overflow: auto; border-left: 3px solid var(--accent); }
.rj-prose pre code { background: none; padding: 0; color: #c3c3c8; }
.rj-prose blockquote { border-left: 3px solid var(--accent); padding: 6px 18px; margin: 18px 0; background: rgba(255, 193, 7, .04); font-style: italic; }
.rj-project-cover img, .rj-post-cover img { filter: none; }
.rj-post-cover { margin: 0 0 30px; }
.rj-project-info { margin-bottom: 30px; }
.rj-sticky { position: sticky; top: 30px; }
.rj-article-head { margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.rj-author { display: flex; align-items: center; gap: 12px; }
.rj-author img { border-radius: 50%; object-fit: cover; }
.rj-author b { display: block; color: var(--white); font-weight: 500; }
.rj-author span { font-size: 11px; }
.rj-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.rj-toc li { padding: 6px 0; border-bottom: 1px dashed rgba(255, 255, 255, .05); }
.rj-toc li.rj-toc-h3 { padding-left: 16px; font-size: 12px; }
.rj-toc a { color: #a9a9b0; }
.rj-toc a:hover, .rj-toc a.active { color: var(--accent); }
.rj-author-box { text-align: center; }
.rj-author-box img { border-radius: 50%; margin-bottom: 12px; object-fit: cover; box-shadow: 0 0 0 3px var(--accent); }
.rj-share { display: flex; align-items: center; gap: 10px; margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .05); flex-wrap: wrap; }
.rj-share a { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #20202a; color: #c3c3c8; text-decoration: none; transition: .3s; }
.rj-share a:hover { background: var(--accent); color: #1e1e28; transform: translateY(-3px) rotate(8deg); }
.rj-prevnext { position: relative; align-items: center; margin-bottom: 30px; }
.rj-grid-ico { font-size: 18px; color: var(--accent); }
.rj-blog-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.rj-blog-bar .art-filter { margin: 0; }
.rj-search { display: flex; background: #20202a; border-radius: 30px; overflow: hidden; box-shadow: inset 0 2px 6px rgba(15, 15, 20, .3); }
.rj-search input { background: none; border: 0; color: var(--white); padding: 10px 16px; width: 220px; outline: none; }
.rj-search button { background: var(--accent); border: 0; color: #1e1e28; padding: 0 16px; cursor: pointer; }
.art-pagination { position: relative; margin-bottom: 30px; }

/* contact */
.rj-contact-card { position: relative; height: calc(100% - 30px); }
.rj-contact-card .art-table ul li { gap: 10px; }
.rj-contact-card .art-table span { text-align: right; word-break: break-word; }
.rj-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.rj-contact-form .art-form-field label i { font-size: 13px; }
.rj-form-msg { margin-top: 18px; font-size: 13px; min-height: 20px; }
.rj-form-msg.ok { color: #4CAF50; }
.rj-form-msg.err { color: #ff6b6b; }
.rj-map { overflow: hidden; height: 300px; filter: grayscale(.9) invert(.92) contrast(.9); border-radius: 4px; }
.rj-map iframe { width: 100%; height: 100%; border: 0; }
.art-submit-frame .art-success { max-width: none; }

/* 404 */
.rj-404 .art-banner-overlay { min-height: 420px; justify-content: center; }
.rj-404-num { position: relative; font: 800 130px/1 "Poppins"; color: var(--accent); text-shadow: 0 0 40px rgba(255, 193, 7, .4); margin-bottom: 10px; display: inline-block; }

/* floating buttons */
.rj-whatsapp, .rj-totop { position: fixed; z-index: 99999; width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 25px rgba(0, 0, 0, .35); transition: transform .3s var(--ease), opacity .3s; }
.rj-whatsapp { right: 110px; bottom: 34px; background: #25D366; color: #fff; font-size: 26px; }
.rj-whatsapp:after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: rjRipple 2s infinite; }
@keyframes rjRipple { to { transform: scale(1.7); opacity: 0; } }
.rj-whatsapp:hover { color: #fff; transform: scale(1.1) rotate(-8deg); }
.rj-totop { right: 110px; bottom: 96px; width: 42px; height: 42px; margin-right: 4px; background: var(--accent); color: #1e1e28; opacity: 0; pointer-events: none; transform: translateY(20px); }
.rj-totop.show { opacity: 1; pointer-events: auto; transform: none; }
.rj-totop:hover { color: #1e1e28; transform: translateY(-4px); }

/* -------------------- scroll reveal -------------------- */
.fx-reveal [data-reveal] { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rd, 0ms); will-change: transform, opacity; }
.fx-reveal [data-reveal="up"] { transform: translateY(50px); }
.fx-reveal [data-reveal="left"] { transform: translateX(-60px); }
.fx-reveal [data-reveal="right"] { transform: translateX(60px); }
.fx-reveal [data-reveal="zoom"] { transform: scale(.88); }
.fx-reveal [data-reveal].rj-in { opacity: 1; transform: none; }
[data-tilt] { transform-style: preserve-3d; will-change: transform; }
.rj-tilt-glare { position: absolute; inset: 0; pointer-events: none; z-index: 5; border-radius: inherit; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .14), transparent 55%); opacity: 0; transition: opacity .3s; }
[data-tilt]:hover > .rj-tilt-glare { opacity: 1; }

/* -------------------- responsive -------------------- */
@media (max-width: 1400px) {
  .rj-hero .art-banner-overlay { padding-right: 360px; }
  .rj-hero-photo-wrap { width: 330px; }
}
@media (max-width: 1200px) {
  .rj-hero .art-banner-overlay { padding-right: 60px; }
  .rj-hero-photo-wrap { display: none; }
  .rj-hero-title { font-size: 40px; }
}
@media (max-width: 920px) {
  .rj-whatsapp { right: 20px; bottom: 20px; }
  .rj-totop { right: 24px; bottom: 82px; }
  .rj-mobile-logo { display: flex; align-items: center; }
  .rj-sticky { position: static; }
}
@media (max-width: 768px) {
  .rj-hero .art-banner-overlay, .rj-page-banner .art-banner-overlay { padding: 40px 24px; min-height: 0; }
  .rj-hero-title { font-size: 30px; }
  .rj-page-banner h1 { font-size: 26px; }
  .rj-checks { grid-template-columns: 1fr; }
  .rj-cta { padding: 28px; }
  .rj-cta h2 { font-size: 19px; }
  .rj-404-num { font-size: 84px; }
  .rj-search input { width: 100%; }
  .rj-search { width: 100%; }
  .rj-floating { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .fx-reveal [data-reveal] { opacity: 1; transform: none; }
}
.rj-page-banner, .rj-404 { margin-bottom: 30px; }
@media (max-width: 920px) {
  .rj-mobile-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .rj-mobile-logo img { height: 36px; }
}
