/* ===== Design tokens — dark "Eclipse" theme, Hynap brand palette ===== */
:root {
  --bg: #0a0b10;
  --surface: #14161d;
  --surface-tint: #0e1015;
  --panel: #16181f;
  --line: rgba(255, 255, 255, 0.10);
  --line-soft: rgba(255, 255, 255, 0.06);
  --text: #eaeefb;
  --text-2: #c3c9e0;
  --muted: #9aa3c2;

  --brand-blue: #2b52e0;
  --brand-violet: #4a63d6;
  --brand-red: #ff6a3d;
  --grad: linear-gradient(120deg, #2b52e0 0%, #4f74f2 50%, #9aa7cc 100%);
  /* original Eclipse gradient — kept for the primary CTA "pop" */
  --cta-grad: linear-gradient(120deg, #4f7cff 0%, #9061ff 50%, #ff6a3d 100%);

  /* silver-grey (menubar + accents) */
  --silver: #d5d8dd;
  --silver-2: #c1c5cc;
  --silver-ink: #33373f;

  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.32);
  --shadow-md: 0 16px 40px rgba(0, 0, 0, 0.42);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.52);
  --shadow-float: 0 24px 50px rgba(0, 0, 0, 0.48);

  --radius: 20px;
  --maxw: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

a { color: inherit; text-decoration: none; }
svg { display: block; }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; line-height: 1.08; font-weight: 600; color: var(--text); }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== Ambient background ===== */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: radial-gradient(120% 90% at 50% 0%, #101a35 0%, #0b1020 55%, #090d1a 100%); }
.blob { position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.35; }
.blob--blue { width: 46vw; height: 46vw; left: -14vw; top: -16vw; background: radial-gradient(circle, rgba(60,90,235,0.40), transparent 70%); }
.blob--violet { width: 42vw; height: 42vw; right: -12vw; top: 18vw; background: radial-gradient(circle, rgba(120,80,235,0.32), transparent 70%); }
.blob--red { width: 40vw; height: 40vw; left: 8vw; bottom: -20vw; background: radial-gradient(circle, rgba(245,90,60,0.16), transparent 70%); }
/* animated connected-network texture (technical, blends with the blue theme) */
#network-bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: 0.72; }

/* ===== Shared ===== */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-violet); font-weight: 700; margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--grad); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; border: 1px solid transparent; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
  will-change: transform;
}
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 12px 28px rgba(80, 50, 200, 0.32); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(80, 50, 200, 0.44); }
.btn--play { background: rgba(255,255,255,0.06); color: var(--text); border-color: var(--line); }
.btn--play:hover { transform: translateY(-3px); background: rgba(255,255,255,0.12); }
.btn__play { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; }
.btn--full { width: 100%; justify-content: center; }

/* ===== Brand logo (white chip for readability on dark) ===== */
.brand { display: inline-flex; align-items: center; gap: 8px; }
.nav .brand { background: #fff; padding: 7px 18px; border-radius: 999px; box-shadow: 0 6px 18px rgba(0,0,0,0.28); transition: padding 0.3s var(--ease); }
.brand__logo { height: 52px; width: auto; display: block; transition: height 0.3s var(--ease); }
.nav.scrolled .brand { padding: 6px 15px; }
.nav.scrolled .brand__logo { height: 42px; }
.footer .brand { background: #fff; padding: 7px 15px; border-radius: 999px; }
.footer .brand__logo { height: 32px; }
.brand__fallback { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===== Navigation (floating glass pill) ===== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 18px 16px 0; transition: padding 0.3s; }
.nav__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  max-width: 1200px; padding: 11px 14px 11px 22px;
  background: linear-gradient(100deg, rgba(216,219,224,0.94) 0%, rgba(193,197,204,0.9) 100%);
  backdrop-filter: blur(18px) saturate(130%);
  border: 1px solid rgba(255,255,255,0.6); border-radius: 999px;
  box-shadow: 0 12px 30px rgba(10,18,40,0.38), inset 0 1px 0 rgba(255,255,255,0.85);
  transition: box-shadow 0.3s, background 0.3s;
}
.nav.scrolled { padding-top: 10px; }
.nav.scrolled .nav__inner { background: linear-gradient(100deg, rgba(224,227,232,0.97) 0%, rgba(201,205,212,0.94) 100%); box-shadow: 0 16px 40px rgba(10,18,40,0.44), inset 0 1px 0 rgba(255,255,255,0.9); }

.brand { justify-self: start; }
/* silver menubar — dark text on the light pill */
.nav__links { justify-self: center; display: flex; align-items: center; gap: 2px; background: rgba(20,30,60,0.05); border: 1px solid rgba(20,30,60,0.08); border-radius: 999px; padding: 5px 6px; }
.nav__links a { position: relative; padding: 8px 16px; font-size: 0.92rem; font-weight: 500; color: var(--silver-ink); border-radius: 999px; transition: color 0.2s, background 0.2s; }
.nav__links a:hover { color: #0c1222; background: rgba(20,30,60,0.10); }
.nav__links a.active { color: #0c1222; background: rgba(20,30,60,0.10); }
.nav__cta { justify-self: end; display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; font-size: 0.9rem; font-weight: 600; color: #fff; background: var(--cta-grad); border: 0; border-radius: 999px; box-shadow: 0 8px 20px rgba(80,50,200,0.30); transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(80,50,200,0.44); }

.nav__toggle { display: none; justify-self: end; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 22px; height: 2px; background: var(--silver-ink); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero (Eclipse dark) ===== */
.hero { position: relative; overflow: hidden; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 150px 0 90px; background: transparent; }
.flutes { position: absolute; inset: 0; z-index: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,0.022) 0 1px, rgba(255,255,255,0) 1px 4px, rgba(0,0,0,0.10) 26px 27px); -webkit-mask: linear-gradient(90deg, #000 0%, #000 30%, transparent 62%); mask: linear-gradient(90deg, #000 0%, #000 30%, transparent 62%); opacity: 0.7; }
.sphere { position: absolute; right: -13%; bottom: -40%; width: min(1500px, 84vw); height: min(1500px, 84vw); border-radius: 50%; z-index: 0; background: radial-gradient(circle at 64% 60%, #18223f 0%, #0d1428 52%, #0a0f20 72%); }
.sphere::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; background: conic-gradient(from 188deg, transparent 0deg, rgba(110,140,255,0) 14deg, rgba(125,155,255,0.9) 50deg, rgba(160,125,255,0.62) 88deg, rgba(120,150,255,0) 124deg, transparent 360deg); -webkit-mask: radial-gradient(circle, transparent 66.5%, #000 68%, #000 70.5%, transparent 72.5%); mask: radial-gradient(circle, transparent 66.5%, #000 68%, #000 70.5%, transparent 72.5%); filter: blur(1.5px); }
.moon { position: absolute; right: 3%; top: -20%; width: 540px; height: 540px; border-radius: 50%; z-index: 0; background: radial-gradient(circle at 50% 70%, #121a33, #0b1124 70%); }
.hero__glow2 { position: absolute; right: 10%; bottom: 14%; width: 660px; height: 660px; border-radius: 50%; z-index: 0; background: radial-gradient(circle, rgba(80,110,235,0.20), transparent 62%); filter: blur(55px); }

.hero .container { max-width: 1340px; position: relative; z-index: 2; }
.hero__inner { display: grid; grid-template-columns: 1.18fr 0.82fr; align-items: end; gap: 40px; }
.hero__hl h1 { font-family: "Space Grotesk", sans-serif; font-size: clamp(3rem, 5.6vw, 5.2rem); line-height: 1.0; letter-spacing: -0.03em; font-weight: 600; color: #fff; white-space: nowrap; }
.hero__tag { margin-top: 30px; font-family: "Space Grotesk", sans-serif; font-size: 1.15rem; color: #dfe4f5; }
.hero__avatars { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.hero__avatars .row { display: flex; }
.hero__avatars .row span { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -10px; background-size: cover; background-position: center; }
.hero__avatars .row span:first-child { margin-left: 0; }
.hero__avatars small { color: var(--muted); font-size: 0.86rem; }
.hero__hr { display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 26px; padding-bottom: 8px; }
.hero__hr p { color: var(--text-2); font-size: 1.12rem; line-height: 1.55; max-width: 380px; }
.hero__acts { display: flex; gap: 14px; }
.btnw { display: inline-flex; align-items: center; gap: 14px; background: #fff; color: #0c1222; border-radius: 999px; padding: 8px 8px 8px 24px; font-weight: 600; font-size: 0.98rem; cursor: pointer; transition: transform 0.25s var(--ease); }
.btnw:hover { transform: translateY(-3px); }
.btnw .a { width: 34px; height: 34px; border-radius: 50%; background: #0c1222; color: #fff; display: grid; place-items: center; }
.btng { display: inline-flex; align-items: center; background: rgba(255,255,255,0.07); color: #fff; border: 1px solid rgba(255,255,255,0.16); border-radius: 999px; padding: 15px 28px; font-weight: 600; font-size: 0.98rem; cursor: pointer; transition: transform 0.25s var(--ease), background 0.25s; }
.btng:hover { transform: translateY(-3px); background: rgba(255,255,255,0.13); }

/* ===== Trust strip ===== */
.trust { padding: 30px 0 6px; }
.trust__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 26px; }
.trust span { color: var(--muted); font-size: 0.85rem; }
.trust ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.trust li { font-family: "Space Grotesk", sans-serif; font-weight: 600; color: var(--text-2); font-size: 0.95rem; opacity: 0.75; }

/* ===== Sections ===== */
.section { padding: clamp(44px, 6.5vh, 104px) 0; position: relative; }
.section--alt { background: rgba(255, 255, 255, 0.03); }
.section__head { max-width: 680px; margin-bottom: clamp(20px, 3vh, 50px); }
.section__title { font-size: clamp(1.75rem, 1rem + 1.8vw, 2.5rem); letter-spacing: -0.02em; margin-bottom: 14px; }
.section__sub { color: var(--muted); font-size: 1.06rem; }

/* ===== Service cards ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px 30px; position: relative; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card:hover::before { transform: scaleX(1); }
.card__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(31,60,240,0.12), rgba(245,51,29,0.10)); color: var(--brand-violet); margin-bottom: 22px; transition: transform 0.4s var(--ease); }
.card:hover .card__icon { transform: scale(1.08) rotate(-4deg); }
.card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.97rem; margin-bottom: 20px; }
.card__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.card__tags li { font-size: 0.78rem; padding: 5px 12px; border-radius: 999px; background: var(--surface-tint); border: 1px solid var(--line-soft); color: var(--text-2); }

/* ===== Products (Services) ===== */
.products { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.products .card { display: flex; flex-direction: column; padding: 24px 24px 22px; }
.products .card h3 { margin-bottom: 3px; }
.products .card p { font-size: 0.92rem; line-height: 1.5; margin-bottom: 16px; }
.products .card__tags { margin-top: auto; }
.pcard__art { height: clamp(84px, 10.5vh, 110px); margin-bottom: 8px; }
.pcard__art svg { height: 100%; width: auto; max-width: 100%; display: block; transition: transform 0.4s var(--ease); }
.card:hover .pcard__art svg { transform: translateY(-5px); }
.pcard__cat { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em; color: var(--brand-violet); margin-bottom: 12px; }

/* ===== Industries — expanding accordion ===== */
.industries-acc { display: flex; gap: 12px; height: clamp(340px, 54vh, 520px); }
.iacc {
  position: relative; flex-grow: 1; flex-shrink: 1; flex-basis: 0; min-width: 0; overflow: hidden;
  border-radius: 20px; border: 1px solid var(--line); cursor: pointer;
  transition: flex-grow 0.55s var(--ease);
}
.iacc__img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.7s var(--ease); }
.iacc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,11,24,0.10) 30%, rgba(8,11,24,0.88)); }
.iacc:hover, .iacc:focus-visible { flex-grow: 4.2; }
.iacc:hover .iacc__img, .iacc:focus-visible .iacc__img { transform: scale(1.07); }
.iacc:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 3px; }
/* fixed-width label so text never rewraps as the panel resizes (prevents jerk) */
.iacc__body { position: absolute; left: 0; bottom: 0; width: 340px; z-index: 2; padding: 24px 22px; }
.iacc__body::before { content: ""; display: block; width: 30px; height: 3px; border-radius: 3px; background: var(--grad); margin-bottom: 14px; }
.iacc__title { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 1.1rem; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iacc__desc { color: rgba(255,255,255,0.82); font-size: 0.9rem; line-height: 1.5; margin-top: 8px; max-width: 320px; min-height: 44px; opacity: 0; transform: translateY(8px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.iacc:hover .iacc__desc, .iacc:focus-visible .iacc__desc { opacity: 1; transform: none; }

/* ===== Case studies ===== */
.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.work-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.work-card__media { position: relative; height: clamp(126px, 19vh, 224px); overflow: hidden; }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.work-card:hover .work-card__media img { transform: scale(1.06); }
.work-card__tag {
  position: absolute; top: 14px; left: 14px;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(6px);
  color: var(--brand-violet); box-shadow: var(--shadow-sm);
}
.work-card__body { padding: clamp(16px, 2.4vh, 24px) 24px clamp(18px, 2.6vh, 26px); flex: 1; display: flex; flex-direction: column; }
.work-card__body h3 { font-size: 1.25rem; margin-bottom: 10px; }
.work-card__body p { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.work-card__metrics { list-style: none; display: flex; gap: 12px; flex-wrap: wrap; margin-top: auto; }
.work-card__metrics li {
  flex: 1; min-width: 110px; padding: 12px 14px;
  border-radius: 14px; background: var(--surface-tint); border: 1px solid var(--line-soft);
}
.work-card__metrics strong {
  display: block; font-family: "Space Grotesk", sans-serif; font-size: 1.02rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.work-card__metrics span { font-size: 0.78rem; color: var(--muted); }
.work__cta {
  margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 18px; text-align: center;
}
.work__cta p { font-family: "Space Grotesk", sans-serif; font-size: 1.15rem; color: var(--text); font-weight: 500; }

/* visually-hidden honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ===== Process — isometric step cards ===== */
/* Process — taller section so neighbouring sections don't crowd into view */
#solutions { padding: clamp(90px, 18vh, 190px) 0; }
.iso-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.istep {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(14px, 2vh, 20px) 18px clamp(18px, 2.6vh, 26px); text-align: center; box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.istep:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.istep__art { height: clamp(104px, 14vh, 148px); margin-bottom: 6px; }
.istep__art svg { width: 100%; height: 100%; display: block; transition: transform 0.4s var(--ease); }
.istep:hover .istep__art svg { transform: translateY(-4px); }
.istep__num { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--brand-violet); }
.istep h3 { font-size: 1.18rem; margin: 6px 0 8px; }
.istep p { color: var(--muted); font-size: 0.93rem; line-height: 1.55; }

/* ===== About ===== */
/* About — taller section so the following section doesn't crowd into view */
#about { padding: clamp(90px, 20vh, 200px) 0; }
.about { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.about__text p { color: var(--text-2); margin-bottom: 18px; font-size: 1.04rem; }
.about__text em { color: var(--brand-violet); font-style: normal; font-weight: 600; }
.about__text .btn { margin-top: 14px; }
/* belief line — folds the old "Our belief" statement into About */
.about__text p.about__belief { font-family: "Space Grotesk", sans-serif; font-size: clamp(1.2rem, 1rem + 0.9vw, 1.7rem); font-weight: 600; line-height: 1.28; letter-spacing: -0.01em; color: var(--text); margin-top: 4px; margin-bottom: 0; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value { padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.value:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value strong { display: block; font-family: "Space Grotesk", sans-serif; margin-bottom: 6px; }
.value span { color: var(--muted); font-size: 0.9rem; }

/* ===== Connected platform (architecture + console) ===== */
.platform { position: relative; }
.platform::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(120,150,255,0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(120,150,255,0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask: radial-gradient(ellipse 80% 70% at 50% 42%, #000, transparent 78%);
  mask: radial-gradient(ellipse 80% 70% at 50% 42%, #000, transparent 78%);
}
.platform > .container { position: relative; z-index: 1; }
.platform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.platform__diagram { background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow-md); }
.platform__diagram svg { width: 100%; height: auto; display: block; }
.flow { stroke-dasharray: 5 9; animation: dataflow 1.1s linear infinite; }
@keyframes dataflow { to { stroke-dashoffset: -14; } }

.pmock { background: #0e1730; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); }
.pmock__top { display: flex; align-items: center; gap: 6px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.pmock__top span { width: 9px; height: 9px; border-radius: 50%; }
.pmock__top b { margin-left: 8px; font-size: 0.74rem; color: var(--muted); font-weight: 500; }
.pmock__body { padding: 20px; }
.pmock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.pmock__kpis > div { background: rgba(255,255,255,0.03); border: 1px solid var(--line-soft); border-radius: 12px; padding: 12px; }
.pmock__kpis strong { display: block; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.2rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pmock__kpis span { font-size: 0.66rem; color: var(--muted); }
.pmock__chart { display: flex; align-items: flex-end; gap: 8px; height: 124px; background: rgba(255,255,255,0.02); border: 1px solid var(--line-soft); border-radius: 12px; padding: 14px; margin-bottom: 16px; }
.pmock__chart i { flex: 1; border-radius: 5px 5px 0 0; background: var(--grad); opacity: 0.85; }
.pmock__log { font-family: ui-monospace, "Cascadia Code", Menlo, monospace; font-size: 0.74rem; color: var(--muted); display: grid; gap: 6px; }
.pmock__log b { color: #4fd99a; }
.pmock__log .dim { color: #6f7796; }

/* ===== Editorial statement band ===== */
.statement { position: relative; overflow: hidden; background: #05070f; color: #fff; padding: 120px 0; }
.statement__photo { position: absolute; inset: 0; z-index: 0; opacity: 0.5;
  background: url("../assets/connected-world.jpg") center/cover no-repeat; }
.statement::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(60% 80% at 18% 30%, rgba(31,60,240,0.30), transparent 70%),
    radial-gradient(50% 70% at 88% 70%, rgba(245,51,29,0.18), transparent 70%),
    linear-gradient(90deg, rgba(5,7,15,0.92), rgba(5,7,15,0.62)); }
.statement__inner { position: relative; z-index: 2; }
.statement__kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: #aeb6d8; font-weight: 600; margin-bottom: 22px; }
.statement__kicker::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--grad); }
.statement__big { font-family: "Space Grotesk", sans-serif; font-size: clamp(1.8rem, 3.8vw, 3.1rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.16; max-width: 1000px; color: #fff; }

/* ===== Contact ===== */
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 56px; box-shadow: var(--shadow-md); }
.contact__text p { color: var(--muted); margin-bottom: 26px; }
.contact__details { list-style: none; display: grid; gap: 18px; }
.contact__details li { display: flex; flex-direction: column; gap: 2px; }
.contact__label { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact__details a { font-size: 1.14rem; font-weight: 600; transition: color 0.2s; }
.contact__details a:hover { color: var(--brand-blue); }
.contact__form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.85rem; color: var(--text-2); font-weight: 500; }
.field input, .field textarea { width: 100%; padding: 13px 16px; background: var(--surface-tint); border: 1px solid var(--line); border-radius: 12px; color: var(--text); font-family: inherit; font-size: 0.95rem; transition: border-color 0.25s, background 0.25s, box-shadow 0.25s; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand-blue); background: rgba(255,255,255,0.04); box-shadow: 0 0 0 4px rgba(79, 124, 255, 0.16); }
.field input::placeholder, .field textarea::placeholder { color: #9aa0b6; }
.form__status { font-size: 0.9rem; min-height: 1.2em; }
.form__status.success { color: var(--brand-violet); }
.form__status.error { color: #ff7a66; }

/* ===== Footer ===== */
.footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding: 64px 0 20px; background: var(--bg); }
.footer__inner { position: relative; z-index: 1; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.footer__brand p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; margin-top: 16px; max-width: 380px; }
.footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 4px; font-family: "Inter", sans-serif; }
.footer__col a { color: var(--text-2); font-size: 0.94rem; transition: color 0.2s; }
.footer__col a:hover { color: var(--brand-blue); }
.footer__bottom { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.footer__bottom p { color: var(--muted); font-size: 0.85rem; }
.footer__slogan { letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.72rem !important; }
/* oversized brand wordmark for a bold footer impact */
.footer__wordmark {
  font-family: "Space Grotesk", sans-serif; font-weight: 700;
  font-size: clamp(4.5rem, 24vw, 22rem); line-height: 0.78; letter-spacing: 0.04em;
  text-align: center; white-space: nowrap; margin: 24px 0 -0.16em;
  background: linear-gradient(180deg, rgba(200,206,218,0.09), rgba(200,206,218,0.012));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none; pointer-events: none;
}

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
/* floating cards keep their bob animation after reveal */
.floatcard.reveal { transform: translateY(30px); }
.floatcard.reveal.in { transform: none; }
.floatcard--b.reveal { transform: translateX(-50%) translateY(30px); }
.floatcard--b.reveal.in { transform: translateX(-50%); }

/* ===== Responsive ===== */
@media (max-width: 1040px) {
  .hero { min-height: 0; padding: 124px 0 64px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; align-items: start; }
  .hero__hr { align-items: flex-start; text-align: left; }
  .sphere { right: -42%; bottom: -18%; }
}

@media (max-width: 900px) {
  .cards, .industries, .work, .iso-steps { grid-template-columns: 1fr 1fr; }
  /* industries accordion → swipeable horizontal scroller */
  .industries-acc { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; gap: 14px; padding-bottom: 8px; }
  .iacc { flex: 0 0 78%; height: 380px; scroll-snap-align: center; }
  .iacc:hover, .iacc:focus-visible { flex: 0 0 78%; }
  .iacc__body { width: auto; right: 0; }
  .iacc__desc { opacity: 1; transform: none; }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .platform__grid { grid-template-columns: 1fr; gap: 28px; }
  .contact__inner { grid-template-columns: 1fr; padding: 40px 28px; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }

  .nav__inner { grid-template-columns: 1fr auto; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(82vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px;
    padding: 40px; background: rgba(10,11,16,0.98); backdrop-filter: blur(16px);
    border: none; border-left: 1px solid var(--line); border-radius: 0; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform 0.4s var(--ease);
  }
  .nav__links.open { transform: translateX(0); }
  /* drawer sits on dark bg → links revert to light */
  .nav__links a { font-size: 1.1rem; color: var(--text-2); }
  .nav__links a:hover, .nav__links a.active { color: #fff; background: rgba(255,255,255,0.08); }
}

@media (max-width: 620px) {
  .cards, .industries, .values, .work, .iso-steps { grid-template-columns: 1fr; }
  .hero__hl h1 { white-space: normal; font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .hero__acts { flex-wrap: wrap; }
  .section { padding: 74px 0; }
}
