/* ==========================================================================
   Sri Abirami Battery — 2026 design system
   Shared by every page. Load after Google Fonts, owl.css and fancybox.
   Sections:
   01 Tokens & theme       09 Process steps
   02 Base & utilities     10 Projects
   03 Buttons & chips      11 Skills
   04 Preloader            12 Testimonials
   05 Top bar & header     13 Clients marquee
   06 Mobile drawer        14 Subscribe
   07 Hero                 15 Footer
   08 About / cards / stats 16 Floating UI, cursor, motion prefs
   ========================================================================== */

/* 01 Tokens & theme ------------------------------------------------------- */
:root {
  --green: #56b13d;
  --green-700: #2f7a1f;
  --orange: #f16d2b;
  --orange-700: #c64f15;
  --blue: #0084ec;
  --blue-700: #0067b8;
  --ink: #0b0f14;
  --ink-2: #121821;
  --light: #f7f9fb;

  --bg: var(--light);
  --surface: #ffffff;
  --surface-2: #eef3f6;
  --text: #0f1720;
  --muted: #55606c;
  --border: rgba(15, 23, 32, .08);
  --border-strong: rgba(15, 23, 32, .16);
  --accent-text: var(--green-700);
  --glass: rgba(255, 255, 255, .72);

  --grad: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%);
  --grad-btn: linear-gradient(135deg, #e2611f 0%, var(--orange-700) 100%);

  --font-head: "Poppins", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 24px;
  --radius-sm: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 32, .06), 0 4px 12px rgba(15, 23, 32, .04);
  --shadow-md: 0 2px 6px rgba(15, 23, 32, .05), 0 16px 40px -12px rgba(15, 23, 32, .16);
  --shadow-lg: 0 4px 12px rgba(15, 23, 32, .06), 0 32px 64px -20px rgba(15, 23, 32, .28);

  /* Fluid type scale: 360px phone → 1440px desktop */
  --fs-hero: clamp(2.25rem, 1.5rem + 2.8vw, 4.25rem);     /* 36 → 68 */
  --fs-h2:   clamp(1.5rem, 1.2rem + 1.3vw, 2.375rem);  /* 24 → 38 */
  --fs-h3:   clamp(1.125rem, 1.05rem + .35vw, 1.375rem); /* 18 → 22 */
  --fs-h4:   clamp(1rem, .96rem + .2vw, 1.125rem);   /* 16 → 18 */
  --fs-lead: clamp(.9375rem, .9rem + .15vw, 1.0625rem); /* 15 → 17 */
  --fs-body: clamp(.875rem, .85rem + .1vw, .9375rem);  /* 14 → 15 */
  --fs-small: .8125rem;
  --fs-eyebrow: .75rem;
  --lh-tight: 1.12;
  --lh-body: 1.7;

  --container: 1320px;
  --gutter: 16px;
  --sec-pad: clamp(64px, 4rem + 4vw, 128px);
  --header-h: 96px;
  --topbar-h: 44px;
  --ease: cubic-bezier(.2, .75, .2, 1);
}
@media (max-width: 767px) { :root { --header-h: 80px; } }
@media (min-width: 768px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }
@media (min-width: 1536px) { :root { --container: 1440px; } }

/* 02 Base & utilities ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  animation: x-page-in .6s var(--ease) both;
}
html.is-leaving body { opacity: 0; transition: opacity .25s ease; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); margin: 0; line-height: var(--lh-tight); font-weight: 600; letter-spacing: -.01em; color: inherit; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
input { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
[data-lenis-prevent] { overscroll-behavior: contain; }

.x-container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.x-section { position: relative; padding-block: var(--sec-pad); }
[id] { scroll-margin-top: 96px; }
.x-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.x-skip { position: fixed; left: 16px; top: 16px; transform: translateY(-200%); z-index: 2000; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600; transition: transform .2s; }
.x-skip:focus { transform: none; }

/* Section headings */
.x-head { max-width: 760px; margin-bottom: clamp(36px, 2rem + 2vw, 64px); }
.x-head--center { text-align: center; margin-inline: auto; }
.x-head--split { max-width: none; display: grid; gap: 16px 48px; align-items: end; }
@media (min-width: 992px) { .x-head--split { grid-template-columns: 1.1fr 1fr; } }
.x-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; margin-bottom: 18px; border-radius: 999px;
  background: color-mix(in srgb, var(--green) 13%, transparent);
  color: var(--accent-text);
  font: 600 var(--fs-eyebrow)/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase;
}
.x-eyebrow .x-mark { font-family: var(--font-head); font-weight: 700; color: var(--orange); letter-spacing: 0; }
.x-eyebrow--light { background: rgba(255, 255, 255, .1); color: #c8f0b8; }
.x-h2 { font-size: var(--fs-h2); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.x-grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-lead { color: var(--muted); font-size: var(--fs-lead); line-height: 1.7; }
.x-head .x-lead { margin-top: 16px; }

/* Lazy image blur-up */
img.is-loading { filter: blur(14px); transform: scale(1.04); }
img { transition: filter .6s ease, transform .6s var(--ease); }

/* 03 Buttons & chips ------------------------------------------------------ */
.x-btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px;
  background: var(--grad-btn); color: #fff; cursor: pointer;
  font: 600 .9375rem/1 var(--font-body); letter-spacing: .01em;
  box-shadow: 0 12px 30px -12px rgba(241, 109, 43, .7);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.x-btn:hover { box-shadow: 0 18px 40px -12px rgba(241, 109, 43, .8); color: #fff; }
.x-btn i { font-size: .9em; transition: transform .35s var(--ease); }
.x-btn:hover i { transform: translateX(5px); }
.x-btn--light { background: #fff; color: var(--ink); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .45); }
.x-btn--light:hover { color: var(--ink); }
.x-ripple { position: absolute; z-index: -1; border-radius: 50%; background: rgba(255, 255, 255, .45); transform: scale(0); animation: x-ripple .65s ease-out forwards; pointer-events: none; }
.x-btn--wa { background: #1faa52; color: #fff; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .45); white-space: nowrap; }
.x-btn--wa:hover { color: #fff; background: #189947; }
.x-btn--wa i.fab { font-size: 1.25rem; }
.x-btn--wa:hover i { transform: none; }
.x-btn--light .x-ripple { background: rgba(86, 177, 61, .3); }

.x-more {
  display: inline-flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 20px;
  font-weight: 600; color: var(--text);
}
.x-more i {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border-strong); font-size: .8rem;
  transition: background .35s, color .35s, transform .35s var(--ease), border-color .35s;
}
.x-more:hover i, .x-card:hover .x-more i { background: var(--grad); border-color: transparent; color: #fff; transform: rotate(-45deg); }

.x-chip {
  display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #fff; font: 600 .8125rem/1 var(--font-body); letter-spacing: .04em;
}

/* 04 Preloader ------------------------------------------------------------ */
.x-loader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: radial-gradient(600px 400px at 50% 40%, rgba(86, 177, 61, .18), transparent 70%), var(--ink);
  color: #fff; transition: opacity .5s ease, visibility .5s ease;
}
html.is-loaded .x-loader { opacity: 0; visibility: hidden; pointer-events: none; }
.x-loader__box { display: grid; justify-items: center; gap: 22px; }
.x-battery { position: relative; width: 132px; height: 60px; padding: 6px; border: 3px solid rgba(255, 255, 255, .9); border-radius: 14px; }
.x-battery::after { content: ""; position: absolute; right: -12px; top: 50%; width: 8px; height: 24px; transform: translateY(-50%); border-radius: 0 5px 5px 0; background: rgba(255, 255, 255, .9); }
.x-battery__fill { height: 100%; border-radius: 7px; background: var(--grad); transform: scaleX(0); transform-origin: left; animation: x-charge 1.1s cubic-bezier(.6, .05, .3, 1) .1s forwards; box-shadow: 0 0 24px rgba(86, 177, 61, .7); }
.x-battery__bolt { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.25rem; text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }
.x-loader__pct { font: 700 1.125rem/1 var(--font-head); color: #c8f0b8; font-variant-numeric: tabular-nums; }
.x-loader__word { display: flex; gap: 6px; font: 700 clamp(1.25rem, 1rem + 1vw, 1.75rem)/1 var(--font-head); letter-spacing: .2em; }
.x-loader__word span { opacity: 0; transform: translateY(12px); animation: x-fade-up .5s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 150ms); }
.x-loader__skip { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; cursor: pointer; font-size: 1rem; }

/* 05 Top bar & header ----------------------------------------------------- */
.x-search { position: relative; }
.x-search__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: transparent; color: #b4bfca; cursor: pointer; font-size: .8125rem; }
.x-search__btn:hover { color: #fff; border-color: rgba(255, 255, 255, .35); }
.x-search__panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(320px, calc(100vw - 32px)); padding: 10px;
  border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .3s var(--ease); z-index: 5;
}
.x-search.is-open .x-search__panel { opacity: 1; visibility: visible; transform: none; }
.x-search__panel .form-group { display: flex; gap: 8px; }
.x-search__panel input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--bg); color: var(--text); font-size: 16px; }
.x-search__panel button { width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--grad); color: #fff; cursor: pointer; }
.x-social { display: flex; gap: 6px; }
.x-social a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .06); color: #b4bfca; font-size: .75rem; transition: background .3s, color .3s, transform .3s var(--ease); }
.x-social a:hover { background: var(--green); color: #fff; transform: translateY(-2px); }

/* Floating dock header */
.x-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); padding-top: 12px; pointer-events: none; }
.x-header__bar {
  pointer-events: auto; position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--container) - 2 * var(--gutter));
  height: 84px; margin-inline: auto; padding: 0 16px 0 18px;
  border-radius: 22px; background: var(--surface); color: var(--text);
  border: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 18px 50px -18px rgba(5, 10, 15, .45);
  transition: height .45s var(--ease), box-shadow .45s, background .45s, border-radius .45s var(--ease);
}
.x-header.is-scrolled .x-header__bar {
  height: 72px; border-radius: 18px;
  background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
  box-shadow: 0 20px 50px -20px rgba(5, 10, 15, .35);
}
.x-logo { display: inline-flex; align-items: center; flex-shrink: 0; border-radius: 12px; transition: transform .35s var(--ease); }
.x-logo:hover { transform: scale(1.03); }
.x-logo img { height: 70px; width: auto; transition: height .45s var(--ease); }
.x-header.is-scrolled .x-logo img { height: 58px; }

.x-nav { display: none; }
@media (min-width: 1200px) { .x-nav { display: block; margin-left: auto; } }
.x-nav__list { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: clamp(8px, 1vw, 16px); }
.x-nav__list > li { position: relative; z-index: 1; }
.x-nav__list > li > a {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  height: 44px; padding: 0 clamp(14px, 1.1vw, 20px); border-radius: 12px;
  font: 600 .9375rem/1 var(--font-body); white-space: nowrap; color: var(--text);
  transition: color .3s;
}
.x-nav__list > li.current > a { color: var(--accent-text); }
.x-nav__list > li.current > a::before { content: ""; position: absolute; left: 50%; bottom: 6px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--orange); }
.x-nav__pill {
  position: absolute; left: 0; top: 50%; z-index: 0; height: 44px; margin-top: -22px; width: 0; border-radius: 12px;
  background: var(--surface-2); opacity: 0; pointer-events: none;
  transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s;
}
.x-caret { font-size: .6rem; opacity: .55; transition: transform .35s var(--ease); }
.x-nav__list > li:hover .x-caret, .x-nav__list > li:focus-within .x-caret { transform: rotate(180deg); }
.x-sub {
  position: absolute; left: -8px; top: calc(100% + 14px); min-width: 270px; padding: 8px;
  border-radius: 20px; background: var(--surface); color: var(--text); border: 1px solid var(--border);
  box-shadow: 0 30px 70px -24px rgba(5, 10, 15, .35);
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(.98); transform-origin: top left;
  transition: opacity .3s var(--ease), transform .35s var(--ease), visibility .3s;
}
.x-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
/* last items open towards the left so the panel never leaves the screen */
.x-nav__list > li:nth-last-of-type(-n+3) > .x-sub { left: auto; right: -8px; transform-origin: top right; }
.x-nav__list > li:hover > .x-sub, .x-nav__list > li:focus-within > .x-sub, .x-nav__list > li.is-open > .x-sub { opacity: 1; visibility: visible; transform: none; }
.x-sub a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; border-radius: 12px;
  font-size: .9375rem; font-weight: 600; text-transform: capitalize;
  transition: background .25s, color .25s;
}
.x-sub a::after { content: "\f061"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: .7rem; opacity: 0; transform: translateX(-8px); transition: opacity .25s, transform .3s var(--ease); color: var(--accent-text); }
.x-sub a:hover { background: var(--surface-2); color: var(--accent-text); }
.x-sub a:hover::after { opacity: 1; transform: none; }

.x-header__actions { display: flex; align-items: center; gap: 8px; }
@media (min-width: 1200px) { .x-header__actions { display: none; } }
.x-icon-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
  border: 1px solid var(--border); background: var(--surface-2); color: var(--text);
  cursor: pointer; transition: background .3s, transform .3s var(--ease), color .3s;
}
.x-icon-btn:hover { background: var(--text); color: var(--surface); }
.x-burger { display: grid; align-content: center; justify-items: center; }
.x-burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), width .35s var(--ease); }
.x-burger span + span { margin-top: 4px; }
.x-burger span:nth-child(2) { width: 12px; margin-left: 6px; }
.x-burger:hover span:nth-child(2) { width: 18px; margin-left: 0; }
@media (max-width: 767px) {
  .x-header { padding-top: 8px; }
  .x-header__bar { height: 72px; padding: 0 8px 0 12px; border-radius: 18px; width: calc(100% - 24px); }
  .x-logo img { height: 56px; }
  .x-header.is-scrolled .x-header__bar { height: 64px; }
  .x-header.is-scrolled .x-logo img { height: 50px; }
}

/* 06 Mobile drawer -------------------------------------------------------- */
.x-drawer { position: fixed; inset: 0; z-index: 500; visibility: hidden; transition: visibility 0s linear .55s; }
.x-drawer__backdrop { position: absolute; inset: 0; background: rgba(11, 15, 20, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .45s ease; }
.x-drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(440px, 100%); overflow-y: auto;
  display: flex; flex-direction: column; gap: 28px;
  padding: 20px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  background: var(--surface); color: var(--text);
  transform: translateX(100%); transition: transform .55s var(--ease);
}
body.menu-open { overflow: hidden; }
body.menu-open .x-drawer { visibility: visible; transition: visibility 0s; }
body.menu-open .x-drawer__backdrop { opacity: 1; }
body.menu-open .x-drawer__panel { transform: none; }
.x-drawer__top { display: flex; align-items: center; justify-content: space-between; }
.x-drawer__top .x-logo img { height: 56px; }
.x-drawer__nav .x-nav__list { display: block; }
.x-drawer__nav .x-nav__list > li {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border);
  opacity: 0; transform: translateX(24px); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
body.menu-open .x-drawer__nav .x-nav__list > li { opacity: 1; transform: none; transition-delay: calc(var(--i) * 45ms + 150ms); }
.x-drawer__nav .x-nav__list > li > a { flex: 1; min-height: 56px; padding: 0; font: 500 1rem/1 var(--font-head); letter-spacing: .01em; }
.x-drawer__nav .x-nav__list > li > a::after, .x-drawer__nav .x-caret { display: none; }
.x-drawer__nav .x-nav__list > li.current > a { color: var(--accent-text); }
.x-sub-toggle { width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--surface-2); cursor: pointer; transition: transform .35s var(--ease); }
.x-drawer__nav li.is-open > .x-sub-toggle { transform: rotate(180deg); }
.x-drawer__nav .x-sub {
  position: static; flex-basis: 100%; min-width: 0; padding: 0 0 0 12px; margin: 0;
  border: 0; box-shadow: none; background: transparent; opacity: 1; visibility: visible; transform: none;
  max-height: 0; overflow: hidden; transition: max-height .45s var(--ease), padding .45s;
}
.x-drawer__nav .x-sub::before { display: none; }
.x-drawer__nav li.is-open > .x-sub { max-height: 420px; padding-bottom: 12px; }
.x-drawer__info { display: flex; flex-direction: column; gap: 14px; padding-top: 8px; border-top: 1px solid var(--border); }
.x-drawer__info h4 { font-size: 1.0625rem; font-weight: 700; margin: 0; color: var(--text); }
.x-drawer__info ul { display: flex; flex-direction: column; gap: 12px; }
.x-drawer__info li { padding: 0; }
.x-drawer__info li, .x-drawer__info a {
  display: flex; align-items: center; gap: 12px; font-size: .9375rem; color: var(--text); line-height: 1.5; font-weight: 500;
}
.x-drawer__info li i, .x-drawer__info a i {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; background: var(--surface-2);
  color: var(--accent-text); font-size: .875rem;
}
.x-drawer__info a { transition: color .25s; }
.x-drawer__info a:hover { color: var(--accent-text); }
.x-drawer__info a:hover i { background: color-mix(in srgb, var(--green) 18%, var(--surface-2)); transform: scale(1.05); transition: transform .3s var(--ease), background .3s; }

/* 07 Hero — full-screen photo slider ------------------------------------- */
.x-hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: calc(-1 * var(--header-h));
  height: 100vh; height: 100svh; min-height: 560px; max-height: 1100px;
  background: #0b0f14; color: #fff;
}
.x-hero__slides, .x-hslide { position: absolute; inset: 0; }
.x-hslide {
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 20px);
  padding-bottom: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s ease, visibility 1.1s;
}
.x-hslide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.x-hero__img {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: 72% center;
  transform: scale(1.12); transition: transform 8s cubic-bezier(.2, .6, .3, 1);
}
.x-hero__img.is-active { transform: scale(1); }
/* readability: dark fade from the left side so text is always legible */
.x-hslide::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 8, 12, .88) 0%, rgba(5, 8, 12, .6) 45%, rgba(5, 8, 12, 0) 80%),
    linear-gradient(0deg, rgba(5, 8, 12, .7) 0%, rgba(5, 8, 12, 0) 50%);
}
.x-hero::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 200px; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(5, 8, 12, .45), transparent); }

.x-hero .x-hero__copy {
  position: relative;
  max-width: 100%;
  margin-inline: 0;
  padding-left: clamp(24px, 5vw, 64px);
  padding-right: var(--gutter);
}
.x-hero__title {
  max-width: 14ch;
  font: 700 var(--fs-hero)/1.08 var(--font-head);
  letter-spacing: -.02em; text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .25);
}
.x-hero__sub { margin-top: 18px; max-width: 54ch; letter-spacing: 0; font: 400 var(--fs-lead)/1.6 var(--font-body); color: rgba(255, 255, 255, .88); }
.x-hero__kicker { display: inline-block; margin-bottom: 20px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 700 .75rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.x-hero__text { margin-top: 16px; max-width: 54ch; color: rgba(255, 255, 255, .75); }
.x-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.x-hero__big {
  position: absolute; z-index: -1; right: var(--gutter); top: 50%; transform: translateY(-50%);
  pointer-events: none; user-select: none; white-space: nowrap; writing-mode: vertical-rl;
  font: 700 clamp(3rem, 6vw, 6rem)/.8 var(--font-head); letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .12);
}

@media (min-width: 1024px) { .x-hero__title { max-width: 14ch; } }

/* word animation on the active slide */
.x-split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.x-split .wi { display: inline-block; }
.x-hslide.is-active .x-split .wi { animation: x-word-up 1.1s var(--ease) both; animation-delay: calc(var(--i) * 80ms + 250ms); }
.x-hslide.is-active .x-hero__kicker { animation: x-fade-up .9s var(--ease) .1s both; }
.x-hslide.is-active .x-hero__sub, .x-hslide.is-active .x-hero__text { animation: x-fade-up 1s var(--ease) .6s both; }
.x-hslide.is-active .x-hero__btns { animation: x-fade-up 1s var(--ease) .75s both; }
.x-hslide.is-active .x-hero__big { animation: x-fade-in 2s ease .4s both; }

/* controls: line indicators, right-aligned, horizontal */
.x-hero__ctrl {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(28px, 5vh, 44px);
  display: flex; justify-content: flex-end;
  max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter);
}
.x-hero__dots { display: flex; align-items: center; gap: 6px; }
.x-hero__dot { display: grid; place-items: center; width: 36px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; transition: width .5s var(--ease); }
.x-hero__dot i { position: relative; display: block; width: 100%; height: 3px; border-radius: 3px; overflow: hidden; background: rgba(255, 255, 255, .4); transition: height .3s, background .3s; }
.x-hero__dot:hover i { background: rgba(255, 255, 255, .8); }
.x-hero__dot.is-active { width: 72px; }
.x-hero__dot.is-active i { height: 4px; background: rgba(255, 255, 255, .25); }
.x-hero__dot i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, #9be07f, #fff); transform: scaleX(0); transform-origin: left; }
.x-hero__dot.is-active i::after { animation: x-progress var(--dur, 6500ms) linear forwards; }
.x-hero.is-paused .x-hero__dot.is-active i::after { animation-play-state: paused; }

@media (max-width: 767px) {
  .x-hero { min-height: 520px; }
  .x-hslide { align-items: flex-end; padding-top: 0; padding-bottom: 0; }
  .x-hero__img { background-position: 80% center; }
  .x-hslide::before { background: linear-gradient(0deg, rgba(5, 8, 12, .92) 0%, rgba(5, 8, 12, .55) 45%, rgba(5, 8, 12, .1) 75%); }
  .x-hero__copy { padding-bottom: 96px; }
  .x-hero__big { display: none; }
  .x-hero__ctrl { bottom: calc(24px + env(safe-area-inset-bottom)); }
}
@media (max-height: 560px) and (orientation: landscape) {
  .x-hero { height: auto; min-height: 480px; max-height: none; }
  .x-hslide:not(.is-active) { position: absolute; }
  .x-hero__title { font-size: clamp(2rem, 7vh + 1rem, 3rem); }
  .x-hero__copy { padding-bottom: 88px; }
  .x-hero__btns { margin-top: 18px; }
  .x-hero__btns .x-btn { width: auto; }
}

/* 08 About ---------------------------------------------------------------- */
.x-about__grid { display: grid; gap: clamp(40px, 5vw, 80px); align-items: center; }
@media (min-width: 992px) { .x-about__grid { grid-template-columns: 1fr 1fr; } }
.x-about__media { position: relative; }
.x-about__media::before { content: ""; position: absolute; inset: 8% -4% -4% 8%; border-radius: calc(var(--radius) + 8px); background: var(--grad); opacity: .16; }
.x-about__img { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 8px); box-shadow: var(--shadow-lg); }
.x-about__img img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: center 35%; }
@media (min-width: 992px) { .x-about__img img { aspect-ratio: 4 / 5; } }
.x-about__badge {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  display: flex; align-items: center; gap: 16px; padding: 14px 22px 14px 14px; border-radius: 999px;
  background: linear-gradient(135deg, #0f1720, #1d2b38); color: #fff;
  border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .55);
  animation: x-float 6s ease-in-out infinite;
}
@media (min-width: 1200px) { .x-about__badge { left: -28px; bottom: 40px; } }
.x-about__badge-num {
  position: relative; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%;
  background: var(--grad); box-shadow: 0 0 0 5px rgba(255, 255, 255, .08), 0 10px 24px -8px rgba(31, 170, 82, .7);
}
.x-about__badge-num::after {
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, .35); animation: x-spin 14s linear infinite;
}
.x-about__badge h2 { font-size: 1.875rem; font-weight: 800; line-height: 1; color: #fff; }
.x-about__badge h2 span { font-size: .6em; vertical-align: super; color: #fff; }
.x-about__badge h6 { font: 700 1rem/1.25 var(--font-head); color: #fff; max-width: none; }
.x-about__badge small { display: block; margin-top: 4px; font: 600 .6875rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #7fd462; }
@media (max-width: 575px) {
  .x-about__badge { gap: 12px; padding: 10px 16px 10px 10px; }
  .x-about__badge-num { width: 60px; height: 60px; }
  .x-about__badge h2 { font-size: 1.5rem; }
}
.x-about__text { margin-top: 18px; color: var(--muted); font-size: var(--fs-lead); line-height: 1.75; }
.x-about__text strong { color: var(--text); }
.x-about__cards { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 576px) { .x-about__cards { grid-template-columns: 1fr 1fr; } }
.x-mini {
  display: flex; flex-direction: column; padding: 24px; border-radius: 20px; background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.x-mini:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--green) 40%, transparent); }
.x-mini h5 { font-size: var(--fs-h4); margin-bottom: 14px; }
.x-mini__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 14px; border-radius: 16px; background: var(--grad); box-shadow: 0 10px 24px -10px rgba(0, 132, 236, .6); }
.x-mini__icon img { width: 32px; height: 32px; object-fit: contain; }
.x-mini p { color: var(--muted); font-size: .9375rem; }
.x-mini h6 { margin-top: auto; padding-top: 16px; font: 600 .9375rem/1 var(--font-body); }
.x-mini h6 a { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-text); }
.x-mini h6 a:hover i { transform: translateX(4px); }
.x-mini h6 i { transition: transform .3s var(--ease); font-size: .8rem; }

/* Cards (bento) ------------------------------------------------------------ */
.x-services { background: var(--surface-2); }
.x-bento { display: grid; gap: clamp(16px, 1.5vw, 24px); grid-template-columns: 1fr; }
@media (min-width: 768px) { .x-bento { grid-template-columns: repeat(2, 1fr); } .x-bento .x-span-2 { grid-column: span 2; } }
@media (min-width: 1200px) {
  .x-bento { grid-template-columns: repeat(4, 1fr); }
  .x-bento .x-feature { grid-column: span 2; grid-row: span 2; }
  .x-bento .x-wide { grid-column: span 2; }
}
.x-card {
  --rx: 0deg; --ry: 0deg; --ty: 0px;
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: clamp(20px, 1.2rem + .8vw, 32px); border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--ty));
  transition: transform .5s var(--ease), box-shadow .5s, border-color .5s;
}
.x-card:hover { --ty: -6px; box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--green) 45%, transparent); }
.x-card.is-tilting { transition: transform .12s linear, box-shadow .5s, border-color .5s; }
.x-card__media {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; margin-bottom: 22px; overflow: hidden; border-radius: 18px;
  background: radial-gradient(circle at 50% 65%, rgba(86, 177, 61, .2), transparent 65%), #eef3f6;
}
.x-card__media img { width: auto; max-width: 78%; max-height: 82%; object-fit: contain; mix-blend-mode: multiply; transition: transform .7s var(--ease); }
.x-card:hover .x-card__media img { transform: scale(1.07) translateY(-4px); }
.x-feature .x-card__media { flex: 1; aspect-ratio: auto; min-height: 260px; }
@media (min-width: 1200px) {
  .x-wide { display: grid; grid-template-columns: 1fr 1.15fr; gap: 0 24px; align-items: center; }
  .x-wide .x-card__media { grid-row: span 5; margin: 0; height: 100%; aspect-ratio: auto; min-height: 220px; }
}
.x-card__cat { font: 600 .75rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.x-card__title { margin: 12px 0 10px; font-size: var(--fs-h4); font-weight: 600; line-height: 1.3; }
.x-feature .x-card__title { font-size: var(--fs-h3); }
.x-card__title a:hover { color: var(--accent-text); }
.x-card p { color: var(--muted); font-size: .9375rem; }
.x-card__icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 18px; border-radius: 18px; background: color-mix(in srgb, var(--green) 12%, transparent); }
.x-card__icon img { width: 34px; height: 34px; object-fit: contain; }
.x-card:hover .x-card__icon { animation: x-bounce .7s var(--ease); }
.x-card__img { margin-top: 20px; overflow: hidden; border-radius: 16px; }
.x-card__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s var(--ease); }
.x-card:hover .x-card__img img { transform: scale(1.08); }
.x-shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); }
.x-card:hover .x-shine { transform: translateX(120%); transition: transform 1s var(--ease); }

/* Solutions (image cards with reveal overlay) */
.x-sols { display: grid; gap: clamp(16px, 1.5vw, 24px); grid-template-columns: 1fr; }
@media (min-width: 768px) { .x-sols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .x-sols { grid-template-columns: repeat(3, 1fr); } }
.x-sol { position: relative; isolation: isolate; overflow: hidden; min-height: 440px; border-radius: var(--radius); color: #fff; background: var(--ink); box-shadow: var(--shadow-md); }
.x-sol__img { position: absolute; inset: 0; z-index: -2; }
.x-sol__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.x-sol:hover .x-sol__img img { transform: scale(1.08); }
.x-sol::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11, 15, 20, .92) 0%, rgba(11, 15, 20, .35) 50%, rgba(11, 15, 20, .05) 100%); }
.x-sol__link { position: absolute; top: 20px; right: 20px; }
.x-sol__link a { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .35s, transform .35s var(--ease); }
.x-sol__link a:hover { background: var(--orange); transform: rotate(-45deg); }
.x-sol__link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.x-sol__base, .x-sol__over { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; transition: transform .6s var(--ease), opacity .5s ease; }
.x-sol__base { display: flex; align-items: center; gap: 16px; }
.x-sol__icon { flex-shrink: 0; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: rgba(255, 255, 255, .95); }
.x-sol__icon img { width: 34px; height: 34px; object-fit: contain; }
.x-sol .x-cat { font: 600 .75rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #9be07f; }
.x-sol h3 { margin-top: 8px; font-size: var(--fs-h3); text-transform: capitalize; }
.x-sol__over { top: 0; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(0deg, rgba(11, 15, 20, .96) 0%, rgba(11, 15, 20, .75) 60%, rgba(11, 15, 20, .3) 100%); opacity: 0; transform: translateY(24px); }
.x-sol__over .x-sol__link { position: static; margin-bottom: auto; align-self: flex-end; }
.x-sol__over p { margin-top: 12px; color: rgba(255, 255, 255, .82); }
.x-sol:hover .x-sol__base, .x-sol:focus-within .x-sol__base { opacity: 0; transform: translateY(16px); }
.x-sol:hover .x-sol__over, .x-sol:focus-within .x-sol__over { opacity: 1; transform: none; }
@media (hover: none) {
  .x-sol__base { opacity: 0; pointer-events: none; }
  .x-sol__over { opacity: 1; transform: none; background: linear-gradient(0deg, rgba(11, 15, 20, .95) 0%, rgba(11, 15, 20, .55) 55%, transparent 100%); }
}
@media (max-width: 575px) { .x-sol { min-height: 400px; } }

/* Stats --------------------------------------------------------------------- */
.x-stats {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(96px, 5rem + 4vw, 150px);
  background:
    radial-gradient(60% 70% at 12% 20%, rgba(86, 177, 61, .38), transparent 70%),
    radial-gradient(55% 70% at 90% 85%, rgba(0, 132, 236, .38), transparent 70%),
    radial-gradient(40% 50% at 55% 50%, rgba(241, 109, 43, .12), transparent 70%),
    linear-gradient(160deg, #0a1a12 0%, #0b1220 55%, #07101c 100%);
  /* angled top & bottom edges */
  clip-path: polygon(0 clamp(28px, 5vw, 70px), 100% 0, 100% calc(100% - clamp(28px, 5vw, 70px)), 0 100%);
  margin-block: calc(-1 * clamp(14px, 2.5vw, 35px));
}
.x-stats::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath d='M28 66L0 50V17L28 1l28 16v33L28 66zm0 32L0 82V66l28 16 28-16v16L28 98z' fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1'/%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 35%, transparent 80%); mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 35%, transparent 80%);
}
.x-stats::after {
  content: ""; position: absolute; left: 0; right: 0; top: clamp(28px, 5vw, 70px); height: 2px; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(86, 177, 61, .8), rgba(0, 132, 236, .8), transparent); transform: rotate(-2.9deg); transform-origin: left;
}
.x-stats .bg-layer div { position: absolute; z-index: -1; width: 380px; height: 380px; background-repeat: no-repeat; background-size: contain; opacity: .06; filter: brightness(0) invert(1); pointer-events: none; }
.x-stats .bg-1 { left: -80px; bottom: -40px; }
.x-stats .bg-2 { right: -60px; top: -20px; }

.x-stats__top { text-align: center; margin-bottom: clamp(28px, 3vw, 48px); }
.x-stats__big {
  display: inline-block; font: 700 clamp(2rem, 1.2rem + 4vw, 4.5rem)/1 var(--font-head); letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .35);
  background: linear-gradient(90deg, #9be07f, #5cc2ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; opacity: .9;
}

/* honeycomb row */
.x-stats__panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); justify-items: center; }
@media (min-width: 992px) { .x-stats__panel { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-bottom: 48px; } }
@media (min-width: 992px) { .x-stat:nth-child(even) { transform: translateY(48px); } }
@media (max-width: 991px) { .x-stat:nth-child(even) { transform: translateY(28px); } .x-stats__panel { padding-bottom: 28px; } }

.x-stat {
  --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  position: relative; width: 100%; max-width: 250px; aspect-ratio: 1 / 1.12;
  padding: 3px; clip-path: var(--hex);
  background: linear-gradient(160deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .35));
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .55)) drop-shadow(0 0 30px rgba(86, 177, 61, .18));
  transition: background .4s;
}
.x-stat > * { position: relative; z-index: 1; }
.x-stat::before {
  content: ""; position: absolute; inset: 3px; z-index: 0; clip-path: var(--hex);
  background: var(--surface); transition: background .45s;
}
.x-stat {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.x-stat:hover { background: linear-gradient(160deg, #ffb27f, var(--orange)); }
.x-stat:hover::before { background: linear-gradient(160deg, #ffffff, #f2fbef); }

.x-stat__icon {
  position: relative; display: grid; place-items: end center;
  width: clamp(56px, 3rem + 1.2vw, 70px); height: clamp(48px, 2.6rem + 1vw, 60px); margin-bottom: 10px; padding-bottom: 8px;
  color: #fff; font-size: clamp(1rem, .9rem + .4vw, 1.25rem); line-height: 1;
  transition: transform .5s var(--ease);
}
.x-stat__icon::before { content: ""; position: absolute; inset: 0; z-index: -1; clip-path: polygon(50% 0, 100% 100%, 0 100%); background: var(--grad); }
.x-stat__icon i { position: relative; }
.x-stat__icon i::before { margin: 0; font-size: inherit; color: #fff; }
.x-stat:hover .x-stat__icon { transform: translateY(-4px) scale(1.08); }

.x-stat__num { font: 700 clamp(1.5rem, 1.1rem + 1.5vw, 2.5rem)/1 var(--font-head); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--text); }
.x-stat h5 { margin-top: 6px; max-width: 12ch; font: 500 clamp(.75rem, .7rem + .2vw, .875rem)/1.3 var(--font-body); color: var(--muted); }
.x-stat__line { display: block; width: 0; height: 0; margin-top: 12px; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 9px solid var(--orange); transition: transform .4s var(--ease); }
.x-stat:hover .x-stat__line { transform: translateY(3px); }

/* 09 Process steps -------------------------------------------------------- */
.x-process { overflow: hidden; }
.x-process__pattern { position: absolute; inset: 0; z-index: -1; background-repeat: no-repeat; background-position: right top; opacity: .5; pointer-events: none; }
.x-steps { position: relative; display: grid; gap: 20px; grid-template-columns: 1fr; padding-left: 60px; }
.x-steps__track { position: absolute; left: 21px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--border-strong); }
.x-steps__fill { position: absolute; inset: 0; border-radius: inherit; background: var(--grad); transform-origin: top; }
.x-step { position: relative; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: border-color .5s, box-shadow .5s, transform .5s var(--ease); }
.x-step__dot { position: absolute; left: -48px; top: 32px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 3px solid var(--border-strong); transition: background .4s, border-color .4s, box-shadow .4s; }
.x-step__arrow { display: none; }
.x-step__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.x-step h6 { font: 600 .75rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.x-step__num { font-size: clamp(1.875rem, 1.6rem + 1vw, 2.375rem); font-weight: 700; letter-spacing: -.02em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; transition: filter .5s; }
.x-step__icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 18px 0; border-radius: 18px; background: color-mix(in srgb, var(--green) 12%, transparent); transition: transform .5s var(--ease); }
.x-step__icon img { width: 36px; height: 36px; object-fit: contain; }
.x-step h5 { font-size: var(--fs-h4); margin-bottom: 8px; }
.x-step p { color: var(--muted); font-size: .9375rem; }
.x-step.is-active, .x-steps:not(.js-steps) .x-step { border-color: color-mix(in srgb, var(--green) 45%, transparent); box-shadow: var(--shadow-md); }
.x-step.is-active .x-step__dot, .x-steps:not(.js-steps) .x-step__dot { background: var(--green); border-color: color-mix(in srgb, var(--green) 35%, var(--bg)); box-shadow: 0 0 0 6px color-mix(in srgb, var(--green) 18%, transparent); }
.x-steps.js-steps .x-step:not(.is-active) .x-step__num { filter: grayscale(1) opacity(.45); }
.x-step.is-active .x-step__icon { transform: scale(1.06) rotate(-4deg); }
@media (min-width: 768px) {
  .x-steps { grid-template-columns: repeat(2, 1fr); padding-left: 0; }
  .x-steps__track, .x-step__dot { display: none; }
}
@media (min-width: 1200px) {
  .x-steps { grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 44px; }
  .x-steps__track { display: block; left: 38px; right: auto; top: 8px; bottom: auto; width: calc(75% + 18px); height: 3px; }
  .x-steps__fill { transform-origin: left; }
  .x-step__dot { display: block; left: 28px; top: -44px; }
  .x-step__arrow { display: block; position: absolute; right: 22px; top: 30px; width: 48px; height: 18px; background-repeat: no-repeat; background-size: contain; background-position: right center; opacity: .5; }
  .x-step__top { padding-right: 60px; }
}

/* 10 Projects ------------------------------------------------------------- */
.x-projects { display: grid; gap: clamp(16px, 1.5vw, 24px); grid-template-columns: 1fr; }
@media (min-width: 768px) { .x-projects { grid-template-columns: repeat(2, 1fr); } .x-projects > :nth-child(4) { grid-column: span 2; } }
@media (min-width: 1024px) {
  .x-projects { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, clamp(260px, 22vw, 340px)); }
  .x-projects > :nth-child(3) { grid-column: 3; grid-row: 1 / span 2; }
  .x-projects > :nth-child(4) { grid-column: 1 / span 2; grid-row: 2; }
}
.x-project { position: relative; isolation: isolate; overflow: hidden; min-height: 300px; border-radius: var(--radius); color: #fff; background: var(--ink); }
.x-project__img { position: absolute; inset: 0; z-index: -2; }
.x-project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.x-project:hover .x-project__img img { transform: scale(1.08); }
.x-project::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11, 15, 20, .88) 0%, rgba(11, 15, 20, .1) 55%, transparent 100%); }
.x-project__label { position: absolute; top: 20px; left: 20px; }
.x-project__label h6 { font: inherit; }
.x-project__zoom { position: absolute; top: 16px; right: 16px; }
.x-project__zoom a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transform: scale(.85); opacity: .85; transition: transform .4s var(--ease), opacity .4s, background .3s; }
.x-project:hover .x-project__zoom a { transform: scale(1); opacity: 1; }
.x-project__zoom a:hover { background: var(--green); }
.x-project__body { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 24px; }
.x-project__body h6 { font: 600 .8125rem/1 var(--font-body); letter-spacing: .08em; color: #9be07f; margin-bottom: 8px; }
.x-project__body h5 { font-size: var(--fs-h4); line-height: 1.3; max-width: 22ch; }
.x-project__go a { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--ink); transition: transform .4s var(--ease), background .3s; }
.x-project:hover .x-project__go a { transform: rotate(-45deg); background: var(--orange); color: #fff; }

/* 11 Skills --------------------------------------------------------------- */
.x-skills { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: #fff; padding-bottom: 0; }
.x-skills .bg-layer div { position: absolute; z-index: -1; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.x-skills .bg-1 { width: 480px; height: 480px; left: -160px; top: -120px; background: rgba(86, 177, 61, .3); }
.x-skills .bg-2 { width: 420px; height: 420px; right: -120px; bottom: -160px; background: rgba(0, 132, 236, .3); }
.x-skills .bg-3 { width: 260px; height: 260px; right: 30%; top: 20%; background: rgba(241, 109, 43, .16); }
.x-skills__pattern { position: absolute; inset: 0; z-index: -1; opacity: .06; background-repeat: no-repeat; background-position: left bottom; pointer-events: none; }
.x-skills__grid { display: grid; gap: 40px; }
@media (min-width: 992px) { .x-skills__grid { grid-template-columns: 5fr 6fr; align-items: end; } }
.x-skills__visual { position: relative; order: 2; max-width: 420px; margin-inline: auto; width: 100%; }
@media (min-width: 992px) { .x-skills__visual { order: 0; max-width: 520px; } }
.x-skills__visual .image-1 { position: absolute; left: 0; top: 4%; width: 32%; opacity: .7; animation: x-float 7s ease-in-out infinite; }
.x-skills__visual .image-2 img { width: 100%; }
/* engineer image entrance */
.x-skills__glow { position: absolute; left: 50%; bottom: 8%; width: 86%; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%) scale(.4); opacity: 0;
  background: radial-gradient(circle at 50% 45%, rgba(86, 177, 61, .55), rgba(0, 132, 236, .3) 55%, transparent 72%); filter: blur(6px);
  transition: transform 1.4s var(--ease), opacity 1.2s ease; }
.x-skills__glow::after { content: ""; position: absolute; inset: 6%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .25); animation: x-spin 40s linear infinite; }
.x-skills__visual .image-2 { position: relative; }
.x-skills__visual .image-2 img { transform: translateY(18%) scale(.94); opacity: 0; transition: transform 1.3s var(--ease) .15s, opacity 1s ease .15s; }
.x-skills__visual .image-1 { opacity: 0; translate: -60px 0; transition: opacity 1s ease .5s, translate 1.2s var(--ease) .5s; }
.x-skills__visual.is-in .x-skills__glow { transform: translateX(-50%) scale(1); opacity: 1; }
.x-skills__visual.is-in .image-2 img { transform: none; opacity: 1; }
.x-skills__visual.is-in .image-1 { opacity: .7; translate: 0 0; }
html:not(.js) .x-skills__visual .image-2 img, html:not(.js) .x-skills__visual .image-1, html:not(.js) .x-skills__glow { opacity: 1; transform: none; translate: none; }
.x-skills__content { padding-bottom: var(--sec-pad); }
@media (max-width: 991px) { .x-skills__content { padding-bottom: 0; } }
.x-skills__content > p { margin-top: 18px; color: rgba(255, 255, 255, .75); font-size: var(--fs-lead); line-height: 1.75; }
.x-bars { margin-top: 36px; display: grid; gap: 26px; }
.x-bar__row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.x-bar__row h6 { font: 600 1rem/1 var(--font-body); }
.x-bar__row .count-text { font: 700 1rem/1 var(--font-head); color: #9be07f; font-variant-numeric: tabular-nums; }
.x-bar { height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.x-bar__fill { --p: 1; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--blue)); transform: scaleX(var(--p)); transform-origin: left; transition: transform 1.8s var(--ease); position: relative; }
html.js .x-bar__fill { transform: scaleX(0); }
html.js .x-bar__fill.is-in { transform: scaleX(var(--p)); }
.x-bar__fill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); transform: translateX(-100%); animation: x-sweep 2.8s ease-in-out 1.8s infinite; }
.x-light .x-h2, .x-light h2 { color: #fff; }

/* 12 Testimonials --------------------------------------------------------- */
.x-testi { position: relative; isolation: isolate; overflow: hidden; color: #fff; background-color: var(--ink); background-size: cover; background-position: center; }
.x-testi::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px 420px at 10% 0%, rgba(86, 177, 61, .28), transparent 70%),
    radial-gradient(700px 420px at 95% 100%, rgba(0, 132, 236, .26), transparent 70%),
    linear-gradient(180deg, rgba(11, 15, 20, .92), rgba(11, 15, 20, .88));
}
.x-testi__slider { display: grid; gap: 24px; align-items: stretch; }
.x-testi .owl-carousel.owl-loaded { display: block; }
.x-testi .owl-stage { display: flex; }
.x-testi .owl-item { display: flex; }
.x-testi .owl-nav { display: none !important; }

.x-quote {
  position: relative; display: flex; flex-direction: column; gap: 22px; width: 100%;
  padding: clamp(26px, 1.4rem + 1vw, 40px); border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: border-color .4s, background .4s, box-shadow .4s;
}
.x-quote:hover { border-color: rgba(86, 177, 61, .55); box-shadow: 0 30px 60px -30px rgba(86, 177, 61, .45); }
.x-quote__top { display: flex; align-items: center; justify-content: space-between; }
.x-quote .quote { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--grad); box-shadow: 0 12px 28px -12px rgba(86, 177, 61, .8); }
.x-quote__top img, .owl-carousel .owl-item .x-quote__top img { width: 26px !important; height: auto; filter: brightness(0) invert(1); }
.x-quote .rating { display: flex; gap: 4px; color: #ffb547; font-size: .9375rem; }
.x-quote__text { flex: 1; }
.x-quote__text p { font-size: var(--fs-lead); line-height: 1.75; color: rgba(255, 255, 255, .88); }
.x-quote__author { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); }
.x-quote__avatar { display: grid; place-items: center; flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--grad); font: 700 1.25rem/1 var(--font-head); box-shadow: 0 0 0 4px rgba(255, 255, 255, .08); }
.x-quote__author h5 { font-size: 1rem; letter-spacing: -.01em; }
.x-quote__author .designation { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; color: rgba(255, 255, 255, .6); font-size: .875rem; }
.x-quote__author .designation::before { content: "\f3c5"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: .75rem; color: #7fd462; }

.x-testi .owl-dots { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.x-testi .owl-dots.disabled { display: flex !important; }
.x-testi .owl-dot { padding: 10px 0; border: 0; background: none; cursor: pointer; }
.x-testi .owl-dot span { display: block; width: 10px; height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .3); transition: width .4s var(--ease), background .4s; }
.x-testi .owl-dot.active span { width: 32px; background: var(--green); }

/* 13 Clients marquee ------------------------------------------------------ */
.x-clients { padding-block: clamp(48px, 2.5rem + 2vw, 88px); border-bottom: 1px solid var(--border); }
.x-clients__title { margin-bottom: clamp(24px, 3vw, 40px); text-align: center; font: 700 .8125rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.x-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.x-marquee__track { display: flex; width: max-content; animation: x-marquee 32s linear infinite; }
.x-marquee:hover .x-marquee__track, .x-marquee:focus-within .x-marquee__track { animation-play-state: paused; }
.x-client { flex-shrink: 0; margin-right: clamp(14px, 1.6vw, 24px); }
.x-client a {
  display: grid; place-items: center; width: clamp(200px, 14vw + 90px, 280px); height: clamp(120px, 6vw + 80px, 160px);
  padding: 4px; border-radius: 24px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: box-shadow .4s, transform .4s var(--ease), border-color .4s;
}
.x-client img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) brightness(.5) contrast(1.2); opacity: .85; transition: filter .4s, opacity .4s, transform .5s var(--ease); }
.x-client a:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: color-mix(in srgb, var(--green) 40%, transparent); }
.x-client a:hover img { filter: none; opacity: 1; transform: scale(1.06); }

/* 14 CTA Contact Section -------------------------------------------------- */
.x-cta-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(40px, 3rem + 3.5vw, 72px) clamp(20px, 1.5rem + 3vw, 56px);
  border-radius: clamp(24px, 3vw, 36px);
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .15) inset;
}
.x-cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(23, 76, 14, .95) 0%, rgba(0, 68, 130, .94) 100%);
}
.x-cta-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 550px;
  height: 550px;
  right: -150px;
  top: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 65%);
  pointer-events: none;
}
.x-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font: 600 .8125rem/1 var(--font-body);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
}
.x-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #7fd462;
  box-shadow: 0 0 0 0 rgba(127, 212, 98, .7);
  animation: x-pulse-glow 2s infinite;
}
@keyframes x-pulse-glow {
  0% { transform: scale(.95); box-shadow: 0 0 0 0 rgba(127, 212, 98, .7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(127, 212, 98, 0); }
  100% { transform: scale(.95); box-shadow: 0 0 0 0 rgba(127, 212, 98, 0); }
}
.x-cta-title {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.2;
  max-width: 26ch;
  margin-inline: auto;
  text-wrap: balance;
}
.x-cta-lead {
  margin: 16px auto 0;
  max-width: 58ch;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: rgba(255, 255, 255, .9);
}
.x-cta-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}
.x-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .22);
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: .875rem;
  font-weight: 500;
  color: #eef6fc;
}
.x-cta-pill i {
  color: #9be07f;
}
.x-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}
.x-btn--cta-primary {
  background: var(--grad-btn);
  color: #fff;
  min-height: 52px;
  padding: 0 28px;
  font-size: .95rem;
  box-shadow: 0 14px 35px -10px rgba(241, 109, 43, .8);
}
.x-btn--cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px -10px rgba(241, 109, 43, .9);
  color: #fff;
}
.x-btn--cta-light {
  background: #fff;
  color: var(--ink);
  min-height: 52px;
  padding: 0 26px;
  font-size: .95rem;
  box-shadow: 0 14px 35px -10px rgba(0, 0, 0, .35);
}
.x-btn--cta-light:hover {
  background: #f1f5f9;
  color: var(--ink);
  transform: translateY(-2px);
}
.x-cta-actions .x-btn--wa {
  min-height: 52px;
  padding: 0 26px;
  font-size: .95rem;
}

/* 15 Footer --------------------------------------------------------------- */
.x-footer { position: relative; background: var(--ink); color: #a9b4bf; padding-top: clamp(64px, 3rem + 4vw, 104px); }
.x-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--green), var(--blue), var(--orange)); }
.x-footer__grid { display: grid; gap: 40px; text-align: center; }
@media (min-width: 640px) { .x-footer__grid { grid-template-columns: 1fr 1fr; text-align: left; } }
@media (min-width: 1024px) { .x-footer__grid { grid-template-columns: 1.3fr .8fr .8fr 1.4fr; gap: 48px; } }
.x-footer .x-logo { margin-bottom: 20px; padding: 8px 14px; background: #fff; border-radius: 14px; }
.x-footer .x-logo img { height: 64px; }
.x-footer__about p { font-size: .9375rem; line-height: 1.75; }
.x-footer h5 { margin-bottom: 18px; color: #fff; font-size: 1rem; text-transform: capitalize; }
.x-footer__links li { padding: 6px 0; }
.x-footer__links a { display: inline-flex; align-items: center; text-transform: capitalize; transition: color .3s, transform .3s var(--ease); }
.x-footer__links a::before { content: ""; width: 0; height: 2px; border-radius: 2px; background: var(--green); transition: width .3s var(--ease), margin .3s var(--ease); }
.x-footer__links a:hover { color: #fff; }
.x-footer__links a:hover::before { width: 12px; margin-right: 8px; }
.x-contact-row { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; text-align: left; }
.x-contact-row__icon { flex: 0 0 44px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(86, 177, 61, .14); color: #7fd462; }
.x-contact-row .post-date { display: block; margin-bottom: 4px; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: #8794a1; }
.x-contact-row h6 { font: 500 .9375rem/1.55 var(--font-body); color: #e2e8ee; }
.x-contact-row a:hover { color: #9be07f; }
@media (max-width: 639px) { .x-contact-col { display: flex; flex-direction: column; align-items: center; } .x-contact-row { width: 100%; max-width: 340px; } }
.x-footer__bottom { margin-top: clamp(48px, 5vw, 72px); padding-block: 24px calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .08); font-size: .875rem; }
.x-footer__bottom .x-container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.x-footer__bottom a { color: #fff; font-weight: 600; }
.x-footer__bottom a:hover { color: #9be07f; }
@media (max-width: 767px) { .x-footer__bottom .x-container { justify-content: center; text-align: center; } .x-footer__bottom { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* 16 Floating UI, cursor, motion prefs ------------------------------------ */
.x-progress { position: fixed; left: 0; top: 0; z-index: 900; width: 100%; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.x-fab { position: fixed; z-index: 90; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; }
.x-fab a { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: #fff; font-size: 1.5rem; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .35); transition: transform .35s var(--ease); }
.x-fab a:hover { transform: scale(1.08); }
.x-fab__wa { background: #1faa52; }
.x-fab__call { background: var(--blue-700); font-size: 1.2rem !important; }
.x-fab a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; z-index: -1; animation: x-pulse 2.4s ease-out infinite; }
.x-fab__call::before { animation-delay: 1.2s !important; }
@media (max-width: 767px) { .x-fab { flex-direction: row; } .x-fab a { width: 52px; height: 52px; } }
.x-totop { position: fixed; z-index: 90; left: max(16px, env(safe-area-inset-left)); bottom: calc(26px + env(safe-area-inset-bottom)); width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--surface); color: var(--text); box-shadow: var(--shadow-md); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .4s, visibility .4s, transform .4s var(--ease); }
.x-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.x-totop { display: grid; place-items: center; width: 56px; height: 56px; }
.x-totop:hover .x-batt { transform: translateY(-3px); }
.x-batt { --p: 0; --c: #ef4444; position: relative; display: block; width: 20px; height: 32px; border: 2px solid var(--text); border-radius: 5px; padding: 2px; transition: transform .35s var(--ease); }
.x-batt::before { content: ""; position: absolute; left: 50%; top: -6px; width: 8px; height: 4px; margin-left: -4px; border-radius: 2px 2px 0 0; background: var(--text); }
.x-batt__fill { position: absolute; left: 2px; right: 2px; bottom: 2px; height: calc((100% - 4px) * var(--p)); border-radius: 2px; background: var(--c); transition: height .2s linear, background .4s; }
.x-batt[data-level="mid"] { --c: #f59e0b; }
.x-batt[data-level="high"] { --c: var(--green); }
.x-batt i { position: absolute; inset: 0; display: grid; place-items: center; font-size: .6rem; color: var(--text); opacity: .55; transition: color .3s, opacity .3s; }
.x-totop.is-full .x-batt i { color: #fff; opacity: 1; filter: drop-shadow(0 0 4px #fff); }
.x-totop.is-full .x-batt { box-shadow: 0 0 14px rgba(86, 177, 61, .7); }
.x-totop__pct { position: absolute; left: 50%; bottom: -20px; transform: translateX(-50%); font: 700 .625rem/1 var(--font-body); color: var(--muted); font-variant-numeric: tabular-nums; }


.x-cursor, .x-cursor-ring { position: fixed; left: 0; top: 0; z-index: 3000; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .3s, width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s; }
.x-cursor { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--green); }
.x-cursor-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid color-mix(in srgb, var(--green) 70%, transparent); }
html.has-cursor .x-cursor, html.has-cursor .x-cursor-ring { opacity: 1; }
html.has-cursor .x-cursor-ring.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: color-mix(in srgb, var(--green) 12%, transparent); }
html.cursor-out .x-cursor, html.cursor-out .x-cursor-ring { opacity: 0; }

/* Keyframes */
@keyframes x-page-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes x-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes x-fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes x-word-up { from { transform: translateY(110%); } to { transform: none; } }
@keyframes x-kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes x-charge { to { transform: scaleX(1); } }
@keyframes x-progress { to { transform: scaleX(1); } }
@keyframes x-ripple { to { transform: scale(1); opacity: 0; } }
@keyframes x-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes x-blob { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(8vw, 6vh) scale(1.15); } 100% { transform: translate(-4vw, 10vh) scale(.95); } }
@keyframes x-bounce { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-8px) rotate(-6deg); } 70% { transform: translateY(2px); } }
@keyframes x-marquee { to { transform: translateX(-50%); } }
@keyframes x-spin { to { transform: rotate(360deg); } }
@keyframes x-pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes x-sweep { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

@media (max-width: 767px) {
  .x-about__badge, .x-skills__visual .image-1 { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .x-marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; row-gap: 16px; }
  .x-marquee { -webkit-mask-image: none; mask-image: none; }
  .x-marquee__track [aria-hidden="true"] { display: none; }
  .x-fab a::before { display: none; }
  .x-hslide, .x-hero__img { transition: none; transform: none; }
}

/* Hero entrance waits for the preloader */
html.js:not(.is-loaded) .x-hero * { animation-play-state: paused !important; }

/* Typography: very small phones */
@media (max-width: 374px) {
  :root { --fs-hero: 1.875rem; --fs-h2: 1.375rem; }
  .x-hero__title br { display: none; }
}
