/* ==========================================================================
   Royal Blueprint — Digital Samrat Banerjee
   Royal confidence. Blueprint precision.
   ========================================================================== */

:root {
	--royal: #4169E1;
	--royal-deep: #2F54C8;
	--royal-700: #2440A0;
	--electric: #8AA4F5;
	--royal-tint: #EEF2FD;
	--midnight: #070D24;
	--midnight-surface: #0E1838;
	--midnight-raised: #132050;
	--midnight-line: #26335F;
	--paper: #F5F7FC;
	--white: #FFFFFF;
	--ink: #0A1024;
	--slate: #5B6478;
	--slate-dark: #A9B4D6;
	--line: #DDE2EE;
	--growth: #0E7C3A;

	--f-display: "Montserrat", Poppins, Arial, sans-serif;
	--f-body: "Inter", system-ui, "Segoe UI", Arial, sans-serif;
	--f-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;

	--r-4: 4px; --r-8: 8px; --r-12: 12px; --r-16: 16px; --r-24: 24px; --r-full: 999px;
	--shadow: 0 1px 2px rgba(10,16,36,.06), 0 4px 16px rgba(10,16,36,.06);
	--shadow-royal: 0 10px 30px rgba(65,105,225,.28);
	--ease: cubic-bezier(.2,.7,.2,1);
	--wrap: 1200px;
	--header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body.rb {
	margin: 0;
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
.rb img { max-width: 100%; height: auto; display: block; }
.rb a { color: var(--royal-deep); text-decoration: none; }
.rb a:hover { color: var(--royal); }
.rb h1, .rb h2, .rb h3, .rb h4 {
	font-family: var(--f-display);
	color: inherit;
	margin: 0;
	letter-spacing: -0.02em;
	line-height: 1.06;
}
.rb p { margin: 0; }
.rb ::selection { background: var(--royal); color: #fff; }
.rb :focus-visible { outline: 3px solid var(--electric); outline-offset: 3px; border-radius: var(--r-4); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 999; background: #fff; padding: 8px 16px; border-radius: var(--r-8); }

/* ---------- Signature devices ---------- */
.dot { color: var(--royal); }
.on-royal .dot, .bg-royal .dot { color: var(--midnight); }
.on-dark .dot, .bg-midnight .dot { color: var(--royal); }

.kicker {
	display: inline-flex; align-items: center; gap: 12px;
	font-family: var(--f-mono); font-weight: 700;
	font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
	color: var(--royal-deep);
}
.kicker::before { content: ""; width: 40px; height: 6px; border-radius: 2px; background: var(--royal); }
.bg-midnight .kicker { color: var(--electric); }
.bg-royal .kicker { color: #fff; }
.bg-royal .kicker::before { background: #fff; }

.hl { display: inline-block; background: var(--royal); color: #fff; padding: 0 .18em; border-radius: var(--r-8); line-height: 1.12; }
.bg-royal .hl { background: var(--midnight); color: #fff; }

.chip {
	display: inline-flex; align-items: center; gap: 6px;
	font-family: var(--f-mono); font-weight: 500; font-size: 13px; letter-spacing: .04em;
	padding: 7px 14px; border-radius: var(--r-full);
	background: var(--royal-tint); color: var(--royal-deep);
}
.bg-midnight .chip { background: rgba(65,105,225,.18); color: var(--electric); }
.bg-royal .chip { background: rgba(255,255,255,.16); color: #fff; }

.grid-bg { position: relative; isolation: isolate; }
.grid-bg::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image:
		linear-gradient(to right, rgba(65,105,225,.09) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(65,105,225,.09) 1px, transparent 1px);
	background-size: 40px 40px;
	-webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 78%);
	mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 78%);
}
.bg-royal.grid-bg::before {
	background-image:
		linear-gradient(to right, rgba(255,255,255,.11) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255,255,255,.11) 1px, transparent 1px);
}
.bg-midnight.grid-bg::before {
	background-image:
		linear-gradient(to right, rgba(138,164,245,.07) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(138,164,245,.07) 1px, transparent 1px);
}

/* ---------- Section shells ---------- */
.section { padding: 112px 0; position: relative; }
.bg-paper { background: var(--paper); color: var(--ink); }
.bg-white { background: #fff; color: var(--ink); }
.bg-midnight { background: var(--midnight); color: #EEF2FF; }
.bg-royal { background: var(--royal); color: #fff; }
.glow { position: relative; overflow: hidden; }
.glow::after {
	content: ""; position: absolute; width: 760px; height: 760px; border-radius: 50%;
	right: -220px; top: -260px; z-index: 0; pointer-events: none;
	background: radial-gradient(circle, rgba(65,105,225,.45) 0%, rgba(65,105,225,0) 65%);
}
.glow > .wrap { position: relative; z-index: 1; }

.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .kicker { justify-content: center; }
.sec-title { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; margin-top: 18px; }
.sec-lead { font-size: 19px; color: var(--slate); margin-top: 20px; max-width: 640px; }
.sec-head.center .sec-lead { margin-left: auto; margin-right: auto; }
.bg-midnight .sec-lead { color: var(--slate-dark); }
.bg-royal .sec-lead { color: rgba(255,255,255,.9); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--f-display); font-weight: 700; font-size: 16px;
	padding: 16px 26px; border-radius: var(--r-8); border: 2px solid transparent;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s;
	cursor: pointer; white-space: nowrap;
}
.btn .arr { font-family: var(--f-mono); font-size: 18px; transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translate(3px,-3px); }
.rb .btn-royal { background: var(--royal); color: #fff; box-shadow: var(--shadow-royal); }
.rb .btn-royal:hover { background: var(--royal-deep); color: #fff; transform: translateY(-2px); }
.rb .btn-white { background: #fff; color: var(--royal-deep); }
.rb .btn-white:hover { background: var(--midnight); color: #fff; transform: translateY(-2px); }
.rb .btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.rb .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }
.rb .btn-outline { border-color: var(--royal); color: var(--royal-deep); }
.rb .btn-outline:hover { background: var(--royal); color: #fff; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(7,13,36,.92);
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid rgba(65,105,225,.35);
}
.admin-bar .site-header { top: 32px; }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.rb .nav a {
	font-family: var(--f-body); font-weight: 500; font-size: 15px;
	color: #DCE3FA; padding: 10px 14px; border-radius: var(--r-8);
	transition: background .2s, color .2s;
}
.rb .nav a:hover, .rb .nav a.is-active { color: #fff; background: rgba(65,105,225,.22); }
.rb .nav .btn { margin-left: 10px; padding: 12px 20px; font-size: 15px; color: #fff; }
.nav-toggle {
	display: none; width: 46px; height: 46px; border-radius: var(--r-8);
	border: 1px solid var(--midnight-line); background: var(--midnight-surface); color: #fff; cursor: pointer;
}
.nav-toggle svg { margin: auto; }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 120px; overflow: hidden; }
.hero::after {
	content: ""; position: absolute; width: 900px; height: 900px; border-radius: 50%;
	left: -320px; bottom: -560px; pointer-events: none;
	background: radial-gradient(circle, rgba(7,13,36,.45) 0%, rgba(7,13,36,0) 65%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(42px, 6.2vw, 80px); font-weight: 800; line-height: 1.02; margin-top: 22px; }
.hero-sub { font-size: 20px; line-height: 1.55; color: rgba(255,255,255,.92); margin-top: 26px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }

/* Blueprint card */
.bp-card {
	background: var(--midnight); color: #EEF2FF;
	border-radius: var(--r-24); padding: 30px;
	box-shadow: 0 30px 80px rgba(7,13,36,.45);
	border: 1px solid rgba(138,164,245,.18);
	position: relative; overflow: hidden;
}
.bp-card::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image:
		linear-gradient(to right, rgba(138,164,245,.07) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(138,164,245,.07) 1px, transparent 1px);
	background-size: 24px 24px;
}
.bp-top { display: flex; align-items: center; justify-content: space-between; position: relative; }
.bp-label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--electric); }
.bp-dots { display: flex; gap: 6px; }
.bp-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--midnight-line); }
.bp-dots i:first-child { background: var(--royal); }
.bp-title { font-family: var(--f-display); font-weight: 800; font-size: 26px; margin: 18px 0 22px; position: relative; letter-spacing: -.02em; }
.flow { list-style: none; margin: 0; padding: 0; position: relative; }
.flow li {
	display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px;
	padding: 13px 14px; border-radius: var(--r-12);
	background: var(--midnight-surface); border: 1px solid var(--midnight-line);
	position: relative;
	opacity: 0; transform: translateY(10px);
	animation: rbIn .6s var(--ease) forwards;
}
.flow li + li { margin-top: 18px; }
.flow li + li::before {
	content: ""; position: absolute; left: 35px; top: -19px; width: 2px; height: 19px;
	background: repeating-linear-gradient(to bottom, var(--royal) 0 4px, transparent 4px 7px);
}
.flow li:nth-child(1) { animation-delay: .15s; }
.flow li:nth-child(2) { animation-delay: .3s; }
.flow li:nth-child(3) { animation-delay: .45s; }
.flow li:nth-child(4) { animation-delay: .6s; }
.flow li:nth-child(5) { animation-delay: .75s; }
.flow-ic { width: 44px; height: 44px; border-radius: var(--r-12); background: rgba(65,105,225,.2); display: grid; place-items: center; color: var(--electric); }
.flow li:last-child .flow-ic { background: var(--royal); color: #fff; }
.flow-name { font-family: var(--f-display); font-weight: 700; font-size: 16px; }
.flow-meta { font-size: 13px; color: var(--slate-dark); }
.flow-tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: var(--electric); text-transform: uppercase; }
.bp-foot { margin-top: 20px; font-size: 13px; color: var(--slate-dark); position: relative; display: flex; gap: 8px; align-items: center; }
.bp-foot b { color: var(--electric); font-family: var(--f-mono); font-weight: 500; }

@keyframes rbIn { to { opacity: 1; transform: none; } }

/* ---------- Marquee strip ---------- */
.strip { background: var(--midnight); border-top: 1px solid var(--midnight-line); border-bottom: 1px solid var(--midnight-line); overflow: hidden; }
.strip-track { display: flex; width: max-content; animation: rbScroll 38s linear infinite; }
.strip-track span {
	font-family: var(--f-mono); font-weight: 500; font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
	color: var(--slate-dark); padding: 22px 26px; display: inline-flex; align-items: center; gap: 26px; white-space: nowrap;
}
.strip-track span::after { content: "↗"; color: var(--royal); font-size: 16px; }
@keyframes rbScroll { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card {
	background: #fff; border-radius: var(--r-16); padding: 32px;
	border: 1px solid var(--line); box-shadow: var(--shadow);
	position: relative; overflow: hidden;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: var(--royal); transform: scaleX(.18); transform-origin: left; transition: transform .35s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(65,105,225,.16); border-color: rgba(65,105,225,.4); }
.card:hover::before { transform: scaleX(1); }
.card-ic { width: 56px; height: 56px; border-radius: var(--r-12); background: var(--royal); color: #fff; display: grid; place-items: center; margin-bottom: 22px; box-shadow: var(--shadow-royal); }
.card h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--slate); font-size: 16px; }
.card .num { font-family: var(--f-mono); font-size: 13px; color: var(--royal-deep); letter-spacing: .1em; margin-bottom: 14px; display: block; }

/* Dark service cards */
.svc { background: var(--midnight-surface); border: 1px solid var(--midnight-line); border-radius: var(--r-16); padding: 32px; transition: transform .25s var(--ease), border-color .25s, background .25s; position: relative; }
.svc:hover { transform: translateY(-4px); border-color: var(--royal); background: var(--midnight-raised); }
.svc .card-ic { box-shadow: 0 0 0 6px rgba(65,105,225,.14), 0 10px 30px rgba(65,105,225,.35); }
.svc h3 { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.svc p { color: var(--slate-dark); font-size: 16px; }
.svc ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc li { font-family: var(--f-mono); font-size: 12px; padding: 5px 10px; border-radius: var(--r-full); background: rgba(65,105,225,.18); color: var(--electric); }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: var(--r-16); padding: 28px; position: relative; transition: background .25s, transform .25s var(--ease); }
.step:hover { background: rgba(255,255,255,.16); transform: translateY(-4px); }
.step-n { font-family: var(--f-mono); font-weight: 700; font-size: 14px; letter-spacing: .1em; color: var(--midnight); background: #fff; width: 44px; height: 44px; border-radius: var(--r-12); display: grid; place-items: center; margin-bottom: 22px; }
.step h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; color: #fff; }
.step p { color: rgba(255,255,255,.9); font-size: 16px; }

/* Split panels */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.check { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.check li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: 17px; }
.check li::before { content: ""; width: 28px; height: 28px; border-radius: var(--r-8); background: var(--royal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/16px no-repeat; }
.panel-royal { background: var(--royal); color: #fff; border-radius: var(--r-24); padding: 44px; position: relative; overflow: hidden; box-shadow: var(--shadow-royal); }
.panel-royal h3 { font-size: 30px; font-weight: 800; margin-bottom: 14px; }
.panel-royal p { color: rgba(255,255,255,.92); }
.panel-royal .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.panel-royal .chip { background: rgba(255,255,255,.16); color: #fff; }

/* About */
.photo-slot {
	aspect-ratio: 4/5; border-radius: var(--r-24);
	background: linear-gradient(160deg, var(--royal) 0%, var(--royal-700) 100%);
	position: relative; overflow: hidden; display: grid; place-items: center;
	box-shadow: var(--shadow-royal);
}
.photo-slot::before {
	content: ""; position: absolute; inset: 0;
	background-image:
		linear-gradient(to right, rgba(255,255,255,.1) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255,255,255,.1) 1px, transparent 1px);
	background-size: 40px 40px;
}
.photo-slot .ph {
	position: relative; border: 2px dashed rgba(255,255,255,.6); border-radius: var(--r-16);
	padding: 18px 22px; font-family: var(--f-mono); font-size: 13px; color: #fff; text-align: center; letter-spacing: .06em;
}
.photo-slot .icon { position: absolute; left: 24px; bottom: 24px; width: 64px; height: 64px; }
.about-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-16); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item.open { border-color: var(--royal); box-shadow: 0 10px 30px rgba(65,105,225,.12); }
.faq-q {
	width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
	padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
	font-family: var(--f-display); font-weight: 700; font-size: 19px; color: var(--ink);
}
.faq-q .pm { flex: none; width: 34px; height: 34px; border-radius: var(--r-8); background: var(--royal-tint); color: var(--royal-deep); display: grid; place-items: center; font-family: var(--f-mono); font-size: 20px; transition: transform .25s var(--ease), background .2s; }
.faq-item.open .pm { background: var(--royal); color: #fff; transform: rotate(45deg); }
.faq-a { padding: 0 28px 26px; color: var(--slate); font-size: 17px; }

/* CTA band */
.cta-band { padding: 120px 0; text-align: center; overflow: hidden; }
.cta-band h2 { font-size: clamp(38px, 5.6vw, 72px); font-weight: 800; max-width: 920px; margin: 20px auto 0; }
.cta-band p { font-size: 20px; color: rgba(255,255,255,.92); max-width: 620px; margin: 24px auto 0; }
.cta-band .hero-cta { justify-content: center; }
.cta-band .kicker { justify-content: center; }
.mail-line { margin-top: 26px; font-family: var(--f-mono); font-size: 14px; color: rgba(255,255,255,.85); }
.rb .mail-line a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.5); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 88px 0 80px; }
.page-hero h1 { font-size: clamp(38px, 5.4vw, 68px); font-weight: 800; margin-top: 18px; max-width: 900px; }
.page-hero p { font-size: 19px; color: rgba(255,255,255,.9); margin-top: 20px; max-width: 640px; }
.page-hero .meta { font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; color: rgba(255,255,255,.85); margin-top: 22px; text-transform: uppercase; }

/* Prose */
.prose-wrap { padding: 80px 0 112px; }
.prose { max-width: 760px; margin: 0 auto; font-size: 18px; line-height: 1.7; color: #1d2540; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 34px; font-weight: 800; margin-top: 1.8em; }
.prose h3 { font-size: 25px; font-weight: 700; margin-top: 1.6em; }
.prose h2::after { content: "."; color: var(--royal); }
.prose a { color: var(--royal-deep); border-bottom: 2px solid rgba(65,105,225,.3); }
.prose a:hover { border-color: var(--royal); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--royal); }
.prose blockquote { margin: 1.6em 0; padding: 22px 28px; border-left: 6px solid var(--royal); background: var(--royal-tint); border-radius: 0 var(--r-12) var(--r-12) 0; font-family: var(--f-display); font-weight: 600; font-size: 20px; color: var(--ink); }
.prose img { border-radius: var(--r-12); }
.prose code { font-family: var(--f-mono); font-size: .9em; background: var(--royal-tint); color: var(--royal-deep); padding: 2px 6px; border-radius: var(--r-4); }
.prose pre { background: var(--midnight); color: #EEF2FF; padding: 22px; border-radius: var(--r-12); overflow-x: auto; }
.prose pre code { background: none; color: inherit; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { font-family: var(--f-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--royal-deep); }

/* Blog list */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-16); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(65,105,225,.16); }
.post-thumb { aspect-ratio: 16/9; background: linear-gradient(140deg, var(--royal), var(--royal-700)); position: relative; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-thumb .ic { position: absolute; right: 18px; bottom: 18px; width: 44px; height: 44px; }
.post-body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-body .date { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--royal-deep); }
.post-body h2 { font-size: 22px; font-weight: 700; line-height: 1.2; }
.rb .post-body h2 a { color: var(--ink); }
.rb .post-body h2 a:hover { color: var(--royal); }
.post-body p { color: var(--slate); font-size: 16px; }
.post-body .more { margin-top: auto; font-family: var(--f-display); font-weight: 700; font-size: 15px; }
.pagination { margin-top: 56px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.rb .pagination .page-numbers { font-family: var(--f-mono); min-width: 44px; height: 44px; padding: 0 14px; display: grid; place-items: center; border-radius: var(--r-8); background: #fff; border: 1px solid var(--line); color: var(--ink); }
.rb .pagination .page-numbers.current, .rb .pagination .page-numbers:hover { background: var(--royal); border-color: var(--royal); color: #fff; }
.empty { text-align: center; padding: 40px; background: #fff; border: 1px dashed var(--royal); border-radius: var(--r-16); color: var(--slate); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-24); padding: 40px; box-shadow: var(--shadow); }
.contact-card h2 { font-size: 30px; font-weight: 800; }
.contact-card ol { margin: 22px 0 0; padding: 0; list-style: none; counter-reset: c; display: grid; gap: 16px; }
.contact-card ol li { counter-increment: c; display: grid; grid-template-columns: 40px 1fr; gap: 14px; color: var(--slate); }
.contact-card ol li::before { content: "0" counter(c); font-family: var(--f-mono); font-weight: 700; font-size: 13px; width: 40px; height: 40px; border-radius: var(--r-8); background: var(--royal-tint); color: var(--royal-deep); display: grid; place-items: center; }
.contact-card ol b { color: var(--ink); font-weight: 600; display: block; }

/* Search form */
.search-form { display: flex; gap: 10px; max-width: 520px; margin: 28px auto 0; }
.search-form input[type="search"] { flex: 1; font: inherit; padding: 14px 16px; border-radius: var(--r-8); border: 1px solid var(--line); background: #fff; }
.search-form input[type="search"]:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 4px rgba(65,105,225,.18); }
.search-form button { font-family: var(--f-display); font-weight: 700; padding: 0 22px; border: 0; border-radius: var(--r-8); background: var(--royal); color: #fff; cursor: pointer; }

/* ---------- Footer ---------- */
.site-footer { background: var(--midnight); color: var(--slate-dark); padding: 88px 0 36px; position: relative; overflow: hidden; border-top: 4px solid var(--royal); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; position: relative; z-index: 1; }
.foot-brand img { height: 54px; width: auto; }
.foot-brand p { margin-top: 20px; max-width: 360px; font-size: 15px; }
.foot-h { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--electric); margin-bottom: 18px; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rb .foot-links a { color: #DCE3FA; font-size: 15px; }
.rb .foot-links a:hover { color: #fff; }
.foot-cta { background: var(--royal); border-radius: var(--r-16); padding: 24px; color: #fff; }
.foot-cta b { font-family: var(--f-display); font-size: 19px; display: block; margin-bottom: 6px; }
.foot-cta p { font-size: 14px; color: rgba(255,255,255,.9); margin-bottom: 16px; }
.rb .foot-cta .btn { padding: 12px 18px; font-size: 14px; }
.foot-bottom { margin-top: 64px; padding-top: 26px; border-top: 1px solid var(--midnight-line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; font-family: var(--f-mono); letter-spacing: .04em; position: relative; z-index: 1; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
	.cards-3, .posts { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.foot-grid { grid-template-columns: 1fr 1fr; }
	.bp-card { max-width: 560px; }
}
@media (max-width: 860px) {
	.nav-toggle { display: grid; }
	.nav {
		position: absolute; left: 0; right: 0; top: var(--header-h);
		flex-direction: column; align-items: stretch; gap: 4px;
		background: var(--midnight); border-bottom: 1px solid var(--midnight-line);
		padding: 16px 24px 24px; display: none;
	}
	.nav.open { display: flex; }
	.rb .nav a { padding: 14px 16px; font-size: 17px; }
	.rb .nav .btn { margin: 10px 0 0; justify-content: center; }
	.brand img { height: 38px; }
}
@media (max-width: 680px) {
	body.rb { font-size: 16px; }
	.section { padding: 80px 0; }
	.hero { padding: 64px 0 88px; }
	.hero-sub { font-size: 18px; }
	.cards-3, .cards-2, .posts, .steps, .foot-grid { grid-template-columns: 1fr; }
	.card, .svc, .contact-card { padding: 26px; }
	.panel-royal { padding: 30px; }
	.bp-card { padding: 22px; }
	.flow li { grid-template-columns: 40px 1fr; }
	.flow-tag { display: none; }
	.cta-band { padding: 88px 0; }
	.btn { width: 100%; justify-content: center; }
	.rb .nav .btn { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.reveal, .flow li { opacity: 1; transform: none; }
	html { scroll-behavior: auto; }
}
