/* =========================================================================
   Aspient — "bold studio" theme layer.
   Loaded LAST (after site.css). Brings a bold-studio look and motion
   to Aspient, in the Aspient logo colours (sky #01a3dd → royal #0041a6 on
   white, deep-navy panels):

     · sliding-fill buttons with a rotating arrow
     · full-bleed dark hero slider (Ken Burns photo, text slides up)
     · feature strip overlapping the hero, counter cards, fan of service cards
     · dark topographic footer, gradient closing band
     · preloader, scroll-progress ring, "DRAG" cursor

   Everything is hand-written (no Tailwind rebuild needed). Motion is JS-gated
   (html.js / html.bs-ready) and fully disabled under prefers-reduced-motion.
   ========================================================================= */

:root {
  --bs-radius: 14px;
  --bs-shadow: 0 24px 60px -28px rgb(var(--shadow-color) / .28);
  --bs-grad: linear-gradient(120deg, rgb(var(--brand-700)), rgb(var(--brand-500)) 55%, rgb(var(--accent-500)));
}

/* ---------- Type ---------- */
h1, h2, h3, .font-display { font-family: 'Sora', 'Inter', system-ui, sans-serif; }
h2 { letter-spacing: -.035em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  color: rgb(var(--brand-500)); font-weight: 700;
}
.eyebrow::before {
  width: 9px !important; height: 9px !important; border-radius: 3px; transform: rotate(45deg) !important;
  background: var(--bs-grad) !important; box-shadow: 0 0 0 4px rgb(var(--accent-500) / .18);
  animation: none !important; flex: none;
}
.text-center .eyebrow::before, .eyebrow.justify-center::before { display: inline-block !important; }
.text-gradient { background: var(--bs-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.text-white .text-gradient, .cta-band .text-gradient, .bg-ink-deep .text-gradient, [class*="bg-slate-9"] .text-gradient {
  background: linear-gradient(100deg, rgb(var(--brand-300)), rgb(var(--accent-500))); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons: sliding fill + rotating arrow ---------- */
.btn-primary, .btn-secondary, .btn-ghost, .bs-btn {
  border-radius: 10px; font-weight: 600; letter-spacing: .005em;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .35s ease, border-color .35s ease, box-shadow .35s ease, transform .2s ease;
}
.btn-primary { background-color: rgb(var(--brand-500)); background-image: none; color: #fff; box-shadow: 0 12px 24px -14px rgb(var(--brand-500) / .7); }
.btn-primary::before, .btn-secondary::before, .bs-btn::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -5%; right: auto; width: 0;
  transform: none; border-radius: inherit; transition: width .5s ease;
}
.btn-primary::before { background: rgb(var(--c-ink-deep)); }
.btn-primary:hover { background-color: rgb(var(--brand-500)); color: #fff; box-shadow: 0 16px 28px -14px rgb(var(--c-ink-deep) / .6); }
.btn-primary:hover::before, .btn-secondary:hover::before, .bs-btn:hover::before { width: 110%; transform: none; }

.btn-secondary { background: transparent; border: 1.5px solid rgb(var(--c-border-strong)); color: rgb(var(--c-text)); }
.btn-secondary::before { background: rgb(var(--brand-500)); }
.btn-secondary:hover { border-color: rgb(var(--brand-500)); color: #fff; }
.btn-ghost:hover { background: rgb(var(--brand-50)); }

.btn-primary i.fa-arrow-right, .btn-secondary i.fa-arrow-right, .bs-btn i { rotate: -45deg; transition: rotate .4s ease, transform .3s ease; }
.btn-primary:hover i.fa-arrow-right, .btn-secondary:hover i.fa-arrow-right, .bs-btn:hover i { rotate: 0deg; }

/* Hero / dark-surface buttons */
.bs-btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .95rem 1.7rem; font-size: 15px; }
.bs-btn--brand { background: rgb(var(--brand-500)); color: #fff; }
.bs-btn--brand::before { background: #fff; }
.bs-btn--brand:hover { color: rgb(var(--c-ink-deep)); }
.bs-btn--white { background: #fff; color: rgb(var(--c-ink-deep)); }
.bs-btn--white::before { background: rgb(var(--brand-500)); }
.bs-btn--white:hover { color: #fff; }
.bs-btn--line { border: 1.5px solid rgb(255 255 255 / .75); color: #fff; background: transparent; }
.bs-btn--line::before { background: #fff; }
.bs-btn--line:hover { color: rgb(var(--c-ink-deep)); border-color: #fff; }

/* ---------- Section rhythm: flat, no curved edges ---------- */
main > section + section { border-top: 0; }
main > section.bg-surface:not(:first-of-type), main > section.bg-ink-deep:not(:first-of-type), main > section.section-mesh:not(:first-of-type),
main > section.bg-slate-50:not(:first-of-type), .cta-band {
  border-radius: 0 !important; margin-top: 0 !important;
}
main > section.bg-surface:not(:first-of-type), main > section.bg-ink-deep:not(:first-of-type), main > section.section-mesh:not(:first-of-type), main > section.bg-slate-50:not(:first-of-type) { padding-top: clamp(4.5rem, 8vw, 7.5rem); }
main > section:has(+ section.bg-surface), main > section:has(+ section.bg-ink-deep), main > section:has(+ section.cta-band), main > section:has(+ section.section-mesh) { padding-bottom: clamp(4.5rem, 8vw, 7.5rem); }
@media (max-width: 767px) { main > section, .cta-band { border-radius: 0 !important; } }
.bg-surface { background-color: rgb(var(--c-surface)); }

/* Cards: crisp white, soft lift, brand underline that draws on hover */
.card-surface, .card-hover { border-radius: var(--bs-radius); border-color: rgb(var(--c-border)); box-shadow: 0 1px 2px rgb(var(--shadow-color) / .04); }
.card-surface:hover, .card-hover:hover { transform: translateY(-6px); box-shadow: var(--bs-shadow); }
.card-hover:hover, .card-surface:hover { border-color: rgb(var(--brand-500) / .35); }

/* ---------- Header ---------- */
nav[aria-label="Primary"] { background: rgb(255 255 255 / .94) !important; }
nav[aria-label="Primary"].is-scrolled { box-shadow: 0 14px 34px -22px rgb(var(--shadow-color) / .35) !important; border-bottom-color: rgb(var(--c-border)) !important; }
.nav-link { font-weight: 600; color: rgb(var(--c-text)); padding: .55rem .9rem; }
.nav-link:hover { color: rgb(var(--brand-500)); }
.nav-link::after { height: 2px; border-radius: 2px; background: var(--bs-grad); }
.nav-link.nav-link-active, .nav-link.glassy-active { color: rgb(var(--brand-500)); }
#services-submenu { border-top: 3px solid rgb(var(--brand-500)); }

/* ---------- Preloader ---------- */
.bs-preloader {
  display: none; position: fixed; inset: 0; z-index: 99999; place-items: center;
  background: rgb(var(--c-ink-deep)); color: #fff;
  background-image: radial-gradient(600px 420px at 50% 40%, rgb(var(--brand-500) / .35), transparent 70%);
  transition: opacity .7s ease, visibility .7s ease;
  animation: bsPreOut .6s ease 5s forwards;           /* failsafe if the script never loads */
}
html.js:not(.no-pre) .bs-preloader { display: grid; }
.bs-preloader.is-done { opacity: 0; visibility: hidden; }
.bs-preloader__in { display: grid; justify-items: center; gap: 1.4rem; }
.bs-preloader__logo { width: 92px; height: 92px; position: relative; }
.bs-preloader__logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; background: #fff; padding: 6px; }
.bs-preloader__logo::before {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 2px solid rgb(255 255 255 / .15); border-top-color: rgb(var(--accent-500)); animation: bsSpin 1.1s linear infinite;
}
.bs-preloader__word { font: 700 .95rem/1 'Sora', sans-serif; letter-spacing: .6em; padding-left: .6em; text-transform: uppercase; color: rgb(255 255 255 / .35); position: relative; }
.bs-preloader__word::after {
  content: attr(data-t); position: absolute; left: 0; top: 0; padding-left: .6em; color: #fff; overflow: hidden; white-space: nowrap;
  clip-path: inset(0 100% 0 0); animation: bsWord 1.6s ease-in-out infinite;
}
@keyframes bsSpin { to { transform: rotate(360deg); } }
@keyframes bsWord { 0% { clip-path: inset(0 100% 0 0); } 60%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes bsPreOut { to { opacity: 0; visibility: hidden; } }

/* ---------- Scroll-progress ring (back to top) ---------- */
.bs-top {
  position: fixed; right: 28px; bottom: 28px; z-index: 9980; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: rgb(var(--brand-500)); border: 0; cursor: pointer;
  box-shadow: 0 14px 30px -12px rgb(var(--shadow-color) / .45);
  opacity: 0; visibility: hidden; transform: translateY(40px); transition: all .35s ease;
}
.bs-top.is-on { opacity: 1; visibility: visible; transform: none; }
.bs-top svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgb(var(--brand-500)); stroke-width: 3; }
.bs-top:hover { background: rgb(var(--brand-500)); color: #fff; }
@media (max-width: 1023px) { .bs-top { display: none; } }

/* ---------- Drag cursor ---------- */
.bs-drag-cursor {
  position: fixed; left: 0; top: 0; z-index: 9985; pointer-events: none; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: rgb(var(--brand-500) / .94); color: #fff; font: 700 12px/1 'Inter', sans-serif; letter-spacing: .12em;
  transform: translate3d(-200px, -200px, 0); transition: scale .35s var(--ease-out-soft); scale: 0;
  box-shadow: 0 16px 36px -12px rgb(var(--brand-600) / .7);
}
.bs-drag-cursor.is-on { scale: 1; }
.bs-drag-cursor img { width: 8px; height: 14px; }
@media (hover: none), (pointer: coarse) { .bs-drag-cursor { display: none; } }

/* =========================================================================
   HOME HERO — full-bleed slider
   ========================================================================= */
main > section.bs-hero:first-of-type {
  padding: 0; background: rgb(var(--c-ink-deep)) !important; color: #fff; overflow: hidden; isolation: isolate;
}
main > section.bs-hero:first-of-type::before, main > section.bs-hero:first-of-type::after { display: none; }
.bs-hero__slides { display: grid; }
.bs-hero__slide { grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 0s linear 1.1s; min-height: min(92svh, 860px); display: flex; align-items: center; }
.bs-hero__slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; z-index: 2; }
.bs-hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.bs-hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.bs-hero__slide.is-active .bs-hero__bg img { animation: bsKen 9s ease-out forwards; }
.bs-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 520px at 85% 18%, rgb(var(--accent-500) / .28), transparent 70%),
    linear-gradient(100deg, rgb(var(--c-ink-deep) / .95) 0%, rgb(var(--c-ink-deep) / .82) 42%, rgb(var(--brand-700) / .4) 100%);
}
.bs-hero__bg::before { content: ""; position: absolute; inset: 0; z-index: 1; background: url('../images/theme/line-pattern.png') center / cover; opacity: .08; mix-blend-mode: screen; }
@keyframes bsKen { from { transform: scale(1.12); } to { transform: scale(1); } }

.bs-hero__inner { position: relative; z-index: 3; width: 100%; max-width: 1440px; margin: 0 auto; padding: calc(var(--nav-h, 104px) + 2.5rem) 1.5rem 9rem; }
@media (min-width: 1280px) { .bs-hero__inner { padding-left: 2.5rem; padding-right: 2.5rem; } }
.bs-hero__copy { max-width: 760px; }
.bs-hero__sub {
  display: inline-flex; align-items: center; gap: .7rem; padding: .5rem 1rem; border-radius: 999px;
  background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .22); backdrop-filter: blur(8px);
  font: 600 13px/1 'Inter', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #fff;
}
.bs-hero__sub i { width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--accent-500)); box-shadow: 0 0 0 4px rgb(var(--accent-500) / .3); }
.bs-hero__title {
  margin: 1.4rem 0 0; font: 700 clamp(2.35rem, 5.6vw, 4.9rem)/1.06 'Sora', sans-serif; letter-spacing: -.04em; color: #fff; text-wrap: balance;
}
.bs-hero__title em { font-style: normal; background: linear-gradient(100deg, rgb(var(--brand-300)), rgb(var(--accent-500))); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.bs-hero__text { margin: 1.5rem 0 0; max-width: 600px; font-size: clamp(1.02rem, 1.5vw, 1.2rem); line-height: 1.7; color: rgb(255 255 255 / .78); }
.bs-hero__cta { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.bs-hero__chips { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.bs-hero__chips a {
  display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem; border-radius: 999px; font: 600 13px/1 'Inter', sans-serif;
  color: rgb(255 255 255 / .9); border: 1px solid rgb(255 255 255 / .25); background: rgb(255 255 255 / .06); transition: background .3s, color .3s, border-color .3s;
}
.bs-hero__chips a:hover { background: #fff; color: rgb(var(--c-ink-deep)); border-color: #fff; }
.bs-hero__chips i { color: rgb(var(--accent-500)); }
.bs-hero__chips a:hover i { color: rgb(var(--brand-500)); }

/* slide-up entrance, started only once the preloader has gone (html.bs-ready) */
.js .bs-in { opacity: 0; animation: bsShow .01s linear 4.5s forwards; }   /* failsafe: never stay hidden if the script is missing */
@keyframes bsShow { to { opacity: 1; } }
html.bs-ready .bs-hero__slide.is-active .bs-in { animation: bsUp .95s var(--ease-out-expo) both; animation-delay: calc(var(--d, 0) * .16s + .2s); }
@keyframes bsUp { from { opacity: 0; transform: translateY(46px); } to { opacity: 1; transform: none; } }

/* controls */
.bs-hero__ctrl { position: absolute; z-index: 5; left: 0; right: 0; bottom: 5.4rem; }
.bs-hero__ctrl-in { max-width: 1440px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
@media (min-width: 1280px) { .bs-hero__ctrl-in { padding: 0 2.5rem; } }
.bs-hero__dots { display: flex; align-items: center; gap: .7rem; }
.bs-hero__dot { width: 54px; height: 22px; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; }
.bs-hero__dot::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; background: rgb(255 255 255 / .28); }
.bs-hero__dot i { position: absolute; left: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; width: 100%; background: rgb(var(--accent-500)); transform: scaleX(0); transform-origin: 0 50%; }
html.bs-ready .bs-hero__dot.is-active i { animation: bsFill var(--dur, 7s) linear forwards; }
@keyframes bsFill { to { transform: scaleX(1); } }
.bs-hero__count { font: 600 .95rem/1 'Sora', sans-serif; color: rgb(255 255 255 / .6); letter-spacing: .08em; margin-right: .6rem; }
.bs-hero__count b { color: #fff; font-weight: 700; }
.bs-hero__arrows { display: flex; gap: .7rem; }
.bs-hero__arrow {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1.5px solid rgb(255 255 255 / .45); background: transparent; color: #fff; transition: background .3s, color .3s, border-color .3s;
}
.bs-hero__arrow:hover { background: #fff; color: rgb(var(--c-ink-deep)); border-color: #fff; }
@media (max-width: 639px) { .bs-hero__arrows { display: none; } .bs-hero__ctrl { bottom: 5rem; } .bs-hero__inner { padding-bottom: 8rem; } }

/* =========================================================================
   FEATURE STRIP — overlaps the hero
   ========================================================================= */
.bs-features { position: relative; z-index: 6; margin-top: -4.6rem; padding: 0 1.5rem; }
@media (min-width: 1280px) { .bs-features { padding: 0 2.5rem; } }
.bs-features__box {
  max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1fr; background: #fff; border-radius: 18px;
  box-shadow: 0 40px 80px -36px rgb(var(--shadow-color) / .45); border: 1px solid rgb(var(--c-border)); overflow: hidden;
}
@media (min-width: 900px) { .bs-features__box { grid-template-columns: repeat(3, 1fr); } }
.bs-feature { display: flex; gap: 1.1rem; align-items: flex-start; padding: 2rem 2.2rem; position: relative; transition: background-color .35s ease; }
.bs-feature + .bs-feature { border-top: 1px solid rgb(var(--c-border)); }
@media (min-width: 900px) { .bs-feature + .bs-feature { border-top: 0; border-left: 1px solid rgb(var(--c-border)); } }
.bs-feature::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--bs-grad); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease-out-expo); }
.bs-feature:hover { background: rgb(var(--c-surface)); }
.bs-feature:hover::after { transform: scaleX(1); }
.bs-feature__ic { flex: none; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 1.35rem; color: #fff; background: var(--bs-grad); box-shadow: 0 14px 26px -14px rgb(var(--brand-500) / .8); transition: transform .5s var(--ease-spring); }
.bs-feature:hover .bs-feature__ic { transform: rotate(-8deg) scale(1.06); }
.bs-feature h3 { margin: 0; font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em; color: rgb(var(--c-text)); }
.bs-feature p { margin: .4rem 0 0; font-size: .95rem; line-height: 1.6; color: rgb(var(--c-text-muted)); }

/* =========================================================================
   SERVICE FAN — cards ride an arc as you scroll / drag
   ========================================================================= */
.bs-fan { position: relative; overflow: hidden; background: #fff url('../images/theme/pattern-hex.png') top center / cover no-repeat; }
.bs-fan__track {
  display: flex; gap: 28px; overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory; cursor: grab;
  padding: 3.5rem max(1.5rem, calc(50vw - min(39vw, 150px))) 8rem; scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior-x: contain;
}
.bs-fan__track::-webkit-scrollbar { display: none; }
.bs-fan__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.bs-fan__slide { flex: 0 0 min(78vw, 300px); scroll-snap-align: center; }
.bs-fan__card {
  display: block; height: 100%; border-radius: 20px; background: #fff; border: 1px solid rgb(var(--c-border)); overflow: hidden;
  box-shadow: 0 30px 60px -34px rgb(var(--shadow-color) / .45); will-change: transform; user-select: none; -webkit-user-drag: none;
}
.bs-fan__img { position: relative; aspect-ratio: 4 / 3.1; overflow: hidden; background: rgb(var(--c-surface-2)); }
.bs-fan__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out-expo); pointer-events: none; }
.bs-fan__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgb(var(--c-ink-deep) / .55)); }
.bs-fan__card:hover .bs-fan__img img { transform: scale(1.09); }
.bs-fan__ic {
  position: absolute; z-index: 2; left: 16px; bottom: 16px; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: #fff; color: rgb(var(--brand-500)); font-size: 1.1rem; box-shadow: 0 10px 22px -10px rgb(0 0 0 / .45); transition: background .35s, color .35s;
}
.bs-fan__card:hover .bs-fan__ic { background: rgb(var(--brand-500)); color: #fff; }
.bs-fan__body { padding: 1.4rem 1.4rem 1.6rem; }
.bs-fan__body h3 { margin: 0; font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; color: rgb(var(--c-text)); }
.bs-fan__body p { margin: .55rem 0 0; font-size: .92rem; line-height: 1.6; color: rgb(var(--c-text-muted)); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bs-fan__more { margin-top: 1.1rem; display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: .88rem; color: rgb(var(--brand-500)); }
.bs-fan__more i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; background: rgb(var(--brand-50)); rotate: -45deg; transition: rotate .4s, background .3s, color .3s; }
.bs-fan__card:hover .bs-fan__more i { rotate: 0deg; background: rgb(var(--brand-500)); color: #fff; }
.bs-fan__nav { display: flex; justify-content: center; gap: .8rem; margin-top: -4.2rem; position: relative; z-index: 3; padding-bottom: 5rem; }
.bs-fan__nav button {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1.5px solid rgb(var(--c-border-strong)); background: #fff; color: rgb(var(--c-text)); transition: all .3s ease;
}
.bs-fan__nav button:hover { background: rgb(var(--brand-500)); border-color: rgb(var(--brand-500)); color: #fff; }

/* =========================================================================
   ABOUT — photo composition
   ========================================================================= */
.bs-about { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 1024px) { .bs-about { grid-template-columns: 1fr 1fr; gap: 6rem; } }
.bs-about__pics { position: relative; padding: 0 0 4.5rem 0; max-width: 640px; }
.bs-about__main { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 4.2; box-shadow: var(--bs-shadow); }
.bs-about__main img, .bs-about__sub img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bs-about__sub { position: absolute; right: -4%; bottom: 0; width: 52%; aspect-ratio: 1; border-radius: 22px; overflow: hidden; border: 8px solid #fff; box-shadow: var(--bs-shadow); }
.bs-about__badge {
  position: absolute; left: -2%; top: 8%; display: flex; align-items: center; gap: .8rem; padding: .9rem 1.2rem .9rem .9rem; border-radius: 16px;
  background: #fff; box-shadow: var(--bs-shadow); animation: hvFloat 6s ease-in-out infinite;
}
.bs-about__badge i { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--bs-grad); color: #fff; font-size: 1.1rem; }
.bs-about__badge b { display: block; font: 700 .98rem/1.2 'Sora', sans-serif; color: rgb(var(--c-text)); }
.bs-about__badge small { display: block; font-size: .78rem; color: rgb(var(--c-text-muted)); margin-top: .15rem; }
.bs-about__list { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: .9rem; }
.bs-about__list li { display: flex; gap: .85rem; align-items: flex-start; line-height: 1.6; color: rgb(var(--c-text-muted)); }
.bs-about__list li i { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .68rem; margin-top: .1rem; background: rgb(var(--brand-50)); color: rgb(var(--brand-500)); border: 1px solid rgb(var(--brand-100)); }
.bs-about__list b { color: rgb(var(--c-text)); font-weight: 700; }

/* =========================================================================
   COUNTERS — dark panel
   ========================================================================= */
.bs-counters { position: relative; background: rgb(var(--c-ink-deep)); color: #fff; overflow: hidden; isolation: isolate; }
.bs-counters::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url('../images/theme/pattern-topo.png') center / cover; opacity: .06; filter: invert(1); }
.bs-counters::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(560px 360px at 12% 0%, rgb(var(--brand-500) / .45), transparent 70%), radial-gradient(560px 380px at 95% 100%, rgb(var(--accent-500) / .3), transparent 70%); }
.bs-counters__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
@media (min-width: 1024px) { .bs-counters__grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.bs-counter {
  position: relative; overflow: hidden; border-radius: 20px; padding: 2rem 1.6rem 1.8rem; background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .12);
  backdrop-filter: blur(6px); transition: transform .5s var(--ease-out-soft), background .4s, border-color .4s;
}
.bs-counter::after {
  content: ""; position: absolute; right: -46px; bottom: -46px; width: 130px; height: 130px; border-radius: 50%;
  background: var(--bs-grad); opacity: .35; transition: transform .7s var(--ease-out-expo), opacity .4s;
}
.bs-counter:hover { transform: translateY(-8px); background: rgb(255 255 255 / .09); border-color: rgb(var(--accent-500) / .6); }
.bs-counter:hover::after { transform: scale(2.6); opacity: .5; }
.bs-counter__num { position: relative; z-index: 1; margin: 0; font: 700 clamp(2.3rem, 5vw, 3.8rem)/1 'Sora', sans-serif; letter-spacing: -.04em; color: #fff; font-variant-numeric: tabular-nums; }
.bs-counter__num sup { font-size: .5em; color: rgb(var(--accent-500)); top: -.55em; margin-left: .05em; }
.bs-counter__label { position: relative; z-index: 1; margin: .9rem 0 0; font-weight: 600; font-size: .95rem; color: rgb(255 255 255 / .72); }

/* =========================================================================
   CLOSING BAND + FOOTER
   ========================================================================= */
.cta-band { background: rgb(var(--c-ink-deep)); }
.cta-band::before { background: linear-gradient(120deg, rgb(var(--c-ink-deep) / .86), rgb(var(--brand-700) / .6) 55%, rgb(var(--accent-500) / .4)) !important; }
.cta-band::after { background: url('../images/theme/line-pattern.png') center / cover; opacity: .12; mix-blend-mode: screen; animation: none; }
.cta-band h2 { letter-spacing: -.04em; }
.cta-band a.bg-white:hover, .cta-band a[class*="bg-white"]:hover { background: rgb(var(--brand-50)); }

footer.bs-footer[role="contentinfo"] {
  position: relative; isolation: isolate; background: rgb(var(--c-ink-deep)); color: rgb(255 255 255 / .72);
  border: 0 !important; border-radius: 0 !important; margin-top: 0 !important; overflow: hidden;
}
footer.bs-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url('../images/theme/pattern-topo.png') center / cover; opacity: .07; filter: invert(1); }
footer.bs-footer::after { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(520px 340px at 0% 100%, rgb(var(--brand-500) / .4), transparent 70%), radial-gradient(480px 320px at 100% 0%, rgb(var(--accent-500) / .22), transparent 70%); }
footer.bs-footer h4 { font: 700 .8rem/1 'Inter', sans-serif; letter-spacing: .16em; color: #fff; text-transform: uppercase; position: relative; padding-bottom: .9rem; margin: 0 0 1.3rem; }
footer.bs-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--bs-grad); }
footer.bs-footer .footer-link { color: rgb(255 255 255 / .7); }
footer.bs-footer .footer-link i { color: rgb(var(--accent-500)); }
footer.bs-footer .footer-link:hover { color: #fff; }
footer.bs-footer .footer-link:hover i { color: #fff; }
footer.bs-footer .footer-social { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .2); color: #fff; }
footer.bs-footer .footer-social:hover { background: rgb(var(--brand-500)); border-color: rgb(var(--brand-500)); }
footer.bs-footer a { color: inherit; }
.bs-footer__contact { display: flex; gap: .9rem; align-items: flex-start; }
.bs-footer__contact > span { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgb(255 255 255 / .07); color: rgb(var(--accent-500)); border: 1px solid rgb(255 255 255 / .14); transition: background .3s, color .3s; }
.bs-footer__contact:hover > span { background: rgb(var(--brand-500)); color: #fff; }
.bs-footer__contact small { display: block; font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgb(255 255 255 / .5); }
.bs-footer__contact a, .bs-footer__contact div > div { color: #fff; font-size: .95rem; line-height: 1.5; word-break: break-word; }
.bs-footer__contact a:hover { color: rgb(var(--accent-400)); }
.bs-footer__bar { border-top: 1px solid rgb(255 255 255 / .12); }
.bs-footer__bar a:hover { color: #fff; }
footer.bs-footer :focus-visible { outline-color: #fff; }

/* ---------- Inner-page hero: logo-blue glows on a hex-line canvas ---------- */
main > section:first-of-type:not(.bs-hero)::after {
  background: url('../images/theme/pattern-hex.png') top center / cover no-repeat; -webkit-mask-image: none; mask-image: none; opacity: .9;
}

/* ---------- Home sections that stay: light tuning ---------- */
.work-card { border-radius: 20px; }
.marquee-item { box-shadow: 0 1px 2px rgb(var(--shadow-color) / .04); }
.bs-map { background: rgb(var(--c-surface)) url('../images/theme/world-map.png') right center / min(70%, 900px) no-repeat; }
@media (max-width: 1023px) { .bs-map { background-size: 140%; background-position: center bottom; } }
.img-card, .media-reveal { border-radius: 20px; }

/* ---------- Reduced motion: nothing slides, nothing is hidden ---------- */
@media (prefers-reduced-motion: reduce) {
  .bs-preloader { display: none !important; }
  .js .bs-in { opacity: 1; }
  html.bs-ready .bs-hero__slide.is-active .bs-in { animation: none; }
  .bs-hero__slide.is-active .bs-hero__bg img { animation: none; transform: none; }
  .bs-hero__dot.is-active i { animation: none; transform: scaleX(1); }
  .bs-about__badge { animation: none; }
}

/* =========================================================================
   Aspirant 360 page — tabs + "Inside the apps" screens gallery
   ========================================================================= */
.a3 .a3-tabs button {
  position: relative; overflow: hidden; isolation: isolate; border: 1.5px solid rgb(var(--c-border-strong)); background: #fff; color: rgb(var(--c-text));
  transition: color .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.a3 .a3-tabs button::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -5%; width: 0; background: rgb(var(--brand-500)); transition: width .45s ease; }
.a3 .a3-tabs button:hover { border-color: rgb(var(--brand-500)); color: #fff; }
.a3 .a3-tabs button:hover::before { width: 110%; }
.a3 .a3-tabs button[aria-selected="true"] { background: var(--bs-grad); border-color: transparent; color: #fff; box-shadow: 0 14px 26px -14px rgb(var(--brand-500) / .8); }
.a3 .a3-tabs button[aria-selected="true"]::before { display: none; }

.a3 .a3-shots { position: relative; }
.a3 .a3-shotrow {
  position: relative; margin-top: 1.8rem; gap: 2rem; padding: 3rem 2rem 2.4rem; border-radius: 26px; isolation: isolate;
  background: rgb(var(--c-ink-deep)); scrollbar-color: rgb(var(--accent-500)) rgb(255 255 255 / .12);
}
.a3 .a3-shots .a3-shotrow { box-shadow: 0 40px 80px -40px rgb(var(--shadow-color) / .6); }
.a3 .a3-shot { flex: 0 0 218px; transition: transform .6s var(--ease-out-soft); }
.a3 .a3-shot:nth-child(odd) { transform: translateY(0); }
.a3 .a3-shot:nth-child(even) { transform: translateY(22px); }
.a3 .a3-shot:hover { transform: translateY(-10px) rotate(-1.5deg); }
.a3 .a3-phone {
  border: 0; background: #0b1636; border-radius: 2rem; padding: 7px;
  box-shadow: 0 0 0 2px rgb(255 255 255 / .14), 0 30px 50px -22px rgb(0 0 0 / .8), 0 0 60px -10px rgb(var(--accent-500) / .35);
  transition: box-shadow .5s ease;
}
.a3 .a3-shot:hover .a3-phone { box-shadow: 0 0 0 2px rgb(var(--accent-500)), 0 34px 60px -22px rgb(0 0 0 / .85), 0 0 80px -6px rgb(var(--accent-500) / .55); }
.a3 .a3-phone img { border-radius: 1.5rem; }
.a3 .a3-shot figcaption b { color: #fff; }
.a3 .a3-shot figcaption span { color: rgb(255 255 255 / .68); }
.a3 .a3-shot:nth-child(even) figcaption { margin-bottom: 22px; }
.a3 .a3-shots__note { margin-top: .9rem; }
@media (max-width: 639px) { .a3 .a3-shotrow { padding: 2rem 1rem 1.6rem; border-radius: 20px; } .a3 .a3-shot:nth-child(even) { transform: none; } }
@media (prefers-reduced-motion: reduce) { .a3 .a3-shot, .a3 .a3-shot:hover { transform: none; } }

/* Gradient text inside word-split headlines: the split words are inline-blocks, so the clip
   must live on each word, not on the wrapper (otherwise the wrapper's words go invisible). */
.text-gradient:has(.wi) { background: none; -webkit-text-fill-color: initial; color: inherit; }
.text-gradient .wi { background: var(--bs-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.text-white .text-gradient .wi, .cta-band .text-gradient .wi, .bg-ink-deep .text-gradient .wi, [class*="bg-slate-9"] .text-gradient .wi {
  background: linear-gradient(100deg, rgb(var(--brand-300)), rgb(var(--accent-500))); -webkit-background-clip: text; background-clip: text;
}

/* Service fan fixes: the card's inner spans must be blocks (otherwise the photo stretched and the text vanished),
   and on desktop the first card starts at the content edge instead of floating mid-screen. */
.bs-fan__img, .bs-fan__body { display: block; }
.bs-fan__card { display: flex; flex-direction: column; }
.bs-fan__body { flex: 1; }
@media (min-width: 768px) {
  .bs-fan__track { padding-left: max(1.5rem, calc((100vw - 1440px) / 2 + 2.5rem)); padding-right: max(1.5rem, calc((100vw - 1440px) / 2 + 2.5rem)); }
  .bs-fan__track { scroll-padding-left: max(1.5rem, calc((100vw - 1440px) / 2 + 2.5rem)); }
  .bs-fan__slide { scroll-snap-align: start; }
}

/* App screens: exactly four phones per app, laid out in one row on desktop (scrolls sideways on small screens) */
@media (min-width: 900px) {
  .a3 .a3-shotrow:not([hidden]) { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; overflow: visible; scroll-snap-type: none; padding: 3rem 2.5rem 2.6rem; }
  .a3 .a3-shot { flex: none; min-width: 0; max-width: 250px; margin-left: auto; margin-right: auto; }
}

/* Inner-page hero visual: let the photo breathe — the console panel only overlaps its bottom edge */
.hv-photo { aspect-ratio: 16 / 10; }
.hv-photo + .hv-panel { margin-top: -64px; width: 84%; margin-left: -4%; }
.hv-chip-b { top: 14px; right: 14px; }
/* Inner-page hero: text sits at the top of the row (centring it left a gap above it when the visual is taller) */
main > section:first-of-type:not(.bs-hero) > div > div.grid:first-of-type { align-items: start; }
main > section:first-of-type:not(.bs-hero) > div > div.grid:first-of-type > :first-child { padding-top: 1.5rem; }

/* =========================================================================
   Inner-page hero → dark banner. Only sections that contain the
   hero visual (.hv); text colours are switched on the left column only, so
   white cards elsewhere in the section keep their dark text.
   ========================================================================= */
main > section:first-of-type:has(.hv) { background-color: rgb(var(--c-ink-deep)) !important; }
main > section:first-of-type:has(.hv)::before {
  background:
    radial-gradient(640px 460px at 8% 0%, rgb(var(--brand-500) / .55), transparent 70%),
    radial-gradient(620px 460px at 96% 90%, rgb(var(--accent-500) / .32), transparent 70%);
}
main > section:first-of-type:has(.hv)::after { background: url('../images/theme/pattern-hex.png') center / cover no-repeat; filter: invert(1); opacity: .07; }
main > section:first-of-type:has(.hv) > div { padding-bottom: clamp(4rem, 7vw, 6rem); }

main > section:first-of-type:has(.hv) > div > div.grid:first-of-type > :first-child { color: #fff; }
main > section:first-of-type:has(.hv) > div > div.grid:first-of-type > :first-child :is(h1, h2, .text-ink, .font-display) { color: #fff; }
main > section:first-of-type:has(.hv) > div > div.grid:first-of-type > :first-child :is(.text-muted, .text-faint, p, li) { color: rgb(255 255 255 / .74); }
main > section:first-of-type:has(.hv) > div > div.grid:first-of-type > :first-child :is(.eyebrow, .text-primary, .text-brand-600) { color: rgb(var(--accent-400)); }
main > section:first-of-type:has(.hv) > div > div.grid:first-of-type > :first-child a:not(.btn-primary):not(.btn-secondary):not(.chip) { color: rgb(255 255 255 / .78); }
main > section:first-of-type:has(.hv) > div > div.grid:first-of-type > :first-child a:not(.btn-primary):not(.btn-secondary):not(.chip):hover { color: #fff; }
main > section:first-of-type:has(.hv) > div > div.grid:first-of-type > :first-child .text-gradient { background: none; -webkit-text-fill-color: initial; color: rgb(var(--brand-300)); }
main > section:first-of-type:has(.hv) > div > div.grid:first-of-type > :first-child .text-gradient .wi {
  background: linear-gradient(100deg, rgb(var(--brand-300)), rgb(var(--accent-500))); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
main > section:first-of-type:has(.hv) > div > div.grid:first-of-type > :first-child .chip { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .25); color: #fff; }
main > section:first-of-type:has(.hv) > div > div.grid:first-of-type > :first-child .chip i { color: rgb(var(--accent-400)); }
main > section:first-of-type:has(.hv) > div > div.grid:first-of-type > :first-child .btn-secondary { background: transparent; border-color: rgb(255 255 255 / .6); color: #fff; }
main > section:first-of-type:has(.hv) > div > div.grid:first-of-type > :first-child .btn-secondary::before { background: #fff; }
main > section:first-of-type:has(.hv) > div > div.grid:first-of-type > :first-child .btn-secondary:hover { color: rgb(var(--c-ink-deep)); border-color: #fff; }
main > section:first-of-type:has(.hv) > div > div.grid:first-of-type > :first-child .btn-primary::before { background: #fff; }
main > section:first-of-type:has(.hv) > div > div.grid:first-of-type > :first-child .btn-primary:hover { color: rgb(var(--c-ink-deep)); }
main > section:first-of-type:has(.hv) .hv-photo { box-shadow: 0 0 0 1px rgb(255 255 255 / .18), 0 40px 80px -30px rgb(0 0 0 / .7); }
main > section:first-of-type:has(.hv) > div > div.grid:first-of-type { align-items: center; }
main > section:first-of-type:has(.hv) > div > div.grid:first-of-type > :first-child { padding-top: 0; }

/* Compact dark banner: tighter padding and a smaller visual (photo + two console rows), so the hero is not a full screen tall */
main > section:first-of-type:has(.hv) { padding-top: calc(var(--nav-h, 104px) + 0.5rem); }
main > section:first-of-type:has(.hv) > div { padding-top: 1.5rem; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
main > section:first-of-type:has(.hv) .hv { max-width: 470px; }
main > section:first-of-type:has(.hv) .hv-photo { aspect-ratio: 16 / 8.5; border-radius: 18px; }
main > section:first-of-type:has(.hv) .hv-photo + .hv-panel { margin-top: -54px; width: 88%; margin-left: -3%; }
main > section:first-of-type:has(.hv) .hv-list > :nth-child(n+3), main > section:first-of-type:has(.hv) .hv-chart { display: none; }
main > section:first-of-type:has(.hv) .hv-body { padding-bottom: 1rem; }
main > section:first-of-type:has(.hv) .hv-chip-a { display: none; }
main > section:first-of-type:has(.hv) h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); line-height: 1.08; }
main > section:first-of-type:has(.hv) > div > div.grid:first-of-type { gap: 2.5rem; }

/* =========================================================================
   Aspirant / Products pages (.a3-hero) → the same dark banner as the other inner pages
   ========================================================================= */
.a3 .a3-hero {
  background: rgb(var(--c-ink-deep)) !important; border: 0; isolation: isolate; color: #fff;
  padding-top: calc(var(--nav-h, 104px) + 1.5rem); padding-bottom: clamp(3rem, 6vw, 4.5rem);
}
.a3 .a3-hero::before { left: 0; right: 0; width: auto; top: 0; bottom: 0; z-index: -1; opacity: 1; background:
  radial-gradient(640px 460px at 6% 0%, rgb(var(--brand-500) / .55), transparent 70%),
  radial-gradient(620px 460px at 96% 90%, rgb(var(--accent-500) / .3), transparent 70%); }
.a3 .a3-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: url('../images/theme/pattern-hex.png') center / cover no-repeat; filter: invert(1); opacity: .07; }
.a3 .a3-hero__grid > :first-child, .a3 .a3-hero > .a3-wrap > :is(h1, p, .a3-eyebrow, .a3-lede) { color: #fff; }
.a3 .a3-hero h1 { color: #fff; }
.a3 .a3-hero :is(p.sub, .a3-lede, .a3-wrap > p) { color: rgb(255 255 255 / .76); }
.a3 .a3-hero .a3-eyebrow { color: rgb(var(--accent-400)); }
.a3 .a3-hero .a3-hl { color: rgb(var(--brand-300)); background: none; }
.a3 .a3-hero__grid > :first-child .a3-checks li { color: rgb(255 255 255 / .82); }
.a3 .a3-hero__grid > :first-child .a3-checks li::before { color: rgb(var(--accent-400)); }
.a3 .a3-hero__grid > :first-child a:not(.a3-btn) { color: rgb(255 255 255 / .8); }
.a3 .a3-hero__grid > :first-child a:not(.a3-btn):hover { color: #fff; }
.a3 .a3-hero .a3-btn--ink { background: rgb(var(--brand-500)); color: #fff; }
.a3 .a3-hero .a3-btn--ink:hover { background: #fff; color: rgb(var(--c-ink-deep)); }
.a3 .a3-hero .a3-btn--line { background: transparent; border-color: rgb(255 255 255 / .6); color: #fff; }
.a3 .a3-hero .a3-btn--line:hover { background: #fff; color: rgb(var(--c-ink-deep)); border-color: #fff; }

/* =========================================================================
   Opt-in dark banner (.bs-banner) for text-only heroes — blog index and posts
   ========================================================================= */
main > section.bs-banner:first-of-type { background-color: rgb(var(--c-ink-deep)) !important; color: #fff; padding-top: calc(var(--nav-h, 104px) + .5rem); }
main > section.bs-banner:first-of-type::before { background:
  radial-gradient(640px 460px at 8% 0%, rgb(var(--brand-500) / .55), transparent 70%),
  radial-gradient(620px 460px at 96% 90%, rgb(var(--accent-500) / .32), transparent 70%); }
main > section.bs-banner:first-of-type::after { background: url('../images/theme/pattern-hex.png') center / cover no-repeat; filter: invert(1); opacity: .07; }
.bs-banner > div { padding-top: 2rem; }
.bs-banner :is(h1, h2, .text-ink) { color: #fff; }
.bs-banner :is(p, .text-muted, .text-faint) { color: rgb(255 255 255 / .76); }
.bs-banner :is(.eyebrow, .text-primary) { color: rgb(var(--accent-400)); }
.bs-banner a:not(.btn-primary):not(.btn-secondary) { color: rgb(255 255 255 / .85); }
.bs-banner a:not(.btn-primary):not(.btn-secondary):hover { color: #fff; }
.bs-banner .text-gradient { background: none; -webkit-text-fill-color: initial; color: rgb(var(--brand-300)); }
.bs-banner .text-gradient .wi { background: linear-gradient(100deg, rgb(var(--brand-300)), rgb(var(--accent-500))); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* =========================================================================
   Products page — marketing sections (.mk-*)
   ========================================================================= */
.a3 .mk-tint { background: rgb(var(--c-surface)); }

/* problem → outcome */
.mk-vs { margin-top: 2.6rem; display: grid; gap: 1rem; }
.mk-vs__row { display: grid; grid-template-columns: 1fr; gap: .8rem; align-items: stretch; position: relative; }
@media (min-width: 900px) { .mk-vs__row { grid-template-columns: 1fr 44px 1fr; gap: 1rem; margin-top: 1.4rem; } }
.mk-vs__tag { font: 700 .75rem/1 'Inter', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: rgb(var(--brand-500)); }
@media (min-width: 900px) { .mk-vs__tag { position: absolute; left: 0; top: -1.15rem; } }
.mk-vs__old, .mk-vs__new { display: flex; gap: .9rem; align-items: flex-start; padding: 1.2rem 1.3rem; border-radius: 16px; }
.mk-vs__old { background: #fff; border: 1px dashed rgb(var(--c-border-strong)); color: rgb(var(--c-text-muted)); }
.mk-vs__new { background: #fff; border: 1px solid rgb(var(--brand-500) / .3); box-shadow: 0 24px 50px -30px rgb(var(--brand-500) / .55); color: rgb(var(--c-text)); }
.mk-vs__old p, .mk-vs__new p { margin: 0; line-height: 1.55; font-size: .98rem; }
.mk-vs__old i, .mk-vs__new i { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; margin-top: .05rem; }
.mk-vs__old i { background: rgb(var(--c-surface-2)); color: rgb(var(--c-text-faint)); }
.mk-vs__new i { background: var(--bs-grad); color: #fff; }
.mk-vs__arrow { display: none; place-items: center; color: rgb(var(--brand-500)); }
@media (min-width: 900px) { .mk-vs__arrow { display: grid; } }

/* feature highlights */
.mk-feats { margin-top: 3.2rem; display: grid; gap: 5rem; }
.mk-feat { display: grid; gap: 2.4rem; align-items: center; }
@media (min-width: 900px) {
  .mk-feat { grid-template-columns: .85fr 1.15fr; gap: 5rem; }
  .mk-feat--rev { grid-template-columns: 1.15fr .85fr; }
  .mk-feat--rev .mk-feat__shot { order: 2; }
}
.mk-feat__shot { position: relative; display: grid; place-items: center; padding: 2.4rem 1rem; border-radius: 28px; background: rgb(var(--c-ink-deep)); overflow: hidden; isolation: isolate; }
.mk-feat__shot::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(360px 300px at 30% 0%, rgb(var(--brand-500) / .6), transparent 70%), radial-gradient(340px 300px at 90% 100%, rgb(var(--accent-500) / .4), transparent 70%); }
.mk-feat__phone { width: min(236px, 70%); border-radius: 2rem; padding: 7px; background: #0b1636; box-shadow: 0 0 0 2px rgb(255 255 255 / .14), 0 36px 60px -24px rgb(0 0 0 / .85); transition: transform .7s var(--ease-out-soft); }
.mk-feat:hover .mk-feat__phone { transform: translateY(-8px) rotate(-1.5deg); }
.mk-feat__phone img { display: block; width: 100%; height: auto; border-radius: 1.5rem; }
.mk-feat__tag { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .85rem; border-radius: 999px; font: 700 .78rem/1 'Inter', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: rgb(var(--brand-600)); background: rgb(var(--brand-50)); border: 1px solid rgb(var(--brand-100)); }
.mk-feat__txt h3 { margin: 1.1rem 0 0; font: 700 clamp(1.6rem, 3vw, 2.3rem)/1.12 'Sora', sans-serif; letter-spacing: -.03em; color: rgb(var(--c-text)); }
.mk-feat__txt p { margin: 1rem 0 0; color: rgb(var(--c-text-muted)); line-height: 1.7; font-size: 1.05rem; max-width: 34rem; }
.mk-feat__txt ul { list-style: none; margin: 1.4rem 0 1.8rem; padding: 0; display: grid; gap: .7rem; }
.mk-feat__txt li { display: flex; gap: .75rem; align-items: center; color: rgb(var(--c-text)); font-weight: 500; }
.mk-feat__txt li i { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .62rem; background: rgb(var(--brand-50)); color: rgb(var(--brand-500)); border: 1px solid rgb(var(--brand-100)); }

/* who it's for + steps */
.mk-cards { margin-top: 2.6rem; display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .mk-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .mk-cards { grid-template-columns: repeat(4, 1fr); } }
.mk-card { background: #fff; border: 1px solid rgb(var(--c-border)); border-radius: 18px; padding: 1.7rem; transition: transform .45s var(--ease-out-soft), box-shadow .45s var(--ease-out-soft), border-color .3s; }
.mk-card:hover { transform: translateY(-6px); box-shadow: var(--bs-shadow); border-color: rgb(var(--brand-500) / .35); }
.mk-card__ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 1.2rem; color: #fff; background: var(--bs-grad); box-shadow: 0 14px 24px -14px rgb(var(--brand-500) / .8); }
.mk-card h3 { margin: 1.2rem 0 0; font: 700 1.1rem/1.25 'Sora', sans-serif; letter-spacing: -.02em; color: rgb(var(--c-text)); }
.mk-card p { margin: .6rem 0 0; color: rgb(var(--c-text-muted)); line-height: 1.6; font-size: .95rem; }
.mk-steps { list-style: none; margin: 2.4rem 0 0; padding: 0; display: grid; gap: 1.4rem; }
@media (min-width: 900px) {
  .mk-steps { grid-template-columns: repeat(4, 1fr); gap: 1.6rem; position: relative; }
  .mk-steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 26px; height: 2px; background: repeating-linear-gradient(90deg, rgb(var(--brand-500) / .45) 0 8px, transparent 8px 16px); }
}
.mk-steps li { position: relative; }
.mk-steps__n { position: relative; z-index: 1; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font: 700 1.15rem/1 'Sora', sans-serif; color: #fff; background: var(--bs-grad); box-shadow: 0 0 0 6px rgb(var(--c-surface)), 0 14px 26px -12px rgb(var(--brand-500) / .8); }
.mk-steps h3 { margin: 1.1rem 0 0; font: 700 1.1rem/1.25 'Sora', sans-serif; color: rgb(var(--c-text)); }
.mk-steps p { margin: .5rem 0 0; color: rgb(var(--c-text-muted)); line-height: 1.6; font-size: .95rem; }

/* comparison table */
.mk-table-wrap { margin-top: 2.6rem; border: 1px solid rgb(var(--c-border)); border-radius: 20px; overflow: auto; background: #fff; box-shadow: var(--bs-shadow); }
.mk-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.mk-table th, .mk-table td { padding: 1.05rem 1.3rem; text-align: left; border: 0; border-bottom: 1px solid rgb(var(--c-border)); vertical-align: top; font-size: .97rem; line-height: 1.5; }
.mk-table thead th { font: 700 .8rem/1 'Inter', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: rgb(var(--c-text-muted)); background: rgb(var(--c-surface)); }
.mk-table thead th:last-child { background: var(--bs-grad); color: #fff; }
.mk-table tbody th { font-weight: 700; color: rgb(var(--c-text)); width: 22%; }
.mk-table td { color: rgb(var(--c-text-muted)); }
.mk-table td:last-child { color: rgb(var(--c-text)); background: rgb(var(--brand-50) / .55); font-weight: 500; }
.mk-table td i { margin-right: .6rem; font-size: .8rem; }
.mk-table td:nth-child(2) i { color: rgb(var(--c-text-faint)); }
.mk-table td:last-child i { color: rgb(var(--brand-500)); }
.mk-table tr:last-child th, .mk-table tr:last-child td { border-bottom: 0; }

/* FAQ */
.mk-faqwrap { display: grid; gap: 2.6rem; }
@media (min-width: 960px) {
  .mk-faqwrap { grid-template-columns: .8fr 1.2fr; gap: 5rem; align-items: start; }
  .mk-faqwrap > div:first-child { position: sticky; top: calc(var(--nav-h, 104px) + 1.5rem); }
}
.mk-faq { display: grid; gap: .8rem; }
.mk-faq details { background: #fff; border: 1px solid rgb(var(--c-border)); border-radius: 16px; transition: border-color .3s, box-shadow .3s; }
.mk-faq details[open] { border-color: rgb(var(--brand-500) / .4); box-shadow: 0 24px 50px -32px rgb(var(--brand-500) / .6); }
.mk-faq summary { cursor: pointer; list-style: none; padding: 1.15rem 3.4rem 1.15rem 1.4rem; font-weight: 700; color: rgb(var(--c-text)); position: relative; line-height: 1.4; }
.mk-faq summary::-webkit-details-marker { display: none; }
.mk-faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: rgb(var(--brand-50)); color: rgb(var(--brand-500)); }
.mk-faq details[open] summary::after { content: "\2212"; background: rgb(var(--brand-500)); color: #fff; }
.mk-faq p { margin: 0; padding: 0 1.4rem 1.3rem; color: rgb(var(--c-text-muted)); line-height: 1.7; }

/* demo band */
.mk-demo { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding: clamp(4rem, 8vw, 6rem) 0; color: #fff; background: linear-gradient(120deg, rgb(var(--c-ink-deep)), rgb(var(--brand-700)) 60%, rgb(var(--accent-600))); }
.mk-demo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url('../images/theme/line-pattern.png') center / cover; opacity: .12; mix-blend-mode: screen; }
.mk-demo h2 { margin: 0 auto; max-width: 20ch; font: 700 clamp(2rem, 4.4vw, 3.3rem)/1.08 'Sora', sans-serif; letter-spacing: -.04em; color: #fff; }
.mk-demo p { margin: 1.1rem auto 0; max-width: 38rem; font-size: 1.1rem; color: rgb(255 255 255 / .8); }
.mk-demo .a3-hero__cta { justify-content: center; }
.a3 .mk-demo .a3-btn--ink { background: #fff; color: rgb(var(--c-ink-deep)); }
.a3 .mk-demo .a3-btn--ink:hover { background: rgb(var(--brand-50)); color: rgb(var(--c-ink-deep)); }
.a3 .mk-demo .a3-btn--line { background: transparent; border-color: rgb(255 255 255 / .6); color: #fff; }
.a3 .mk-demo .a3-btn--line:hover { background: #fff; color: rgb(var(--c-ink-deep)); }
@media (prefers-reduced-motion: reduce) { .mk-feat:hover .mk-feat__phone, .mk-card:hover { transform: none; } }

/* =========================================================================
   Blog — index (featured post, filter, photo cards) and post layout
   ========================================================================= */
.bl-sec { padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6.5rem); background: rgb(var(--c-surface)); }
.bl-cat { font: 700 .76rem/1 'Inter', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: rgb(var(--brand-500)); }
.bl-meta { display: flex; flex-wrap: wrap; gap: 1.1rem; font-size: .82rem; color: rgb(var(--c-text-faint)); }
.bl-meta i { margin-right: .35rem; color: rgb(var(--brand-500)); }

/* featured */
.bl-feature { display: grid; background: #fff; border: 1px solid rgb(var(--c-border)); border-radius: 24px; overflow: hidden; box-shadow: var(--bs-shadow); transition: transform .5s var(--ease-out-soft), box-shadow .5s; }
.bl-feature:hover { transform: translateY(-6px); }
@media (min-width: 900px) { .bl-feature { grid-template-columns: 1.1fr 1fr; } }
.bl-feature__img { position: relative; display: block; min-height: 260px; overflow: hidden; background: rgb(var(--c-ink-deep)); }
.bl-feature__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out-expo); }
.bl-feature:hover .bl-feature__img img { transform: scale(1.06); }
.bl-feature__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgb(var(--brand-700) / .35), transparent 60%); }
.bl-badge { position: absolute; z-index: 2; left: 18px; top: 18px; padding: .4rem .8rem; border-radius: 999px; font: 700 .72rem/1 'Inter', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--bs-grad); }
.bl-feature__txt { display: flex; flex-direction: column; gap: 1rem; padding: clamp(1.6rem, 4vw, 3rem); justify-content: center; }
.bl-feature__txt h2 { margin: 0; font: 700 clamp(1.6rem, 3vw, 2.4rem)/1.12 'Sora', sans-serif; letter-spacing: -.03em; color: rgb(var(--c-text)); }
.bl-feature__txt p { margin: 0; color: rgb(var(--c-text-muted)); line-height: 1.7; }
.bl-read { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; color: rgb(var(--brand-500)); }
.bl-read i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; background: rgb(var(--brand-50)); rotate: -45deg; transition: rotate .4s, background .3s, color .3s; }
.bl-feature:hover .bl-read i, .bl-card:hover .bl-read i { rotate: 0deg; background: rgb(var(--brand-500)); color: #fff; }

/* filter */
.bl-filter { display: flex; flex-wrap: wrap; gap: .6rem; margin: 3rem 0 1.6rem; }
.bl-filter button { cursor: pointer; padding: .55rem 1.1rem; border-radius: 999px; border: 1.5px solid rgb(var(--c-border-strong)); background: #fff; font: 600 .88rem/1 'Inter', sans-serif; color: rgb(var(--c-text)); transition: all .3s ease; }
.bl-filter button:hover { border-color: rgb(var(--brand-500)); color: rgb(var(--brand-500)); }
.bl-filter button.is-on { background: var(--bs-grad); border-color: transparent; color: #fff; box-shadow: 0 12px 22px -12px rgb(var(--brand-500) / .8); }

/* cards */
.bl-grid { display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .bl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .bl-grid { grid-template-columns: repeat(3, 1fr); } .bl-grid--2 { grid-template-columns: repeat(2, 1fr); } }
.bl-card { display: flex; flex-direction: column; background: #fff; border: 1px solid rgb(var(--c-border)); border-radius: 20px; overflow: hidden; transition: transform .5s var(--ease-out-soft), box-shadow .5s, border-color .3s; }
.bl-card[hidden] { display: none; }
.bl-card:hover { transform: translateY(-8px); box-shadow: var(--bs-shadow); border-color: rgb(var(--brand-500) / .35); }
.bl-card__img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: rgb(var(--c-surface-2)); }
.bl-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out-expo); }
.bl-card:hover .bl-card__img img { transform: scale(1.08); }
.bl-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgb(var(--c-ink-deep) / .5)); }
.bl-card__ic { position: absolute; z-index: 2; left: 16px; bottom: 14px; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: #fff; color: rgb(var(--brand-500)); box-shadow: 0 10px 20px -10px rgb(0 0 0 / .5); transition: background .3s, color .3s; }
.bl-card:hover .bl-card__ic { background: rgb(var(--brand-500)); color: #fff; }
.bl-card__body { display: flex; flex-direction: column; gap: .75rem; padding: 1.5rem 1.5rem 1.6rem; flex: 1; }
.bl-card__body h3 { margin: 0; font: 700 1.2rem/1.3 'Sora', sans-serif; letter-spacing: -.02em; color: rgb(var(--c-text)); transition: color .3s; }
.bl-card:hover h3 { color: rgb(var(--brand-500)); }
.bl-card__body p { margin: 0; flex: 1; font-size: .94rem; line-height: 1.65; color: rgb(var(--c-text-muted)); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bl-card .bl-meta { padding-top: .9rem; border-top: 1px solid rgb(var(--c-border)); }

/* post page */
.bl-author { border-radius: 50%; background: #fff; padding: 2px; object-fit: contain; }
.bs-banner .bl-author { width: 28px; height: 28px; }
.bl-hero-img { max-width: 1000px; margin: -2.2rem auto 0; padding: 0 1.5rem; position: relative; z-index: 3; }
.bl-hero-img img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 22px; box-shadow: 0 40px 80px -36px rgb(var(--shadow-color) / .6); }
.bl-layout { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; display: grid; gap: 3rem; }
@media (min-width: 1000px) { .bl-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 4rem; } }
.bl-prose { font-size: 1.08rem; line-height: 1.85; }
.bl-prose h2 { scroll-margin-top: calc(var(--nav-h, 104px) + 1.5rem); font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-top: 2.6rem; padding-left: 1rem; border-left: 4px solid rgb(var(--brand-500)); }
.bl-prose p { color: rgb(var(--c-text-muted)); }
.bl-prose ul, .bl-prose ol { padding-left: 1.3rem; }
.bl-prose li::marker { color: rgb(var(--brand-500)); }
.bl-prose blockquote { border-left: 4px solid rgb(var(--accent-500)); background: rgb(var(--brand-50)); border-radius: 0 14px 14px 0; padding: 1rem 1.4rem; font-style: normal; color: rgb(var(--c-text)); }
.bl-share { display: flex; align-items: center; gap: .7rem; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgb(var(--c-border)); }
.bl-share span { font-weight: 700; margin-right: .4rem; color: rgb(var(--c-text)); }
.bl-share a, .bl-share button { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgb(var(--c-border-strong)); background: #fff; color: rgb(var(--c-text)); cursor: pointer; transition: all .3s; }
.bl-share a:hover, .bl-share button:hover, .bl-share button.is-done { background: rgb(var(--brand-500)); border-color: rgb(var(--brand-500)); color: #fff; }
.bl-side { display: grid; gap: 1.4rem; align-content: start; }
@media (min-width: 1000px) { .bl-side { position: sticky; top: calc(var(--nav-h, 104px) + 1.5rem); } }
.bl-toc { border: 1px solid rgb(var(--c-border)); border-radius: 18px; padding: 1.4rem 1.4rem 1.2rem; background: #fff; }
.bl-toc h2 { margin: 0 0 .8rem; font: 700 .78rem/1 'Inter', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: rgb(var(--c-text-muted)); }
.bl-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; counter-reset: t; }
.bl-toc li { counter-increment: t; }
.bl-toc a { display: flex; gap: .7rem; padding: .5rem .5rem; border-radius: 10px; font-size: .9rem; line-height: 1.4; color: rgb(var(--c-text-muted)); transition: background .25s, color .25s; }
.bl-toc a::before { content: counter(t, decimal-leading-zero); font: 700 .75rem/1.6 'Sora', sans-serif; color: rgb(var(--brand-500)); }
.bl-toc a:hover { background: rgb(var(--brand-50)); color: rgb(var(--c-text)); }
.bl-aside-cta { border-radius: 20px; padding: 1.6rem; color: #fff; background: linear-gradient(140deg, rgb(var(--c-ink-deep)), rgb(var(--brand-700))); position: relative; overflow: hidden; }
.bl-aside-cta::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--bs-grad); opacity: .45; }
.bl-aside-cta__ic { position: relative; z-index: 1; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgb(255 255 255 / .12); color: rgb(var(--accent-400)); }
.bl-aside-cta h2 { position: relative; z-index: 1; margin: 1rem 0 0; font: 700 1.2rem/1.25 'Sora', sans-serif; color: #fff; }
.bl-aside-cta p { position: relative; z-index: 1; margin: .6rem 0 1.2rem; font-size: .92rem; line-height: 1.55; color: rgb(255 255 255 / .75); }
.bl-aside-cta .btn-primary { position: relative; z-index: 1; background: #fff; color: rgb(var(--c-ink-deep)); }
.bl-aside-cta .btn-primary::before { background: rgb(var(--accent-500)); }
.bl-aside-cta .btn-primary:hover { color: #fff; }
.bl-related { padding: clamp(3.5rem, 7vw, 5.5rem) 0; background: rgb(var(--c-surface)); }
.bl-related > div > h2 { margin: 0 0 2rem; font: 700 clamp(1.6rem, 3vw, 2.2rem)/1.1 'Sora', sans-serif; letter-spacing: -.03em; color: rgb(var(--c-text)); }
@media (prefers-reduced-motion: reduce) { .bl-feature:hover, .bl-card:hover { transform: none; } }
