/* AllRay public theme — dark navy, purple→blue gradients. Customise via the variables below. */
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/space-grotesk-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/space-grotesk-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap; src: url("../fonts/dm-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap; src: url("../fonts/dm-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ar-bg: #070a16;
  --ar-bg-2: #0a0f22;
  --ar-surface: rgba(255, 255, 255, .035);
  --ar-surface-solid: #0e1430;
  --ar-surface-hover: rgba(255, 255, 255, .06);
  --ar-border: rgba(148, 163, 255, .14);
  --ar-border-strong: rgba(148, 163, 255, .28);
  --ar-text: #e9ecf8;
  --ar-muted: #a1aac8;
  --ar-purple: #7c5cff;
  --ar-blue: #4f7dff;
  --ar-cyan: #22c3ee;
  --ar-gradient: linear-gradient(135deg, #8b5cf6 0%, #5b6cff 50%, #22b8f0 100%);
  --ar-gradient-soft: linear-gradient(135deg, rgba(139, 92, 246, .18), rgba(34, 184, 240, .10));
  --ar-radius: 18px;
  --ar-radius-sm: 12px;
  --ar-shadow: 0 20px 50px -24px rgba(0, 0, 0, .8);
  --ar-font-head: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --ar-font-body: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ar-focus: 0 0 0 3px rgba(124, 92, 255, .55);
}

[data-bs-theme="dark"] {
  --bs-body-bg: var(--ar-bg);
  --bs-body-color: var(--ar-text);
  --bs-secondary-color: var(--ar-muted);
  --bs-border-color: var(--ar-border);
  --bs-link-color: #a99bff;
  --bs-link-color-rgb: 169, 155, 255;
  --bs-link-hover-color: #c9c0ff;
  --bs-link-hover-color-rgb: 201, 192, 255;
  --bs-primary: var(--ar-purple);
  --bs-primary-rgb: 124, 92, 255;
  --bs-body-font-family: var(--ar-font-body);
  --bs-emphasis-color: #fff;
}

html { scroll-behavior: smooth; }
body { font-family: var(--ar-font-body); background: var(--ar-bg); color: var(--ar-text); line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, .h1, .h2, .h3, .h4 { font-family: var(--ar-font-head); letter-spacing: -.02em; color: #fff; }
p, li, dd, dt, td, a, span { overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; }
main { overflow-x: clip; }
main:focus { outline: none; }
::selection { background: rgba(124, 92, 255, .45); color: #fff; }

/* Accessibility */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; padding: 10px 16px; border-radius: 10px; background: #fff; color: #111; font-weight: 600; }
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible, .btn:focus-visible, .form-control:focus, .form-select:focus, .form-check-input:focus, [tabindex]:focus-visible {
  outline: none; box-shadow: var(--ar-focus) !important; border-color: var(--ar-purple);
}
.text-muted-2 { color: var(--ar-muted); }
.req { color: #f472b6; }
.opt { color: var(--ar-muted); font-weight: 400; font-size: .875em; }

/* Buttons */
.btn { border-radius: 999px; font-weight: 600; padding: .65rem 1.3rem; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
.btn-lg { padding: .8rem 1.6rem; font-size: 1.02rem; }
.btn-sm { min-height: 36px; padding: .35rem .9rem; }
.btn-gradient { color: #fff; border: 0; background: var(--ar-gradient); background-size: 140% 140%; box-shadow: 0 10px 30px -12px rgba(124, 92, 255, .8); transition: transform .2s ease, box-shadow .2s ease, background-position .4s ease; }
.btn-gradient:hover, .btn-gradient:focus-visible { color: #fff; transform: translateY(-1px); background-position: 100% 50%; box-shadow: 0 14px 34px -12px rgba(79, 125, 255, .9); }
.btn-ghost { color: var(--ar-text); background: var(--ar-surface); border: 1px solid var(--ar-border-strong); }
.btn-ghost:hover { color: #fff; background: var(--ar-surface-hover); border-color: rgba(167, 139, 250, .6); }
.btn-ghost.disabled { opacity: .75; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: #b8acff; text-decoration: none; }
.link-arrow:hover { color: #fff; }
.link-arrow .bi { transition: transform .2s ease; }
.link-arrow:hover .bi { transform: translateX(3px); }

/* Header */
.admin-strip { background: #3b2a00; color: #fde68a; text-align: center; padding: .45rem 1rem; font-size: .9rem; }
.admin-strip a { color: #fff; }
.site-header { background: rgba(7, 10, 22, .72); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s ease, background .2s ease; }
.site-header.is-scrolled { border-bottom-color: var(--ar-border); background: rgba(7, 10, 22, .9); }
.site-header .navbar { padding: .8rem 0; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: #fff; }
.brand-name { font-family: var(--ar-font-head); font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em; color: #fff; }
.brand-logo { max-height: 40px; width: auto; }
.navbar-toggler { border: 1px solid var(--ar-border-strong); border-radius: 12px; padding: .4rem .65rem; color: #fff; font-size: 1.5rem; line-height: 1; min-width: 44px; min-height: 44px; }
.navbar-toggler:focus { box-shadow: var(--ar-focus); }
.navbar .nav-link { color: var(--ar-muted); font-weight: 500; padding: .55rem .9rem !important; border-radius: 10px; }
.navbar .nav-link:hover { color: #fff; }
.navbar .nav-link.active { color: #fff; }
@media (min-width: 992px) {
  .navbar .nav-link.active { background: var(--ar-surface-hover); }
  .nav-cta { margin-left: 1rem; }
}
@media (max-width: 991.98px) {
  .navbar-collapse { margin-top: .75rem; padding: .75rem; border: 1px solid var(--ar-border); border-radius: var(--ar-radius); background: var(--ar-surface-solid); }
  .navbar .nav-link { padding: .75rem 1rem !important; }
  .nav-cta { width: 100%; margin-top: .5rem; }
}

/* Typography blocks */
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1rem; padding: .35rem .85rem; border-radius: 999px; border: 1px solid var(--ar-border-strong); background: var(--ar-surface); color: #cfc6ff; font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ar-gradient); box-shadow: 0 0 12px rgba(124, 92, 255, .9); }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-tight { padding-top: clamp(2rem, 4vw, 3rem); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2.25rem; }
.section-title { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; margin-bottom: .5rem; }
.section-lead { color: var(--ar-muted); max-width: 640px; margin: 0; font-size: 1.05rem; }
.prose { color: #cdd3ea; }
.prose p:last-child, .prose ul:last-child { margin-bottom: 0; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .35rem; }
.prose-lg { font-size: 1.1rem; }
.narrow { max-width: 760px; }

/* Hero */
.hero { position: relative; padding: clamp(3.5rem, 9vw, 7.5rem) 0 clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero-bg, .page-hero-glow { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 380px at 12% 8%, rgba(139, 92, 246, .32), transparent 65%),
    radial-gradient(520px 360px at 88% 30%, rgba(34, 184, 240, .18), transparent 65%),
    radial-gradient(700px 400px at 50% 110%, rgba(79, 125, 255, .16), transparent 70%);
  -webkit-mask-image: linear-gradient(#000 65%, transparent); mask-image: linear-gradient(#000 65%, transparent); }
.hero-bg::after { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(148, 163, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 255, .07) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 40% 30%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 40% 30%, #000 20%, transparent 70%); }
.hero-title { font-size: clamp(2.2rem, 5.6vw, 4.1rem); font-weight: 700; line-height: 1.08; margin-bottom: 1.25rem; background: linear-gradient(180deg, #fff 30%, #c8c3ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(1.05rem, 1.8vw, 1.22rem); color: var(--ar-muted); max-width: 620px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-tags { list-style: none; padding: 0; margin: 2.25rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.hero-tags li { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .8rem; border-radius: 999px; border: 1px solid var(--ar-border); background: var(--ar-surface); color: #cfd5ee; font-size: .88rem; }
.hero-tags .bi { color: #a99bff; }
.hero-art { position: relative; max-width: 460px; margin-left: auto; filter: drop-shadow(0 30px 60px rgba(79, 70, 229, .35)); }
.hero-art svg { width: 100%; height: auto; display: block; }
.hero-rays { transform-origin: 200px 200px; animation: ar-spin 80s linear infinite; }
.hero-orbit { transform-origin: 200px 200px; animation: ar-spin 16s linear infinite; }
@keyframes ar-spin { to { transform: rotate(360deg); } }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); border-bottom: 1px solid var(--ar-border); overflow: hidden; }
.page-title { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 700; margin-bottom: .75rem; }
.page-lead { color: var(--ar-muted); font-size: 1.1rem; max-width: 720px; margin-bottom: 0; }
.breadcrumb { margin-bottom: 1.25rem; font-size: .9rem; --bs-breadcrumb-divider-color: var(--ar-muted); --bs-breadcrumb-item-active-color: #cfd5ee; }
.breadcrumb a { color: var(--ar-muted); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

/* Cards */
.intro-card, .info-card, .service-card, .work-card, .form-card, .empty-state, .cta-band, .process-step {
  border: 1px solid var(--ar-border); background: var(--ar-surface); border-radius: var(--ar-radius); }
.intro-card { padding: clamp(1.5rem, 4vw, 2.75rem); background: var(--ar-gradient-soft), var(--ar-surface); }
.info-card { padding: 1.5rem; }
.info-title { font-size: 1.15rem; font-weight: 600; margin-bottom: .75rem; display: flex; align-items: center; gap: .5rem; }
.info-title .bi { color: #a99bff; }
.service-card { position: relative; padding: 1.6rem; transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.service-card:hover, .work-card:hover { transform: translateY(-3px); border-color: rgba(167, 139, 250, .5); background: var(--ar-surface-hover); }
.service-card p { color: var(--ar-muted); margin-bottom: .75rem; }
.service-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 1.1rem; background: var(--ar-gradient); color: #fff; font-size: 1.45rem; box-shadow: 0 12px 26px -12px rgba(124, 92, 255, .9); }
.service-title { font-size: 1.2rem; font-weight: 600; margin-bottom: .5rem; }
.service-title a, .work-card-title a { color: #fff; text-decoration: none; }
.service-image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--ar-radius-sm); margin-bottom: 1rem; }
.price-label { display: inline-block; font-weight: 600; color: #c4b8ff !important; font-size: .95rem; }

.work-card { position: relative; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.work-card-media { aspect-ratio: 16 / 10; background: var(--ar-surface-solid); border-bottom: 1px solid var(--ar-border); overflow: hidden; }
.work-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.work-card:hover .work-card-media img { transform: scale(1.04); }
.work-card-placeholder { display: grid; place-items: center; height: 100%; font-size: 2.6rem; color: rgba(201, 192, 255, .55); background: radial-gradient(circle at 30% 20%, rgba(139, 92, 246, .35), transparent 60%), radial-gradient(circle at 80% 90%, rgba(34, 184, 240, .22), transparent 55%), var(--ar-surface-solid); }
.work-card-body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .65rem; flex: 1; }
.work-card-title { font-size: 1.2rem; font-weight: 600; margin: 0; }
.work-card-text { color: var(--ar-muted); margin: 0; font-size: .97rem; }
.work-card-meta { color: #c4b8ff; margin: 0; font-size: .92rem; }
img.is-fallback { object-fit: contain !important; padding: 12%; }

/* Chips & tags */
.chip-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { --chip: #a5b4fc; display: inline-flex; align-items: center; gap: .4rem; padding: .22rem .65rem; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .01em; color: var(--chip); background: color-mix(in srgb, var(--chip) 14%, transparent); border: 1px solid color-mix(in srgb, var(--chip) 30%, transparent); white-space: nowrap; }
.chip-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip-muted { --chip: #b6bdd8; }
.chip-link { text-decoration: none; position: relative; z-index: 2; }
.chip-status-live, .chip-avail-available { --chip: #34d399; }
.chip-status-completed { --chip: #38bdf8; }
.chip-status-in_development { --chip: #fbbf24; }
.chip-status-upcoming, .chip-avail-coming_soon { --chip: #c4b5fd; }
.chip-status-beta, .chip-avail-demo_on_request { --chip: #f0abfc; }
.chip-status-paused, .chip-avail-unavailable { --chip: #94a3b8; }
.chip-status-archived { --chip: #7c8599; }
.chip-avail-waitlist { --chip: #fda4af; }
.chip-avail-contact_sales { --chip: #93c5fd; }
.tag-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.tag-list li, .tag-list a { font-size: .8rem; color: #cbd2ee; }
.tag-list li { padding: .2rem .6rem; border-radius: 8px; background: rgba(255, 255, 255, .05); border: 1px solid var(--ar-border); }
.tag-list a { text-decoration: none; }
.tag-list a:hover { color: #fff; }
.tag-list-lg li { padding: .55rem .9rem; border-radius: 999px; font-size: .92rem; }

/* Filters */
.filter-bar { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.filter-label { color: var(--ar-muted); font-size: .85rem; font-weight: 600; min-width: 56px; }
.filter-chip { display: inline-flex; align-items: center; min-height: 40px; padding: .4rem .95rem; border-radius: 999px; border: 1px solid var(--ar-border); background: var(--ar-surface); color: #cfd5ee; text-decoration: none; font-size: .9rem; font-weight: 500; }
.filter-chip:hover { color: #fff; border-color: var(--ar-border-strong); }
.filter-chip.active { color: #fff; border-color: transparent; background: var(--ar-gradient); }
.filter-form { display: flex; flex-wrap: wrap; gap: .6rem; }
.filter-form .form-select { width: auto; min-width: 200px; max-width: 100%; }
.result-count { color: var(--ar-muted); font-size: .92rem; margin-bottom: 1.25rem; }
.js .js-hide { display: none; }

/* Forms */
.form-card { padding: clamp(1.25rem, 3vw, 2.25rem); }
.form-label { font-weight: 600; font-size: .93rem; color: #dfe3f5; }
.form-control, .form-select { background-color: rgba(255, 255, 255, .04); border-color: var(--ar-border-strong); color: var(--ar-text); border-radius: 12px; min-height: 48px; padding: .65rem .9rem; }
.form-control:focus, .form-select:focus { background-color: rgba(255, 255, 255, .06); color: #fff; }
.form-control::placeholder { color: #7e87a6; }
.form-select option { background: var(--ar-surface-solid); color: var(--ar-text); }
.form-check-input { width: 1.2em; height: 1.2em; margin-top: .25em; background-color: rgba(255, 255, 255, .06); border-color: var(--ar-border-strong); }
.form-check-input:checked { background-color: var(--ar-purple); border-color: var(--ar-purple); }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.mini-steps { padding-left: 1.2rem; color: var(--ar-muted); margin: 0; }
.mini-steps li { margin-bottom: .35rem; }

/* Details */
.detail-image { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--ar-radius); border: 1px solid var(--ar-border); background: var(--ar-surface-solid); }
.detail-block { margin-bottom: 2.75rem; }
.detail-heading { font-size: 1.45rem; font-weight: 600; margin-bottom: 1rem; }
.detail-aside { top: 96px; }
.product-logo { max-height: 64px; width: auto; border-radius: 12px; }
.meta-list { display: grid; grid-template-columns: auto 1fr; gap: .6rem 1rem; margin: 0; }
.meta-list dt { color: var(--ar-muted); font-weight: 500; }
.meta-list dd { margin: 0; text-align: right; }
.meta-heading { font-size: .95rem; font-weight: 600; color: #dfe3f5; margin: 1.5rem 0 .75rem; }
.feature-grid, .capability-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.feature-grid li, .capability-grid li { display: flex; gap: .75rem; padding: 1.1rem; border-radius: var(--ar-radius-sm); border: 1px solid var(--ar-border); background: var(--ar-surface); }
.feature-grid .bi, .capability-grid .bi { color: #34d399; font-size: 1.2rem; line-height: 1.4; }
.feature-grid strong, .capability-grid strong { display: block; color: #fff; }
.feature-grid span, .capability-grid span { display: block; color: var(--ar-muted); font-size: .94rem; margin-top: .15rem; }
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.gallery-item { margin: 0; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--ar-radius-sm); border: 1px solid var(--ar-border); transition: transform .3s ease; }
.gallery-item a:hover img { transform: scale(1.02); }
.gallery-item figcaption { color: var(--ar-muted); font-size: .88rem; margin-top: .4rem; }
.lightbox-content { background: #050713; border: 1px solid var(--ar-border); border-radius: var(--ar-radius); padding: .75rem; }
.lightbox-content img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: 12px; }
.lightbox-close { position: absolute; right: 14px; top: 14px; z-index: 2; background-color: rgba(0, 0, 0, .55); border-radius: 50%; padding: .7rem; }
.lightbox-caption { color: var(--ar-muted); margin: .6rem .25rem 0; text-align: center; }
.lightbox-caption:empty { display: none; }

/* Process */
.process { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); counter-reset: step; }
.process-step { padding: 1.5rem; position: relative; }
.process-num { display: inline-block; font-family: var(--ar-font-head); font-weight: 700; font-size: 1.6rem; background: var(--ar-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: .5rem; }
.process-step h3 { font-size: 1.1rem; font-weight: 600; }
.process-step p { color: var(--ar-muted); margin: 0; font-size: .95rem; }

/* CTA, empty, avatar */
.cta-band { position: relative; overflow: hidden; padding: clamp(1.75rem, 5vw, 3.25rem); background: linear-gradient(135deg, rgba(124, 92, 255, .32), rgba(79, 125, 255, .22) 55%, rgba(34, 195, 238, .16)); border-color: rgba(167, 139, 250, .35); }
.cta-glow { position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 65%); }
.cta-title { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 700; }
.cta-text { color: #d9dcf2; margin: 0; font-size: 1.05rem; }
.empty-state { text-align: center; padding: clamp(2rem, 6vw, 3.5rem) 1.5rem; }
.empty-state > .bi { font-size: 2.4rem; color: #a99bff; }
.empty-state h2 { font-size: 1.4rem; margin: 1rem 0 .5rem; }
.empty-state p { color: var(--ar-muted); max-width: 520px; margin: 0 auto 1.25rem; }
.avatar { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ar-gradient); color: #fff; font-family: var(--ar-font-head); font-weight: 700; font-size: 1.5rem; }
.error-page { min-height: 55vh; display: flex; align-items: center; }
.error-code { font-family: var(--ar-font-head); font-weight: 700; font-size: clamp(4.5rem, 14vw, 8rem); line-height: 1; margin: 0 0 .5rem; background: var(--ar-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Pagination & alerts */
.pagination { --bs-pagination-bg: var(--ar-surface); --bs-pagination-border-color: var(--ar-border); --bs-pagination-color: #cfd5ee; --bs-pagination-hover-bg: var(--ar-surface-hover); --bs-pagination-hover-color: #fff; --bs-pagination-active-bg: var(--ar-purple); --bs-pagination-active-border-color: var(--ar-purple); --bs-pagination-disabled-bg: transparent; --bs-pagination-disabled-color: #5d6683; gap: .35rem; }
.pagination .page-link { border-radius: 10px !important; min-width: 44px; min-height: 44px; display: grid; place-items: center; }
.alert { border-radius: var(--ar-radius-sm); }

/* Footer */
.site-footer { border-top: 1px solid var(--ar-border); padding: 4rem 0 1.5rem; background: linear-gradient(180deg, transparent, rgba(124, 92, 255, .05)); }
.footer-title { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ar-muted); margin-bottom: 1rem; font-weight: 600; }
.footer-links, .footer-contact, .social-list { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a, .footer-contact a { color: #cfd5ee; text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .65rem; margin-bottom: .75rem; color: #cfd5ee; }
.footer-contact .bi { color: #a99bff; margin-top: .15rem; }
.social-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.social-list a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--ar-border); color: #cfd5ee; text-decoration: none; }
.social-list a:hover { color: #fff; border-color: var(--ar-border-strong); background: var(--ar-surface-hover); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--ar-border); color: var(--ar-muted); font-size: .9rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--ar-muted); }

/* Reveal animation (only when JS is running and motion is allowed) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (max-width: 575.98px) {
  .hero-actions .btn { width: 100%; }
  .section-head { margin-bottom: 1.5rem; }
  .filter-form .form-select { min-width: 0; width: 100%; }
  .filter-form { width: 100%; }
  .meta-list dd { text-align: left; }
}
