/* =========================================================
   Prime Infotech · Serving technology better
   Palette: logo blue #38B6FF on black, with neutral greys.
   Blue signals trust and technology; black keeps the brand
   mark faithful and lets the 3D scene glow.
   ========================================================= */

:root {
  /* colour */
  --bg: #000000;
  --surface: #181818;
  --surface-2: #1F1F1F;
  --surface-3: #272727;
  --line: #313131;
  --text: #FFFFFF;
  --text-2: #B8B8B8;
  --text-3: #8C8C8C;
  --brand: #38B6FF;
  --brand-hover: #6CC9FF;
  --brand-soft: rgba(56, 182, 255, 0.12);
  --brand-line: rgba(56, 182, 255, 0.32);
  --brand-ink: #000000;
  --danger: #FF7A7A;
  --success: #5FE3A1;

  /* spacing */
  --s-25: 2px; --s-50: 4px; --s-75: 8px; --s-100: 12px; --s-200: 16px;
  --s-300: 24px; --s-400: 32px; --s-500: 40px; --s-600: 48px;
  --s-700: 64px; --s-800: 80px; --s-900: 96px;

  /* radius */
  --r-md: 6px; --r-lg: 8px; --r-xl: 12px; --r-2xl: 16px; --r-3xl: 24px; --r-full: 9999px;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 500ms;
  --dur-fast: 300ms;

  --container: 1200px;
  --gutter: 16px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
em, i { font-style: normal; }
::selection { background: var(--brand); color: #000; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: var(--r-md); }

.skip-link {
  position: fixed; left: var(--s-200); top: var(--s-200); z-index: 200;
  padding: var(--s-75) var(--s-100); background: var(--brand); color: #000;
  border-radius: var(--r-lg); font-weight: 600; transform: translateY(-200%);
  transition: transform var(--dur-fast) var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- 3D canvas ---------- */
#gl {
  position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh;
  z-index: 0; pointer-events: none; opacity: 0;
  transition: opacity 1200ms var(--ease);
}
#gl.is-ready { opacity: 1; }
.gl-veil { display: none; }
main, .footer { position: relative; z-index: 1; }

/* ---------- text styles (Tailwind scale) ---------- */
.heading-1 { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.02em; }
.heading-2 { font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -0.02em; }
.heading-3 { font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -0.015em; }
.heading-4 { font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -0.01em; }
.heading-5 { font-size: 24px; line-height: 32px; font-weight: 600; }
.heading-6 { font-size: 20px; line-height: 28px; font-weight: 600; }
@media (min-width: 640px) {
  .heading-1 { font-size: 48px; line-height: 1; }
  .heading-2 { font-size: 36px; line-height: 40px; }
  .heading-3 { font-size: 36px; line-height: 40px; }
  .heading-4 { font-size: 30px; line-height: 36px; }
}
@media (min-width: 1024px) {
  .heading-1 { font-size: 60px; line-height: 1; }
  .heading-2 { font-size: 48px; line-height: 1; }
}
.title-1 { font-size: 20px; line-height: 28px; font-weight: 500; }
.title-2 { font-size: 18px; line-height: 28px; font-weight: 500; }
.title-3 { font-size: 16px; line-height: 24px; font-weight: 500; }
.title-4 { font-size: 14px; line-height: 20px; font-weight: 500; }
.body-1 { font-size: 16px; line-height: 24px; font-weight: 600; }
.body-2 { font-size: 16px; line-height: 24px; font-weight: 500; }
.body-3 { font-size: 16px; line-height: 24px; font-weight: 400; }
.body-lg { font-size: 18px; line-height: 28px; font-weight: 400; }
.body-4 { font-size: 14px; line-height: 20px; font-weight: 600; }
.body-5 { font-size: 14px; line-height: 20px; font-weight: 500; }
.body-6 { font-size: 14px; line-height: 20px; font-weight: 400; }
.caption-1 { font-size: 14px; line-height: 20px; font-weight: 500; }
.caption-3 { font-size: 12px; line-height: 16px; font-weight: 600; }
.caption-4 { font-size: 12px; line-height: 16px; font-weight: 500; }
.caption-5 { font-size: 12px; line-height: 16px; font-weight: 400; }

.muted { color: var(--text-2); }
.subtle { color: var(--text-3); }
.brand { color: var(--brand); }
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }
p, li { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }

.grad-text {
  background: linear-gradient(90deg, #FFFFFF 0%, #9B9B9B 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 0.12em; margin-bottom: -0.12em;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-75);
  font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--brand);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--brand); border-radius: 2px; }

/* ---------- icons ---------- */
.ico { width: 20px; height: 20px; flex: none; }
.ico--xs { width: 12px; height: 12px; }
.ico--sm { width: 16px; height: 16px; }
.ico--lg { width: 24px; height: 24px; }
.ico--xl { width: 32px; height: 32px; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--s-700) 0; position: relative; }
@media (min-width: 1024px) { .section { padding: var(--s-900) 0; } }
.section--solid { background: var(--bg); }
.section--surface { background: #0A0A0A; }
.section__head { max-width: 680px; display: grid; gap: var(--s-200); margin-bottom: var(--s-600); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-300); }
.section__head--row > div { max-width: 680px; display: grid; gap: var(--s-200); }

.grid { display: grid; gap: var(--s-300); }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.split { display: grid; gap: var(--s-600); align-items: center; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--s-800); }
  .split--reverse > :first-child { order: 2; }
}
.split__copy { display: grid; gap: var(--s-300); align-content: start; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-75);
  padding: var(--s-100) var(--s-300); border-radius: var(--r-full);
  font-size: 16px; line-height: 24px; font-weight: 600; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease), transform var(--dur) var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--sm { padding: var(--s-75) var(--s-200); font-size: 14px; line-height: 20px; }
.btn--lg { padding: var(--s-100) var(--s-300); }
.btn--primary { background: var(--brand); color: var(--brand-ink); }
.btn--primary:hover { background: var(--brand-hover); transform: translateY(-1px); }
.btn--ghost { border-color: var(--line); background: rgba(24, 24, 24, 0.6); color: var(--text); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--brand-line); background: var(--surface-2); }
.btn .ico { transition: transform var(--dur) var(--ease); }
.btn:hover .ico:last-child { transform: translateX(2px); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s-75);
  color: var(--brand); font-weight: 600; font-size: 14px; line-height: 20px;
  transition: gap var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.link-arrow:hover { color: var(--brand-hover); gap: var(--s-100); }

/* ---------- navigation ---------- */
/* full width bar, fixed to the top so it stays visible while scrolling */
.nav-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.nav-wrap.is-scrolled { background: rgba(10, 10, 10, 0.9); border-bottom-color: var(--surface-3); }
body.menu-open .nav-wrap { background: rgba(0, 0, 0, 0.94); }
.nav {
  display: flex; align-items: center; gap: var(--s-300);
  width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto;
  min-height: 72px; padding: var(--s-100) var(--gutter);
}
@media (min-width: 1024px) { .nav { min-height: 80px; } }
.nav__brand { display: flex; align-items: center; gap: var(--s-100); flex: none; }
.nav__brand img:first-child { width: 28px; height: auto; }
.nav__word { width: 148px; height: auto; }
.nav__links { display: none; align-items: center; gap: var(--s-50); margin-left: auto; }
.nav__link {
  display: inline-flex; align-items: center; gap: var(--s-50);
  padding: var(--s-75) var(--s-100); border-radius: var(--r-full);
  font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-2);
  transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.nav__link:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav__link[aria-current="page"] { color: var(--text); background: rgba(56, 182, 255, 0.14); }
.nav__cta { display: none; }
.nav__toggle {
  margin-left: auto; width: 40px; height: 40px; border-radius: var(--r-full);
  border: 1px solid var(--line); background: var(--surface-2); cursor: pointer;
  position: relative; flex: none;
}
.nav__toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--text);
  transition: transform var(--dur) var(--ease);
}
.nav__toggle span:first-child { transform: translateY(-4px); }
.nav__toggle span:last-child { transform: translateY(4px); }
.nav__toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

@media (min-width: 1100px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
}

.nav__item--dropdown { position: relative; }
.nav__item--dropdown .ico--xs { transition: transform var(--dur) var(--ease); }
.dropdown {
  position: absolute; top: 100%; left: 50%; padding-top: var(--s-200);
  transform: translate(-50%, 8px); opacity: 0; visibility: hidden;
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur-fast);
}
.dropdown__inner {
  width: 340px; padding: var(--s-75); display: grid; gap: var(--s-25);
  background: rgba(20, 20, 20, 0.96); border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-2xl); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}
.nav__item--dropdown:hover .dropdown, .nav__item--dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur) var(--ease), visibility 0s;
}
.nav__item--dropdown:hover .ico--xs { transform: rotate(180deg); }
.dropdown__link {
  display: flex; align-items: center; gap: var(--s-100);
  padding: var(--s-100); border-radius: var(--r-lg);
  font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-2);
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.dropdown__link .ico { color: var(--brand); }
.dropdown__link:hover { background: var(--surface-3); color: var(--text); }
.dropdown__all {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: var(--s-50); padding: var(--s-100); border-radius: var(--r-lg);
  background: var(--brand-soft); color: var(--brand); font-size: 14px; line-height: 20px; font-weight: 600;
}

/* mobile menu */
.mnav {
  position: fixed; inset: 0; z-index: 90; padding: 96px var(--gutter) var(--s-400);
  background: rgba(0, 0, 0, 0.94); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  overflow-y: auto; opacity: 0; transition: opacity var(--dur-fast) var(--ease);
}
.mnav[hidden] { display: none; }
.mnav.is-open { opacity: 1; }
.mnav__inner { display: flex; flex-direction: column; min-height: 100%; max-width: 560px; margin: 0 auto; }
.mnav__link {
  display: block; padding: var(--s-200) 0; border-bottom: 1px solid var(--surface-3);
  font-size: 24px; line-height: 32px; font-weight: 600; color: var(--text-2);
  opacity: 0; transform: translateY(24px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), color var(--dur-fast) var(--ease);
}
.mnav__link[aria-current="page"] { color: var(--brand); }
.mnav__link:hover { color: var(--text); }
.mnav.is-open .mnav__link, .mnav.is-open .mnav__foot { opacity: 1; transform: none; }
.mnav__foot {
  margin-top: auto; padding-top: var(--s-400); display: grid; gap: var(--s-200);
  opacity: 0; transform: translateY(24px); transition: opacity var(--dur) var(--ease) 360ms, transform var(--dur) var(--ease) 360ms;
}
.mnav__meta { display: flex; align-items: center; gap: var(--s-75); color: var(--text-2); font-size: 14px; line-height: 20px; word-break: break-all; }
.mnav__meta .ico { color: var(--brand); }
body.menu-open { overflow: hidden; }

/* ---------- home hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: 128px 0 var(--s-700); position: relative;
}
.hero__content { display: grid; gap: var(--s-300); max-width: 680px; }
.hero__title { max-width: 760px; }
.hero__sub { max-width: 600px; color: var(--text-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-100); }
.hero__proof { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-75) var(--s-200); color: var(--text-3); font-size: 14px; line-height: 20px; }
.hero__proof span { display: inline-flex; align-items: center; gap: var(--s-75); }
.hero__proof .ico { color: var(--brand); }
.hero__scroll {
  position: absolute; bottom: var(--s-400); left: 50%; transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: var(--s-75);
  color: var(--text-3); font-size: 12px; line-height: 16px; letter-spacing: 0.12em; text-transform: uppercase;
}
.hero__scroll::after { content: ""; width: 1px; height: 40px; background: linear-gradient(var(--brand), transparent); animation: scrollcue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollcue { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (min-width: 1024px) and (min-height: 760px) { .hero__scroll { display: flex; } }
@media (max-width: 1023px) {
  .hero { align-items: flex-end; }
}

/* ---------- inner page hero ---------- */
.page-hero { padding: 160px 0 var(--s-700); position: relative; }
@media (min-width: 1024px) { .page-hero { padding: 192px 0 var(--s-800); } }
.page-hero__inner { display: grid; gap: var(--s-300); max-width: 760px; }
.page-hero__inner .heading-1, .page-hero__inner .body-lg { max-width: 680px; }
.page-hero--split .container { display: grid; gap: var(--s-600); align-items: center; }
@media (min-width: 1024px) { .page-hero--split .container { grid-template-columns: 1.1fr 0.9fr; gap: var(--s-800); } }
.page-hero__media { border-radius: var(--r-3xl); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-75); font-size: 12px; line-height: 16px; color: var(--text-3); }
.crumbs a { color: var(--text-2); transition: color var(--dur-fast) var(--ease); }
.crumbs a:hover { color: var(--brand); }
.crumbs .sep { opacity: 0.5; }

/* ---------- chips & marquee ---------- */
.chip {
  display: inline-flex; align-items: center; gap: var(--s-75);
  padding: var(--s-75) var(--s-200); border-radius: var(--r-full);
  border: 1px solid var(--line); background: rgba(24, 24, 24, 0.7);
  font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-2); white-space: nowrap;
}
.chip .ico { color: var(--brand); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-75); }

.marquee { overflow: hidden; border-top: 1px solid var(--surface-3); border-bottom: 1px solid var(--surface-3); background: rgba(0, 0, 0, 0.7); padding: var(--s-300) 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: var(--s-600); width: max-content; animation: marquee 40s linear infinite; }
.marquee__item { display: inline-flex; align-items: center; gap: var(--s-100); font-size: 18px; line-height: 28px; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.marquee__item .ico { color: var(--brand); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column; gap: var(--s-200);
  padding: var(--s-300); border-radius: var(--r-2xl);
  background: rgba(24, 24, 24, 0.78); border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur) var(--ease), background-color var(--dur-fast) var(--ease);
}
a.card:hover, .card--hover:hover { border-color: var(--brand-line); transform: translateY(-4px); background: rgba(31, 31, 31, 0.9); }
.card__icon {
  width: 48px; height: 48px; border-radius: var(--r-xl); display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); border: 1px solid var(--brand-line);
}
.card__icon .ico { width: 24px; height: 24px; }
.card__title { font-size: 20px; line-height: 28px; font-weight: 600; }
.card__text { color: var(--text-2); font-size: 14px; line-height: 20px; }
.card .link-arrow { margin-top: auto; }

.svc-card { padding: var(--s-75); gap: 0; overflow: hidden; }
.svc-card__media { aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; position: relative; }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.05); }
.svc-card__num { position: absolute; top: var(--s-100); left: var(--s-100); padding: var(--s-50) var(--s-75); border-radius: var(--r-md); background: rgba(0, 0, 0, 0.72); font-size: 12px; line-height: 16px; font-weight: 600; color: var(--brand); backdrop-filter: blur(6px); }
.svc-card__body { display: flex; flex-direction: column; gap: var(--s-100); padding: var(--s-300) var(--s-200) var(--s-200); flex: 1; }
.svc-card__body .link-arrow { margin-top: auto; padding-top: var(--s-100); }

/* media frame */
.media { position: relative; border-radius: var(--r-3xl); overflow: hidden; border: 1px solid var(--line); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 16 / 10; }
.media__badge {
  position: absolute; left: var(--s-200); bottom: var(--s-200); right: var(--s-200);
  display: flex; align-items: center; gap: var(--s-100); padding: var(--s-200);
  background: rgba(10, 10, 10, 0.78); border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.media__badge .card__icon { width: 40px; height: 40px; border-radius: var(--r-md); }
.media-stack { position: relative; }
.media-stack .media--inset { position: absolute; width: 46%; right: -8px; bottom: -32px; aspect-ratio: 1; border: 4px solid var(--bg); border-radius: var(--r-2xl); display: none; }
@media (min-width: 640px) { .media-stack .media--inset { display: block; } }

/* check list */
.checks { display: grid; gap: var(--s-100); }
.checks li { display: flex; gap: var(--s-100); align-items: flex-start; color: var(--text-2); }
.checks li .ico { color: var(--brand); margin-top: 2px; }
.checks--2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .checks--2 { grid-template-columns: 1fr 1fr; gap: var(--s-100) var(--s-300); } }

/* feature rows (why us) */
.features { display: grid; gap: var(--s-100); }
.feature {
  display: flex; gap: var(--s-200); padding: var(--s-300); border-radius: var(--r-2xl);
  background: rgba(24, 24, 24, 0.78); border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur) var(--ease);
}
.feature:hover { border-color: var(--brand-line); transform: translateX(4px); }
.feature h3 { font-size: 18px; line-height: 28px; font-weight: 600; }
.feature p { color: var(--text-2); font-size: 14px; line-height: 20px; }
.feature .card__icon { width: 44px; height: 44px; flex: none; }

/* steps */
.steps { display: grid; gap: var(--s-300); counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding-top: var(--s-500); display: grid; gap: var(--s-100); align-content: start; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 0; left: 0; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--brand);
}
.step::after { content: ""; position: absolute; top: 9px; left: 40px; right: 0; height: 1px; background: linear-gradient(90deg, var(--brand-line), transparent); }
.step h3 { font-size: 20px; line-height: 28px; font-weight: 600; }
.step p { color: var(--text-2); font-size: 14px; line-height: 20px; }

/* domain tiles */
.tile {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 240px; padding: var(--s-300); border-radius: var(--r-2xl); border: 1px solid var(--line); isolation: isolate;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 900ms var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.88) 75%); }
.tile:hover img { transform: scale(1.06); }
.tile .card__icon { margin-bottom: auto; width: 44px; height: 44px; background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(6px); }
.tile h3 { font-size: 20px; line-height: 28px; font-weight: 600; margin-top: var(--s-300); }
.tile p { color: var(--text-2); font-size: 14px; line-height: 20px; margin-top: var(--s-50); }

/* audience list */
.audience { display: grid; gap: var(--s-100); }
@media (min-width: 640px) { .audience { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .audience { grid-template-columns: repeat(5, 1fr); } }
.audience .card { align-items: flex-start; }

/* tagline reveal */
.tagline { padding: var(--s-900) 0; }
@media (min-width: 1024px) { .tagline { padding: 160px 0; } }
.tagline__text { max-width: 900px; font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
@media (min-width: 640px) { .tagline__text { font-size: 48px; line-height: 1.08; } }
@media (min-width: 1024px) { .tagline__text { font-size: 60px; line-height: 1.05; } }
.tagline__text .w { color: rgba(255, 255, 255, 0.28); transition: color 700ms var(--ease); }
.tagline__text .w.is-on { color: var(--text); }
.tagline__text .w.accent.is-on { color: var(--brand); }

/* stat-free highlight strip */
.pillars { display: grid; gap: 1px; background: var(--surface-3); border: 1px solid var(--surface-3); border-radius: var(--r-2xl); overflow: hidden; }
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillar { padding: var(--s-400) var(--s-300); background: rgba(10, 10, 10, 0.92); display: grid; gap: var(--s-100); align-content: start; }
.pillar .ico { color: var(--brand); width: 28px; height: 28px; }
.pillar h3 { font-size: 18px; line-height: 28px; font-weight: 600; }
.pillar p { font-size: 14px; line-height: 20px; color: var(--text-2); }

/* vision mission */
.vm { display: grid; gap: var(--s-300); }
@media (min-width: 1024px) { .vm { grid-template-columns: 1fr 1fr; } }
.vm .card { padding: var(--s-500) var(--s-400); gap: var(--s-300); }
.vm blockquote { margin: 0; font-size: 20px; line-height: 28px; font-weight: 500; color: var(--text); }

/* leader */
.leader { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-300); }
.leader__avatar { width: 80px; height: 80px; border-radius: var(--r-full); display: grid; place-items: center; background: var(--brand-soft); border: 1px solid var(--brand-line); color: var(--brand); font-size: 24px; line-height: 32px; font-weight: 600; }
.leader__links { display: flex; flex-wrap: wrap; gap: var(--s-75); }

/* FAQ */
.faq { display: grid; gap: var(--s-100); max-width: 840px; margin: 0 auto; }
.faq details { border-radius: var(--r-2xl); background: rgba(24, 24, 24, 0.82); border: 1px solid rgba(255, 255, 255, 0.07); transition: border-color var(--dur-fast) var(--ease); }
.faq details[open] { border-color: var(--brand-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-200); padding: var(--s-300); font-size: 18px; line-height: 28px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--brand); transition: transform var(--dur) var(--ease); flex: none; }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq .faq__a { padding: 0 var(--s-300) var(--s-300); color: var(--text-2); }

/* FAQ groups */
.faq-group { display: grid; gap: var(--s-300); max-width: 840px; margin: 0 auto; width: 100%; }
.faq-group__title { color: var(--brand); }

/* CTA band */
.cta-band__card {
  position: relative; overflow: hidden; display: grid; gap: var(--s-400); align-items: center;
  padding: var(--s-500) var(--s-300); border-radius: var(--r-3xl);
  background: rgba(14, 14, 14, 0.85); border: 1px solid var(--brand-line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.cta-band__card::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(56, 182, 255, 0.22), transparent 65%); pointer-events: none; }
@media (min-width: 1024px) { .cta-band__card { grid-template-columns: 1.4fr 1fr; padding: var(--s-700) var(--s-600); } }
.cta-band__copy { display: grid; gap: var(--s-200); position: relative; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--s-100); position: relative; }
@media (min-width: 1024px) { .cta-band__actions { justify-content: flex-end; } }

/* banner showcase */
.showcase { border-radius: var(--r-3xl); overflow: hidden; border: 1px solid var(--line); }
.showcase img { width: 100%; }

/* ---------- forms ---------- */
.contact-grid { display: grid; gap: var(--s-400); align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.35fr 1fr; gap: var(--s-600); } }
.form-card { padding: var(--s-300); }
@media (min-width: 640px) { .form-card { padding: var(--s-500); } }
.form { display: grid; gap: var(--s-300); }
.form__row { display: grid; gap: var(--s-300); }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--s-75); }
.field label { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text); }
.field label .req { color: var(--brand); }
.field input, .field select, .field textarea {
  width: 100%; padding: var(--s-100) var(--s-200); border-radius: var(--r-xl);
  background: rgba(0, 0, 0, 0.5); border: 1px solid var(--line); color: var(--text);
  font-size: 16px; line-height: 24px;
  transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%2338B6FF'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; padding-right: var(--s-500); }
.field select option { background: #181818; }
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6E6E6E; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #4A4A4A; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: rgba(0, 0, 0, 0.7); box-shadow: 0 0 0 3px rgba(56, 182, 255, 0.18); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field__error { display: none; align-items: center; gap: var(--s-50); color: var(--danger); font-size: 12px; line-height: 16px; font-weight: 500; }
.field.has-error .field__error { display: flex; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-200); }
.form__note { color: var(--text-3); font-size: 12px; line-height: 16px; max-width: 360px; }
.form__note a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.form-status { display: none; gap: var(--s-100); align-items: flex-start; padding: var(--s-200); border-radius: var(--r-xl); font-size: 14px; line-height: 20px; }
.form-status.is-visible { display: flex; }
.form-status--ok { background: rgba(95, 227, 161, 0.1); border: 1px solid rgba(95, 227, 161, 0.35); color: #BDF5D8; }
.form-status--err .ico { display: none; }
.form-status--err { background: rgba(255, 122, 122, 0.1); border: 1px solid rgba(255, 122, 122, 0.35); color: #FFD0D0; }
.btn.is-loading { position: relative; color: transparent; }
.btn.is-loading::after { content: ""; position: absolute; inset: 8px 24px; border-radius: var(--r-full); background: linear-gradient(90deg, rgba(0,0,0,0.15), rgba(0,0,0,0.35), rgba(0,0,0,0.15)); background-size: 200% 100%; animation: shimmer 1.1s var(--ease) infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.info-list { display: grid; gap: var(--s-100); }
.info-item { display: flex; gap: var(--s-200); align-items: flex-start; padding: var(--s-300); }
.info-item .card__icon { flex: none; width: 44px; height: 44px; }
.info-item a { word-break: break-word; transition: color var(--dur-fast) var(--ease); }
.info-item a:hover { color: var(--brand); }

.map { border-radius: var(--r-2xl); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--surface); position: relative; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.4) invert(0.9) hue-rotate(180deg); }
.map__placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; gap: var(--s-200); padding: var(--s-300); }
.map__placeholder > div { display: grid; gap: var(--s-200); justify-items: center; }

/* legal prose */
.prose { max-width: 760px; display: grid; gap: var(--s-200); color: var(--text-2); }
.prose h2 { color: var(--text); font-size: 24px; line-height: 32px; font-weight: 600; margin-top: var(--s-400); }
.prose ul { list-style: disc; padding-left: var(--s-300); display: grid; gap: var(--s-75); }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }

/* 404 */
.notfound { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 128px 0 var(--s-700); }
.notfound__code { font-size: 96px; line-height: 1; font-weight: 600; letter-spacing: -0.04em; }
@media (min-width: 640px) { .notfound__code { font-size: 128px; } }

/* service detail */
.detail-grid { display: grid; gap: var(--s-400); align-items: start; }
@media (min-width: 1024px) { .detail-grid { grid-template-columns: 1fr 340px; gap: var(--s-600); } .aside-sticky { position: sticky; top: 112px; } }
.aside-card { display: grid; gap: var(--s-200); }
.aside-links { display: grid; gap: var(--s-25); }
.aside-links a { display: flex; align-items: center; justify-content: space-between; gap: var(--s-100); padding: var(--s-100); border-radius: var(--r-lg); color: var(--text-2); font-size: 14px; line-height: 20px; font-weight: 500; transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.aside-links a:hover { background: var(--surface-3); color: var(--text); }
.aside-links a[aria-current="page"] { background: var(--brand-soft); color: var(--brand); }
.block { display: grid; gap: var(--s-300); }
.block + .block { margin-top: var(--s-700); }

/* domain detail rows */
.domain-row { display: grid; gap: var(--s-400); align-items: center; padding: var(--s-300); }
@media (min-width: 1024px) { .domain-row { grid-template-columns: 0.9fr 1.1fr; gap: var(--s-600); padding: var(--s-400); } .domain-row:nth-child(even) .domain-row__media { order: 2; } }
.domain-row__media { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 10; }
.domain-row__media img { width: 100%; height: 100%; object-fit: cover; }
.domain-row__copy { display: grid; gap: var(--s-200); }
.stack { display: grid; gap: var(--s-300); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--surface-3); background: #000; padding: var(--s-800) 0 var(--s-400); }
.footer__top { display: grid; gap: var(--s-500); }
@media (min-width: 640px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__top { grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr; gap: var(--s-600); } }
.footer__brand { display: grid; gap: var(--s-200); align-content: start; justify-items: start; }
.footer__brand img { width: 168px; }
.footer__social { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-full); border: 1px solid var(--line); color: var(--text-2); transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease); }
.footer__social:hover { color: var(--brand); border-color: var(--brand-line); }
.footer__col { display: grid; gap: var(--s-100); align-content: start; }
.footer__head { color: var(--text); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: var(--s-75); }
.footer__col a, .footer__col p { display: flex; gap: var(--s-75); align-items: flex-start; font-size: 14px; line-height: 20px; color: var(--text-2); transition: color var(--dur-fast) var(--ease); word-break: break-word; }
.footer__col a:hover { color: var(--brand); }
.footer__contact .ico { color: var(--brand); margin-top: 2px; }
.footer__bottom { margin-top: var(--s-700); padding-top: var(--s-300); border-top: 1px solid var(--surface-3); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-200); color: var(--text-3); }
.footer__legal { display: flex; gap: var(--s-300); }
.footer__legal a:hover { color: var(--brand); }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 80ms; }
[data-reveal-delay="2"] { transition-delay: 160ms; }
[data-reveal-delay="3"] { transition-delay: 240ms; }
[data-reveal-delay="4"] { transition-delay: 320ms; }
[data-reveal-delay="5"] { transition-delay: 400ms; }
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  [data-reveal] { transform: none; transition: opacity 400ms linear; }
  .mnav__link, .mnav__foot { transform: none; }
  .tagline__text .w { color: var(--text); transition: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}
