/* =========================================================================
   Planex Web — Glass design system
   Layered on top of Bootstrap 5.3 (grid + utilities + offcanvas/dropdown JS)
   ========================================================================= */

/* ----------------------------------------------------------------- tokens */
:root {
  /* surface */
  --ink-900: #04060d;
  --ink-800: #070b16;
  --ink-700: #0b1120;
  --ink-600: #111a2e;

  /* brand — sampled from the Planex Web mark */
  --brand:        #2e7cd6;
  --brand-light:  #63aaf5;
  --brand-dark:   #1a4f96;
  --accent:       #ff7a18;
  --accent-light: #ffa75c;
  --violet:       #6d49e0;

  /* glass */
  --glass:        rgba(255, 255, 255, 0.055);
  --glass-strong: rgba(255, 255, 255, 0.085);
  --glass-line:   rgba(255, 255, 255, 0.115);
  --glass-line-2: rgba(255, 255, 255, 0.22);
  --blur:         22px;

  /* type */
  --fg:        #f3f6fc;
  --fg-muted:  rgba(226, 234, 248, 0.68);
  --fg-dim:    rgba(226, 234, 248, 0.46);

  --font-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif:   'Instrument Serif', Georgia, serif;

  /* shape + motion */
  --r-sm: 14px;
  --r:    20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --shadow:    0 24px 60px -28px rgba(0, 0, 0, .75);
  --shadow-lg: 0 44px 110px -40px rgba(0, 0, 0, .85);

  --nav-h: 82px;

  /* Bootstrap overrides */
  --bs-body-bg: var(--ink-900);
  --bs-body-color: var(--fg-muted);
  --bs-body-font-family: var(--font-body);
  --bs-link-color: var(--brand-light);
  --bs-link-hover-color: #fff;
  --bs-border-radius: var(--r);
}

/* ------------------------------------------------------------------- base */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  -webkit-text-size-adjust: 100%;
  /* the off-canvas drawer is position:fixed, so body's overflow can't clip it */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--ink-900);
  color: var(--fg-muted);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.72;
  font-weight: 350;
  letter-spacing: .005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open { overflow: hidden; }

img, svg { max-width: 100%; }
img { height: auto; }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand-light);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 2000;
  padding: .7rem 1.2rem; border-radius: 999px;
  background: var(--brand); color: #fff; font-weight: 600;
  transform: translateY(-160%); transition: transform .25s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ------------------------------------------------- atmosphere (aurora/grain) */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(900px 620px at 12% -8%,  rgba(46, 124, 214, .34), transparent 62%),
    radial-gradient(760px 560px at 92% 4%,   rgba(255, 122, 24, .20),  transparent 60%),
    radial-gradient(1000px 760px at 70% 58%, rgba(109, 73, 224, .22),  transparent 64%),
    radial-gradient(820px 620px at 10% 92%,  rgba(46, 124, 214, .18),  transparent 62%),
    linear-gradient(180deg, var(--ink-900), var(--ink-800) 44%, var(--ink-900));
}

/* slow-drifting colour orbs */
.atmosphere::before,
.atmosphere::after {
  content: '';
  position: absolute;
  width: 46vw; height: 46vw;
  min-width: 380px; min-height: 380px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
}
.atmosphere::before {
  top: -10%; left: -8%;
  background: radial-gradient(circle, rgba(46,124,214,.55), transparent 68%);
  animation: drift-a 26s ease-in-out infinite alternate;
}
.atmosphere::after {
  bottom: -14%; right: -10%;
  background: radial-gradient(circle, rgba(255,122,24,.38), transparent 68%);
  animation: drift-b 32s ease-in-out infinite alternate;
}

@keyframes drift-a {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(14vw, 10vh, 0) scale(1.18); }
}
@keyframes drift-b {
  0%   { transform: translate3d(0, 0, 0) scale(1.1); }
  100% { transform: translate3d(-12vw, -8vh, 0) scale(.92); }
}

/* fine film grain — keeps big gradients from banding */
.grain {
  position: fixed;
  inset: -200%;
  z-index: -1;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 7s steps(6) infinite;
}
@keyframes grain-shift {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 1%); }
}

/* --------------------------------------------------------------- typography */
h1, h2, h3, h4, h5, h6, .display {
  font-family: var(--font-display);
  color: var(--fg);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.028em;
  margin: 0 0 .6em;
}

h1, .h1 { font-size: clamp(2.3rem, 4.6vw, 3.75rem); font-weight: 300; }
h2, .h2 { font-size: clamp(2rem, 4.1vw, 3.1rem);  font-weight: 300; }
h3, .h3 { font-size: clamp(1.4rem, 2.3vw, 1.85rem); }
h4, .h4 { font-size: 1.3rem; }
h5, .h5 { font-size: 1.12rem; letter-spacing: -.015em; }

p { margin: 0 0 1.15rem; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }

/* serif-italic accent word inside headings */
.hl {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  background: linear-gradient(104deg, var(--brand-light) 0%, #fff 42%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .06em;
}

.lede {
  font-size: clamp(1.04rem, 1.5vw, 1.2rem);
  line-height: 1.75;
  color: var(--fg-muted);
  font-weight: 300;
}

.text-dim { color: var(--fg-dim); }

/* eyebrow pill */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .42rem 1rem .42rem .55rem;
  border-radius: 999px;
  border: 1px solid var(--glass-line);
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
}
.eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 122, 24, .18);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255,122,24,.2); }
  50%      { box-shadow: 0 0 0 7px rgba(255,122,24,0); }
}

/* ------------------------------------------------------------------ layout */
.container { max-width: 1200px; padding-inline: 24px; }

.section { position: relative; padding: clamp(72px, 10vw, 130px) 0; }
.section-tight { padding: clamp(54px, 7vw, 84px) 0; }

.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 68px); }
.section-head.center { margin-inline: auto; text-align: center; }

/* hairline divider with a glow at its centre */
.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--glass-line-2), transparent);
}

/* ------------------------------------------------------------ glass surface */
.glass {
  position: relative;
  background: linear-gradient(152deg, rgba(255,255,255,.085), rgba(255,255,255,.028) 54%, rgba(255,255,255,.05));
  backdrop-filter: blur(var(--blur)) saturate(165%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(165%);
  border: 1px solid var(--glass-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.17);
  overflow: hidden;
  isolation: isolate;
}

/* specular sweep across the top edge */
.glass::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55) 32%, rgba(255,255,255,.75) 50%, rgba(255,255,255,.55) 68%, transparent);
  opacity: .5;
}

/* soft brand bloom that reveals on hover */
.glass-hover {
  transition: transform .5s var(--ease), border-color .4s var(--ease), box-shadow .5s var(--ease), background .5s var(--ease);
}
.glass-hover::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(99, 170, 245, .16), transparent 62%);
  opacity: 0;
  transition: opacity .45s var(--ease);
  pointer-events: none;
  z-index: -1;
}
.glass-hover:hover {
  transform: translateY(-6px);
  border-color: var(--glass-line-2);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.3);
}
.glass-hover:hover::after { opacity: 1; }

/* ----------------------------------------------------------------- buttons */
.btn-px {
  --btn-bg: linear-gradient(130deg, var(--brand) 0%, var(--brand-dark) 100%);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .62rem;
  padding: .95rem 1.75rem;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .005em;
  color: #fff;
  background: var(--btn-bg);
  box-shadow: 0 16px 34px -16px rgba(46, 124, 214, .85), inset 0 1px 0 rgba(255,255,255,.3);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), filter .3s var(--ease);
}
.btn-px .icon { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn-px:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 24px 46px -18px rgba(46,124,214,.95), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-px:hover .icon { transform: translateX(4px); }
.btn-px:active { transform: translateY(-1px); }

/* travelling sheen */
.btn-px::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 18%, rgba(255,255,255,.4) 48%, transparent 78%);
  transform: translateX(-130%);
  transition: transform .85s var(--ease);
  z-index: -1;
}
.btn-px:hover::after { transform: translateX(130%); }

.btn-px.accent {
  --btn-bg: linear-gradient(130deg, var(--accent) 0%, #e0590a 100%);
  box-shadow: 0 16px 34px -16px rgba(255, 122, 24, .8), inset 0 1px 0 rgba(255,255,255,.34);
}
.btn-px.accent:hover { box-shadow: 0 24px 46px -18px rgba(255,122,24,.95), inset 0 1px 0 rgba(255,255,255,.44); }

.btn-px.ghost {
  --btn-bg: var(--glass);
  color: var(--fg);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
}
.btn-px.ghost:hover {
  background: var(--glass-strong);
  border-color: var(--glass-line-2);
  box-shadow: 0 18px 38px -22px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.28);
}

.btn-px.sm { padding: .72rem 1.3rem; font-size: .875rem; }

/* text link with animated underline */
.link-anim {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--brand-light);
  font-weight: 550;
  position: relative;
}
.link-anim .icon { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.link-anim::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.link-anim:hover { color: #fff; }
.link-anim:hover::after { transform: scaleX(1); transform-origin: left; }
.link-anim:hover .icon { transform: translateX(4px); }

/* ------------------------------------------------------------------ navbar */
.px-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1030;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: height .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.px-nav.scrolled {
  height: 68px;
  background: rgba(7, 11, 22, .62);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  border-bottom-color: var(--glass-line);
  box-shadow: 0 18px 44px -30px rgba(0,0,0,.9);
}
.px-nav .container { display: flex; align-items: center; gap: 1.5rem; }

.px-brand { display: flex; align-items: center; flex-shrink: 0; }
.px-brand img {
  width: 178px;
  transition: width .4s var(--ease), filter .4s var(--ease);
  filter: drop-shadow(0 4px 14px rgba(46,124,214,.3));
}
.px-nav.scrolled .px-brand img { width: 152px; }

.px-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin: 0 auto 0 0;
  padding: 0 0 0 1.5rem;
  list-style: none;
}
.px-menu > li { position: relative; }

.px-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .62rem 1.05rem;
  border: 0;
  border-radius: 999px;
  background: transparent;   /* <button> needs this reset */
  font-family: var(--font-body);
  font-size: .925rem;
  font-weight: 500;
  line-height: inherit;
  color: var(--fg-muted);
  white-space: nowrap;
  cursor: pointer;
  transition: color .3s var(--ease), background .3s var(--ease);
}
.px-link:hover, .px-link[aria-expanded="true"] { color: var(--fg); background: var(--glass); }
.px-link.active { color: var(--fg); }
.px-link.active::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 2px;
  width: 18px; height: 2px;
  margin-left: -9px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-light), var(--accent));
}
.px-link .caret { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.px-link[aria-expanded="true"] .caret { transform: rotate(180deg); }

/* desktop dropdown */
.px-drop {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  width: 332px;
  padding: .55rem;
  border-radius: var(--r);
  background: rgba(11, 17, 32, .9);
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.14);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px) scale(.97);
  transform-origin: top center;
  transition: opacity .3s var(--ease), transform .35s var(--ease), visibility .3s;
}
.px-menu li:hover > .px-drop,
.px-drop.open { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }

.px-drop a {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  padding: .8rem .85rem;
  border-radius: var(--r-sm);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.px-drop a:hover { background: var(--glass-strong); transform: translateX(3px); }
.px-drop .ic {
  flex: 0 0 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(140deg, rgba(46,124,214,.3), rgba(255,122,24,.16));
  border: 1px solid var(--glass-line);
  color: var(--brand-light);
}
.px-drop .ic .icon { width: 19px; height: 19px; }
.px-drop strong { display: block; color: var(--fg); font-size: .92rem; font-weight: 550; line-height: 1.35; }
.px-drop span { font-size: .79rem; color: var(--fg-dim); line-height: 1.5; }

.px-nav-cta { flex-shrink: 0; }

/* burger */
.px-burger {
  display: none;
  width: 46px; height: 46px;
  border-radius: 13px;
  border: 1px solid var(--glass-line);
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.px-burger span {
  position: absolute;
  left: 13px;
  width: 20px; height: 1.6px;
  border-radius: 2px;
  background: var(--fg);
  transition: transform .4s var(--ease), opacity .25s var(--ease), width .4s var(--ease);
}
.px-burger span:nth-child(1) { top: 17px; }
.px-burger span:nth-child(2) { top: 22.2px; width: 14px; }
.px-burger span:nth-child(3) { top: 27.4px; }
.px-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.2px) rotate(45deg); }
.px-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; width: 0; }
.px-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.2px) rotate(-45deg); }

/* mobile drawer */
.px-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(400px, 88vw);
  z-index: 1029;
  padding: calc(var(--nav-h) + 18px) 26px 36px;
  background: rgba(7, 11, 22, .9);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border-left: 1px solid var(--glass-line);
  transform: translateX(100%);
  transition: transform .5s var(--ease);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.px-drawer.open { transform: translateX(0); }

.px-scrim {
  position: fixed;
  inset: 0;
  z-index: 1028;
  background: rgba(2, 4, 10, .65);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.px-scrim.open { opacity: 1; visibility: visible; }

.px-drawer ul { list-style: none; margin: 0; padding: 0; }
.px-drawer > ul > li { border-bottom: 1px solid rgba(255,255,255,.07); }
.px-drawer > ul > li > a,
.px-drawer .sub-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.05rem .25rem;
  background: none;
  border: 0;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 400;
  color: var(--fg);
  text-align: left;
  cursor: pointer;
  letter-spacing: -.02em;
}
.px-drawer .sub-toggle .caret { width: 17px; height: 17px; color: var(--fg-dim); transition: transform .35s var(--ease); }
.px-drawer .sub-toggle[aria-expanded="true"] .caret { transform: rotate(180deg); color: var(--brand-light); }
.px-drawer .sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease);
}
.px-drawer .sub.open { grid-template-rows: 1fr; }
.px-drawer .sub > div { overflow: hidden; }
.px-drawer .sub a {
  display: block;
  padding: .66rem .25rem .66rem 1.1rem;
  font-size: .95rem;
  color: var(--fg-muted);
  border-left: 1px solid var(--glass-line);
  margin-left: .25rem;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.px-drawer .sub a:hover { color: var(--brand-light); border-color: var(--brand-light); }
.px-drawer .drawer-foot { margin-top: 2rem; display: grid; gap: .8rem; }
.px-drawer .drawer-foot .btn-px { justify-content: center; }

/* staggered drawer item entrance */
.px-drawer.open > ul > li,
.px-drawer.open .drawer-foot {
  animation: drawer-in .5s var(--ease-out) backwards;
}
.px-drawer.open > ul > li:nth-child(1) { animation-delay: .08s; }
.px-drawer.open > ul > li:nth-child(2) { animation-delay: .14s; }
.px-drawer.open > ul > li:nth-child(3) { animation-delay: .2s; }
.px-drawer.open > ul > li:nth-child(4) { animation-delay: .26s; }
.px-drawer.open > ul > li:nth-child(5) { animation-delay: .32s; }
.px-drawer.open .drawer-foot { animation-delay: .38s; }
@keyframes drawer-in {
  from { opacity: 0; transform: translateX(26px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* -------------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 clamp(64px, 8vw, 104px);
}
.hero-inner { position: relative; z-index: 2; }

.hero h1 { margin-bottom: 1.4rem; }
.hero .lede { max-width: 540px; margin-bottom: 2.3rem; }

.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 3.2rem; }

/* page-load choreography */
.hero-anim > * { animation: hero-rise .95s var(--ease-out) backwards; }
.hero-anim > *:nth-child(1) { animation-delay: .12s; }
.hero-anim > *:nth-child(2) { animation-delay: .22s; }
.hero-anim > *:nth-child(3) { animation-delay: .32s; }
.hero-anim > *:nth-child(4) { animation-delay: .42s; }
.hero-anim > *:nth-child(5) { animation-delay: .52s; }
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(26px); filter: blur(8px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* stat strip */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 0;
  border-radius: var(--r);
  max-width: 520px;
  background: var(--glass-line);
}
.stat-strip .stat {
  padding: 1.25rem 1.3rem;
  background: rgba(10, 16, 30, .55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.stat-strip .stat:first-child { border-radius: var(--r) 0 0 var(--r); }
.stat-strip .stat:last-child  { border-radius: 0 var(--r) var(--r) 0; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 300;
  line-height: 1;
  color: var(--fg);
  letter-spacing: -.04em;
  margin-bottom: .4rem;
}
.stat-num .suffix { color: var(--accent); }
.stat-label { font-size: .71rem; text-transform: uppercase; letter-spacing: .11em; color: rgba(226,234,248,.56); font-weight: 500; line-height: 1.5; display: block; }

/* hero visual — floating glass cluster */
.hero-visual {
  position: relative;
  min-height: 460px;
  perspective: 1400px;
}
.hero-card {
  position: absolute;
  padding: 1.5rem;
  will-change: transform;
}
.hero-card.main {
  inset: 4% 4% auto 2%;
  padding: 1.85rem;
  border-radius: var(--r-xl);
  animation: float-main 9s ease-in-out infinite;
}
.hero-card.chip-a {
  right: -3%; bottom: 2%;
  width: 236px;
  border-radius: var(--r);
  animation: float-a 7.5s ease-in-out infinite;
}
.hero-card.chip-b {
  left: -5%; bottom: 16%;
  width: 224px;
  border-radius: var(--r);
  animation: float-b 8.5s ease-in-out infinite;
}
@keyframes float-main { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(-.6deg); } }
@keyframes float-a    { 0%,100% { transform: translateY(0); } 50% { transform: translateY(14px); } }
@keyframes float-b    { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hero-card .card-top {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding-bottom: 1.1rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--glass-line);
}
.hero-card .dot { width: 9px; height: 9px; border-radius: 50%; }
.hero-card .dot.r { background: #ff5f57; }
.hero-card .dot.y { background: #febc2e; }
.hero-card .dot.g { background: #28c840; }
.hero-card .card-title { margin-left: auto; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-dim); }

.code-line { display: flex; gap: .55rem; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .735rem; line-height: 2; white-space: nowrap; }
.code-line .num { color: rgba(226,234,248,.22); width: 1.2rem; text-align: right; flex-shrink: 0; }
.tk-key { color: #c792ea; }
.tk-fn  { color: var(--brand-light); }
.tk-str { color: #a5e39c; }
.tk-com { color: rgba(226,234,248,.3); }
.tk-pn  { color: rgba(226,234,248,.55); }

.hero-card .kpi-row { display: flex; align-items: center; gap: .85rem; }
.hero-card .kpi-ic {
  width: 42px; height: 42px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 13px;
  background: linear-gradient(140deg, rgba(46,124,214,.4), rgba(109,73,224,.2));
  border: 1px solid var(--glass-line);
  color: var(--brand-light);
}
.hero-card .kpi-ic .icon { width: 20px; height: 20px; }
.hero-card .kpi-val { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; color: var(--fg); line-height: 1.15; letter-spacing: -.03em; }
.hero-card .kpi-lab { display: block; font-size: .74rem; color: var(--fg-dim); letter-spacing: .06em; line-height: 1.45; }

/* mini bar chart inside hero chip */
.spark { display: flex; align-items: flex-end; gap: 5px; height: 42px; margin-top: 1rem; }
.spark i {
  flex: 1;
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, var(--brand-light), rgba(46,124,214,.25));
  transform-origin: bottom;
  animation: spark-grow 2.4s var(--ease) infinite alternate;
}
.spark i:nth-child(1) { height: 38%; animation-delay: 0s; }
.spark i:nth-child(2) { height: 62%; animation-delay: .15s; }
.spark i:nth-child(3) { height: 46%; animation-delay: .3s; }
.spark i:nth-child(4) { height: 82%; animation-delay: .45s; background: linear-gradient(180deg, var(--accent-light), rgba(255,122,24,.25)); }
.spark i:nth-child(5) { height: 58%; animation-delay: .6s; }
.spark i:nth-child(6) { height: 95%; animation-delay: .75s; background: linear-gradient(180deg, var(--accent), rgba(255,122,24,.2)); }
.spark i:nth-child(7) { height: 70%; animation-delay: .9s; }
@keyframes spark-grow { from { transform: scaleY(.62); } to { transform: scaleY(1); } }

/* orbit ring behind the hero cluster */
.orbit {
  position: absolute;
  top: 50%; left: 50%;
  width: 560px; height: 560px;
  margin: -280px 0 0 -280px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.07);
  pointer-events: none;
}
.orbit::before {
  content: '';
  position: absolute;
  inset: 68px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.06);
}
.orbit i {
  position: absolute;
  top: -5px; left: 50%;
  width: 9px; height: 9px;
  margin-left: -4.5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px 3px rgba(255,122,24,.6);
  transform-origin: 4.5px 285px;
  animation: orbit-spin 16s linear infinite;
}
.orbit i:nth-child(2) {
  background: var(--brand-light);
  box-shadow: 0 0 18px 3px rgba(99,170,245,.6);
  animation-duration: 22s;
  animation-direction: reverse;
}
@keyframes orbit-spin { to { transform: rotate(360deg); } }

/* scroll hint */
.scroll-hint {
  position: absolute;
  left: 50%; bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fg-dim);
  z-index: 3;
}
.scroll-hint .bar {
  width: 1px; height: 46px;
  background: linear-gradient(180deg, transparent, var(--glass-line-2) 40%, transparent);
  position: relative;
  overflow: hidden;
}
.scroll-hint .bar::after {
  content: '';
  position: absolute;
  top: -50%; left: 0;
  width: 100%; height: 50%;
  background: linear-gradient(180deg, transparent, var(--accent));
  animation: scroll-run 2.1s var(--ease) infinite;
}
@keyframes scroll-run { 0% { top: -50%; } 100% { top: 110%; } }

/* ----------------------------------------------------------------- marquee */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 1.35rem 0;
  border-block: 1px solid var(--glass-line);
  background: rgba(255,255,255,.022);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 3.4rem;
  animation: marquee 46s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  font-family: var(--font-display);
  font-size: .97rem;
  font-weight: 300;
  letter-spacing: .02em;
  color: var(--fg-dim);
  white-space: nowrap;
  transition: color .3s var(--ease);
}
.marquee-track span:hover { color: var(--fg); }
.marquee-track span::after {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .55;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------- cards */
.card-grid { display: grid; gap: 22px; }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.feature-card { padding: 2.1rem 1.9rem; height: 100%; }
.feature-card h3, .feature-card h5 { margin-bottom: .75rem; }
.feature-card p { font-size: .95rem; margin: 0; }

.card-ic {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  background: linear-gradient(145deg, rgba(46,124,214,.34), rgba(109,73,224,.16));
  border: 1px solid var(--glass-line);
  color: var(--brand-light);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
  transition: transform .5s var(--ease), background .5s var(--ease), color .4s var(--ease);
}
.card-ic .icon { width: 24px; height: 24px; }
.glass-hover:hover .card-ic {
  transform: translateY(-3px) rotate(-6deg) scale(1.06);
  background: linear-gradient(145deg, rgba(255,122,24,.34), rgba(46,124,214,.2));
  color: var(--accent-light);
}

/* numbered process cards */
.step-card { padding: 2rem 1.8rem; height: 100%; }
.step-n {
  font-family: var(--font-display);
  font-size: 2.9rem;
  font-weight: 200;
  line-height: 1;
  letter-spacing: -.05em;
  background: linear-gradient(160deg, var(--brand-light), rgba(99,170,245,.12));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1.1rem;
  display: block;
}
.step-card:nth-child(even) .step-n { background: linear-gradient(160deg, var(--accent-light), rgba(255,122,24,.12)); -webkit-background-clip: text; background-clip: text; }

/* engagement model cards */
.model-card { padding: 2.2rem 2rem; height: 100%; display: flex; flex-direction: column; }
.model-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: .32rem .85rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(255,122,24,.11);
  border: 1px solid rgba(255,122,24,.26);
  margin-bottom: 1.3rem;
}
.model-card h3 { margin-bottom: .8rem; }
.model-lede { color: var(--fg-muted); font-size: .96rem; margin-bottom: 1.5rem; }
.model-row { padding-top: 1.3rem; border-top: 1px solid var(--glass-line); }
.model-row + .model-row { margin-top: 1.3rem; }
.model-row dt {
  display: flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase; color: var(--brand-light); margin-bottom: .6rem;
}
.model-row dt::before { content: ''; width: 14px; height: 1px; background: currentColor; }
.model-row dd { margin: 0; font-size: .915rem; color: var(--fg-muted); }

/* capability chips */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--glass-line);
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: .87rem;
  color: var(--fg-muted);
  transition: transform .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), background .35s var(--ease);
}
.chip .icon { width: 15px; height: 15px; color: var(--accent); }
.chip:hover {
  transform: translateY(-3px);
  border-color: var(--glass-line-2);
  background: var(--glass-strong);
  color: var(--fg);
}

/* ------------------------------------------------- core technology highlight */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.tech-card {
  --tint: 99, 170, 245;
  position: relative;
  padding: 2rem 1.4rem 1.7rem;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* tinted bloom in each card's own brand colour */
.tech-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(260px circle at 50% 0%, rgba(var(--tint), .22), transparent 68%);
  opacity: .5;
  transition: opacity .5s var(--ease);
  pointer-events: none;
  z-index: -1;
}
.tech-card:hover::after { opacity: 1; }

.tech-badge {
  width: 76px; height: 76px;
  display: grid; place-items: center;
  border-radius: 22px;
  margin-bottom: 1.25rem;
  background: linear-gradient(150deg, rgba(var(--tint), .22), rgba(var(--tint), .05));
  border: 1px solid rgba(var(--tint), .34);
  color: rgb(var(--tint));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 14px 30px -18px rgba(var(--tint), .6);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
}
.tech-card:hover .tech-badge {
  transform: translateY(-5px) scale(1.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.32), 0 22px 44px -16px rgba(var(--tint), .8);
}
.tech-mark { width: 40px; height: 40px; }

/* slow spin on the React/React Native atom */
.tech-card[data-spin] .tech-mark { animation: atom-spin 16s linear infinite; transform-origin: 50% 50%; }
@keyframes atom-spin { to { transform: rotate(360deg); } }

.tech-role {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: rgb(var(--tint));
  margin-bottom: .5rem;
  display: block;
  opacity: .9;
}
.tech-card h3 { font-size: 1.14rem; margin-bottom: .45rem; }
.tech-card p { font-size: .85rem; margin: 0; color: var(--fg-muted); }

@media (max-width: 1199.98px) { .tech-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767.98px)  { .tech-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px)     { .tech-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------- CI/CD pipeline */
.pipeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

/* the rail the stages sit on, with a packet travelling along it */
.pipeline::before {
  content: '';
  position: absolute;
  top: 46px;
  left: 6%;
  right: 6%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(46,124,214,.1), var(--brand) 18%, var(--violet) 52%, var(--accent) 86%, rgba(255,122,24,.1));
  opacity: .42;
  z-index: 0;
}
.pipeline::after {
  content: '';
  position: absolute;
  top: 42px;
  left: 6%;
  width: 70px; height: 10px;
  border-radius: 10px;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  filter: blur(5px);
  opacity: .9;
  z-index: 0;
  animation: packet 4.6s var(--ease) infinite;
}
@keyframes packet {
  0%        { transform: translateX(0);     opacity: 0; }
  12%       { opacity: .95; }
  88%       { opacity: .95; }
  100%      { transform: translateX(calc(88vw - 160px)); opacity: 0; }
}

.stage {
  position: relative;
  z-index: 1;
  padding: 1.7rem 1.35rem;
  text-align: center;
  height: 100%;
}
.stage .stage-ic {
  width: 56px; height: 56px;
  margin: 0 auto 1.1rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(150deg, rgba(46,124,214,.42), rgba(109,73,224,.22));
  border: 1px solid var(--glass-line-2);
  color: var(--brand-light);
  box-shadow: 0 0 0 6px rgba(46,124,214,.07), inset 0 1px 0 rgba(255,255,255,.26);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), color .4s var(--ease);
}
.stage .stage-ic .icon { width: 24px; height: 24px; }
.glass-hover.stage:hover .stage-ic {
  transform: translateY(-4px) scale(1.07);
  color: var(--accent-light);
  box-shadow: 0 0 0 9px rgba(255,122,24,.09), inset 0 1px 0 rgba(255,255,255,.34);
}
.stage .stage-n {
  display: block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--accent);
  margin-bottom: .5rem;
}
.stage h3 { font-size: 1.05rem; margin-bottom: .55rem; }
.stage p { font-size: .86rem; margin: 0; color: var(--fg-muted); }

/* devops tool cards */
.devops-card { padding: 2.1rem 1.9rem; height: 100%; }
.devops-card h3 { margin-bottom: .7rem; }
.devops-card > p { font-size: .95rem; margin-bottom: 1.5rem; }
.tool-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.tool {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .42rem .85rem;
  border-radius: 9px;
  border: 1px solid var(--glass-line);
  background: rgba(255,255,255,.045);
  font-size: .8rem;
  font-weight: 500;
  color: var(--fg-muted);
  transition: transform .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.tool::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand-light);
}
.devops-card:nth-child(2) .tool::before { background: var(--accent); }
.tool:hover { transform: translateY(-2px); color: var(--fg); border-color: var(--glass-line-2); }

@media (max-width: 991.98px) {
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .pipeline::before, .pipeline::after { display: none; }
}
@media (max-width: 575.98px) {
  .pipeline { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------- split / showcase */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; }

.showcase-frame {
  position: relative;
  padding: 2.4rem;
  border-radius: var(--r-xl);
  display: grid;
  place-items: center;
  min-height: 400px;
}
.showcase-frame img { position: relative; z-index: 1; filter: drop-shadow(0 30px 60px rgba(0,0,0,.5)); }
.showcase-frame::after {
  content: '';
  position: absolute;
  width: 72%; height: 72%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,124,214,.3), transparent 68%);
  filter: blur(42px);
  z-index: 0;
  animation: pulse-glow 7s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: .75; }
  50%      { transform: scale(1.14); opacity: 1; }
}

/* grid of small capability blocks inside service pages */
.mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.mini-card { padding: 1.5rem 1.4rem; height: 100%; }
.mini-card .card-ic { width: 44px; height: 44px; border-radius: 13px; margin-bottom: 1.05rem; }
.mini-card .card-ic .icon { width: 20px; height: 20px; }
.mini-card h5 { font-size: 1.02rem; margin-bottom: .5rem; }
.mini-card p { font-size: .89rem; margin: 0; color: var(--fg-muted); }

/* ------------------------------------------------------------ testimonials */
.quotes { position: relative; }
.quote-rail {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.quote-rail::-webkit-scrollbar { display: none; }
.quote-card {
  flex: 0 0 min(430px, 84vw);
  scroll-snap-align: start;
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
}
.quote-mark { width: 34px; height: 34px; color: var(--brand-light); opacity: .55; margin-bottom: 1.3rem; }
.quote-card blockquote {
  margin: 0 0 1.8rem;
  font-size: .975rem;
  line-height: 1.8;
  color: var(--fg-muted);
  flex: 1;
}
.quote-foot { display: flex; align-items: center; gap: .9rem; padding-top: 1.4rem; border-top: 1px solid var(--glass-line); }
.avatar {
  width: 46px; height: 46px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--brand), var(--violet));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  border: 1px solid var(--glass-line-2);
}
.quote-foot strong { display: block; color: var(--fg); font-weight: 550; font-size: .97rem; }
.quote-foot span { font-size: .8rem; color: var(--fg-dim); }
.stars { display: flex; gap: 3px; margin-left: auto; color: var(--accent); }
.stars svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }

.rail-nav { display: flex; align-items: center; gap: .7rem; margin-top: 2rem; }
.rail-btn {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--glass-line);
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--fg);
  cursor: pointer;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.rail-btn:hover { background: var(--glass-strong); border-color: var(--glass-line-2); transform: scale(1.06); }
.rail-btn:disabled { opacity: .3; cursor: default; transform: none; }
.rail-btn .icon { width: 19px; height: 19px; }
.rail-btn.prev .icon { transform: rotate(180deg); }
.rail-dots { display: flex; gap: 7px; margin-left: auto; }
.rail-dots button {
  width: 7px; height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--glass-line-2);
  cursor: pointer;
  transition: width .4s var(--ease), background .3s var(--ease);
}
.rail-dots button.active { width: 26px; background: linear-gradient(90deg, var(--brand-light), var(--accent)); }

/* --------------------------------------------------------------- portfolio */
.work-card {
  padding: 2rem 1.8rem 1.8rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.work-shot {
  position: relative;
  width: 150px;
  margin: 0 auto 1.6rem;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--glass-line);
  box-shadow: 0 22px 48px -20px rgba(0,0,0,.8);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
}
.work-shot img { display: block; width: 100%; }
.glass-hover:hover .work-shot { transform: translateY(-6px) scale(1.04); box-shadow: 0 32px 64px -22px rgba(46,124,214,.55); }
.work-card h3 { font-size: 1.22rem; margin-bottom: .35rem; }
.work-type { font-size: .9rem; color: var(--fg-muted); margin-bottom: 1.1rem; }
.work-meta { margin-top: auto; padding-top: 1.2rem; border-top: 1px solid var(--glass-line); display: flex; align-items: center; justify-content: space-between; gap: .55rem; flex-wrap: wrap; }
.tag {
  display: inline-flex;
  padding: .34rem .78rem;
  border-radius: 999px;
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--accent-light);
  background: rgba(255,122,24,.1);
  border: 1px solid rgba(255,122,24,.24);
  white-space: nowrap;
}
.tag.blue { color: var(--brand-light); background: rgba(46,124,214,.12); border-color: rgba(46,124,214,.3); }
.store-link { font-size: .78rem; color: var(--fg-dim); display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; transition: color .3s var(--ease); }
.store-link .icon { width: 14px; height: 14px; }
.work-card:hover .store-link { color: var(--brand-light); }

/* ------------------------------------------------------------- page header */
.page-head {
  position: relative;
  padding: calc(var(--nav-h) + clamp(72px, 10vw, 128px)) 0 clamp(56px, 7vw, 92px);
  text-align: center;
}
.page-head h1 { margin-bottom: 1.1rem; }
.page-head .lede { max-width: 640px; margin-inline: auto; }

.crumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .6rem;
  font-size: .82rem;
  color: var(--fg-dim);
  margin-top: 1.8rem;
}
.crumbs a:hover { color: var(--brand-light); }
.crumbs .sep { opacity: .45; }

/* --------------------------------------------------------- contact / forms */
.form-card { padding: clamp(1.8rem, 3.4vw, 2.8rem); }

.field { margin-bottom: 1.05rem; position: relative; }
.field label {
  display: block;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: .55rem;
}
.field .req { color: var(--accent); }

.input {
  width: 100%;
  padding: .95rem 1.15rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--glass-line);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: .96rem;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.input::placeholder { color: rgba(226,234,248,.3); }
.input:hover { border-color: var(--glass-line-2); }
.input:focus {
  outline: none;
  border-color: var(--brand);
  background: rgba(255,255,255,.065);
  box-shadow: 0 0 0 4px rgba(46,124,214,.16);
}
textarea.input { resize: vertical; min-height: 148px; line-height: 1.68; }

.form-note { font-size: .82rem; color: var(--fg-dim); margin-top: 1rem; }

.form-alert {
  display: none;
  align-items: flex-start;
  gap: .7rem;
  padding: .95rem 1.15rem;
  border-radius: var(--r-sm);
  font-size: .9rem;
  margin-bottom: 1.3rem;
  border: 1px solid transparent;
  animation: hero-rise .5s var(--ease-out);
}
.form-alert.show { display: flex; }
.form-alert.ok   { background: rgba(40,200,100,.1);  border-color: rgba(40,200,100,.3);  color: #8bedb0; }
.form-alert.err  { background: rgba(255,80,80,.1);   border-color: rgba(255,80,80,.3);   color: #ffa3a3; }
.form-alert .icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }

.btn-px[data-loading="true"] { pointer-events: none; opacity: .75; }
.btn-px .spinner {
  width: 17px; height: 17px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: none;
}
.btn-px[data-loading="true"] .spinner { display: block; }
.btn-px[data-loading="true"] .icon { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* recaptcha fits the dark glass */
.g-recaptcha { margin-block: .4rem 1rem; }
.recap-wrap {
  border-radius: var(--r-sm);
  overflow: hidden;
  width: fit-content;
  max-width: 100%;
  border: 1px solid var(--glass-line);
}

/* contact detail list */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-item { display: flex; gap: 1.1rem; padding: 1.4rem 1.5rem; }
.contact-item .ic {
  flex: 0 0 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(46,124,214,.32), rgba(109,73,224,.15));
  border: 1px solid var(--glass-line);
  color: var(--brand-light);
  transition: transform .45s var(--ease);
}
.contact-item:hover .ic { transform: scale(1.08) rotate(-6deg); }
.contact-item .ic .icon { width: 21px; height: 21px; }
.contact-item dt { font-size: .73rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-dim); font-weight: 600; margin-bottom: .45rem; }
.contact-item dd { margin: 0; color: var(--fg); font-size: .95rem; line-height: 1.65; }
.contact-item dd a:hover { color: var(--brand-light); }

/* map */
.map-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-lg);
  height: 460px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) invert(.92) contrast(.86) hue-rotate(185deg); }
.map-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7,11,22,.42), transparent 28%, transparent 72%, rgba(7,11,22,.5));
}

/* ------------------------------------------------------------- CTA banner */
.cta-band {
  position: relative;
  padding: clamp(2.6rem, 6vw, 4.6rem);
  border-radius: var(--r-xl);
  text-align: center;
  overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 24% 34%, rgba(46,124,214,.45), transparent 52%),
    radial-gradient(circle at 76% 68%, rgba(255,122,24,.33), transparent 52%);
  filter: blur(46px);
  z-index: -1;
  animation: cta-swirl 18s ease-in-out infinite alternate;
}
@keyframes cta-swirl {
  from { transform: rotate(0) scale(1); }
  to   { transform: rotate(16deg) scale(1.16); }
}
.cta-band h2 { max-width: 740px; margin-inline: auto; }
.cta-band .lede { max-width: 580px; margin: 0 auto 2.2rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

/* ------------------------------------------------------------------ footer */
.px-footer {
  position: relative;
  margin-top: clamp(60px, 8vw, 100px);
  border-top: 1px solid var(--glass-line);
  background: rgba(255,255,255,.022);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.footer-main { padding: clamp(56px, 7vw, 82px) 0 clamp(36px, 4vw, 52px); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.4fr; gap: clamp(28px, 4vw, 52px); }
.footer-brand img { width: 192px; margin-bottom: 1.4rem; }
.footer-brand p { font-size: .93rem; max-width: 330px; }
.footer-title {
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 1.3rem;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .72rem; }
.footer-links a {
  font-size: .93rem;
  color: var(--fg-muted);
  display: inline-flex;
  align-items: center;
  transition: color .28s var(--ease);
}
.footer-links a::before {
  content: '';
  width: 0; height: 1px;
  margin-right: 0;
  background: var(--accent);
  transition: width .32s var(--ease), margin-right .32s var(--ease);
}
.footer-links a:hover { color: var(--fg); }
.footer-links a:hover::before { width: 12px; margin-right: .5rem; }

.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.footer-contact li { display: flex; gap: .75rem; font-size: .91rem; line-height: 1.6; }
.footer-contact .icon { width: 17px; height: 17px; color: var(--brand-light); flex-shrink: 0; margin-top: 4px; }
.footer-contact a:hover { color: var(--brand-light); }

.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid var(--glass-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: .86rem;
  color: var(--fg-dim);
}
.footer-bottom .made { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; }
.footer-bottom .made .icon { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.footer-bottom .made b { color: var(--fg-muted); font-weight: 500; }

/* back-to-top */
.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 1020;
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--glass-line);
  background: rgba(11,17,32,.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--fg);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.9);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s, background .3s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.to-top:hover { background: var(--brand); border-color: var(--brand-light); }
.to-top .icon { width: 19px; height: 19px; transform: rotate(-90deg); }

/* reading progress bar */
.progress-line {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 1040;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  box-shadow: 0 0 12px rgba(255,122,24,.6);
  transition: width .12s linear;
}

/* ---------------------------------------------------------- scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out);
  filter: blur(6px);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-36px); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="zoom"]  { transform: scale(.94); }
[data-reveal].in { opacity: 1; transform: none; filter: blur(0); }

/* stagger children */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(5px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), filter .8s var(--ease-out);
}
[data-stagger].in > * { opacity: 1; transform: none; filter: blur(0); }
[data-stagger].in > *:nth-child(1) { transition-delay: .04s; }
[data-stagger].in > *:nth-child(2) { transition-delay: .12s; }
[data-stagger].in > *:nth-child(3) { transition-delay: .2s; }
[data-stagger].in > *:nth-child(4) { transition-delay: .28s; }
[data-stagger].in > *:nth-child(5) { transition-delay: .36s; }
[data-stagger].in > *:nth-child(6) { transition-delay: .44s; }
[data-stagger].in > *:nth-child(7) { transition-delay: .52s; }
[data-stagger].in > *:nth-child(8) { transition-delay: .6s; }
[data-stagger].in > *:nth-child(9) { transition-delay: .68s; }
[data-stagger].in > *:nth-child(10) { transition-delay: .76s; }
[data-stagger].in > *:nth-child(11) { transition-delay: .84s; }
[data-stagger].in > *:nth-child(12) { transition-delay: .92s; }

/* word-by-word headline reveal */
.reveal-words .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(.5em) rotate(2deg);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal-words.in .word { opacity: 1; transform: none; }

/* parallax layer */
[data-parallax] { will-change: transform; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1199.98px) {
  .hero-visual { min-height: 420px; }
  .orbit { width: 460px; height: 460px; margin: -230px 0 0 -230px; }
  .orbit i { transform-origin: 4.5px 235px; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1.3fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 991.98px) {
  :root { --nav-h: 72px; }
  .px-menu, .px-nav-cta { display: none; }
  .px-burger { display: block; margin-left: auto; }

  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 48px); }
  .hero .lede { max-width: none; }
  .hero-visual { min-height: 400px; margin-top: 3.5rem; }
  .scroll-hint { display: none; }

  .split { grid-template-columns: 1fr; }
  .split.rev > *:first-child { order: 2; }

  .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { max-width: none; }
}

@media (max-width: 767.98px) {
  .container { padding-inline: 20px; }
  body { font-size: .97rem; }

  .g-2, .g-3, .g-4, .mini-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-contact-col { grid-column: 1 / -1; }

  .hero-visual { min-height: 340px; }
  .hero-card.main { position: relative; inset: auto; width: 100%; }
  .hero-card.chip-a { right: -4%; top: auto; bottom: -6%; width: 190px; }
  .hero-card.chip-b { display: none; }
  .orbit { display: none; }

  .stat-strip { grid-template-columns: 1fr; }
  .stat-strip .stat:first-child { border-radius: var(--r) var(--r) 0 0; }
  .stat-strip .stat:last-child  { border-radius: 0 0 var(--r) var(--r); }

  .quote-card { flex-basis: 86vw; }
  .map-frame { height: 340px; }
  .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

@media (max-width: 480px) {
  .hero-card.chip-a { display: none; }
  .hero-cta .btn-px { width: 100%; justify-content: center; }
}

/* glass needs a fallback where backdrop-filter is unsupported */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .px-drop, .px-drawer, .chip, .input, .btn-px.ghost { background: rgba(14, 21, 38, .93); }
  .px-nav.scrolled { background: rgba(7, 11, 22, .97); }
}

/* --------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal], [data-stagger] > *, .reveal-words .word, .hero-anim > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* --------------------------------------------------------------- printing */
@media print {
  .px-nav, .px-drawer, .px-scrim, .to-top, .progress-line, .atmosphere, .grain, .scroll-hint { display: none !important; }
  body { background: #fff; color: #111; }
  .glass { border: 1px solid #ddd; box-shadow: none; background: #fff; }
  h1, h2, h3, h4, h5 { color: #111; }
}
