/* HJ Security TO-BE experience shell
   Shared by the canonical root pages. Keep component names hj-* scoped. */
:root {
  --hj-navy-950: #060a13;
  --hj-navy-925: #080d18;
  --hj-navy-900: #0a0e1a;
  --hj-navy-850: #0f1424;
  --hj-navy-800: #141a2e;
  --hj-line: rgba(255, 255, 255, .10);
  --hj-line-soft: rgba(255, 255, 255, .055);
  --hj-cyan: #00d4ff;
  --hj-cyan-soft: rgba(0, 212, 255, .12);
  --hj-cyan-line: rgba(0, 212, 255, .32);
  --hj-white: #fff;
  --hj-text: #e9edf6;
  --hj-muted: #aab3c9;
  --hj-dim: #7d879e;
  --hj-green: #25d366;
  --hj-max: 1180px;
  --hj-header-height: 74px;
  --hj-radius-lg: 18px;
  --hj-radius-md: 12px;
  --hj-shadow: 0 24px 60px rgba(0, 0, 0, .36);
}

html { scroll-padding-top: calc(var(--hj-header-height) + 24px); }
body.hj-menu-open { overflow: hidden; }
.hj-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.hj-skip-link {
  position: fixed;
  z-index: 1100;
  top: 10px;
  left: 10px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  color: #06111c;
  background: var(--hj-cyan);
  border: 2px solid var(--hj-white);
  border-radius: 9px;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform .15s ease;
}
.hj-skip-link:focus { transform: translateY(0); }

/* Inline editorial links must not rely on colour alone. Card/button links keep
   their component affordance, while plain links get a durable underline. */
main p a:not([class]),
main li a:not([class]) {
  text-decoration: underline;
  text-decoration-thickness: .09em;
  text-underline-offset: .18em;
}

/* ---------- Global shell ---------- */
.site-header.hj-shell-header {
  position: sticky;
  inset: 0 0 auto;
  z-index: 1000;
  min-height: var(--hj-header-height);
  background: rgba(8, 13, 24, .96);
  border-bottom: 1px solid var(--hj-line);
  backdrop-filter: blur(16px);
}
.site-header.hj-shell-header::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--hj-cyan) 48%, transparent 95%);
  opacity: .45;
}
.hj-shell-inner {
  width: min(calc(100% - 40px), 1240px);
  min-height: var(--hj-header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}
.hj-shell-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: var(--hj-white);
  font: 700 1.05rem/1.05 'Space Grotesk', sans-serif;
  letter-spacing: .01em;
}
.hj-shell-logo-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 9px;
  color: #07111d;
  background: linear-gradient(145deg, #59e5ff, #1688bb);
  box-shadow: 0 0 24px rgba(0, 212, 255, .16);
}
.hj-shell-logo-mark svg { width: 19px; height: 19px; }
.hj-shell-logo small {
  display: block;
  margin-top: 4px;
  color: var(--hj-dim);
  font: 500 .56rem/1 'Inter', sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hj-shell-desktop {
  margin-left: auto;
  display: none;
  align-items: stretch;
  gap: 2px;
}
.hj-shell-navitem { position: relative; display: flex; align-items: stretch; }
.hj-shell-link,
.hj-shell-menu-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: var(--hj-muted);
  background: transparent;
  font: 600 .88rem/1 'Inter', sans-serif;
}
.hj-shell-link { padding: 0 9px 0 13px; }
.hj-shell-menu-button { width: 28px; padding: 0 8px 0 3px; }
.hj-shell-menu-button svg { width: 13px; height: 13px; transition: transform .18s ease; }
.hj-shell-navitem:hover > .hj-shell-link,
.hj-shell-navitem:focus-within > .hj-shell-link,
.hj-shell-navitem.is-open > .hj-shell-link,
body[data-hj-section="products"] .hj-shell-link[data-hj-section-link="products"],
body[data-hj-section="industries"] .hj-shell-link[data-hj-section-link="industries"],
body[data-hj-section="projects"] .hj-shell-link[data-hj-section-link="projects"],
body[data-hj-section="solutions"] .hj-shell-link[data-hj-section-link="products"],
body[data-hj-section="service"] .hj-shell-link[data-hj-section-link="service"],
body[data-hj-section="support"] .hj-shell-menu-button[data-hj-section-link="support"] {
  color: var(--hj-white);
}
.hj-shell-navitem:hover > .hj-shell-menu-button,
.hj-shell-navitem:focus-within > .hj-shell-menu-button,
.hj-shell-navitem.is-open > .hj-shell-menu-button { color: var(--hj-cyan); }
.hj-shell-navitem.is-open > .hj-shell-menu-button svg { transform: rotate(180deg); }
.hj-shell-link[data-hj-section-link]::after,
.hj-shell-menu-button[data-hj-section-link="support"]::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 8px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--hj-cyan);
  box-shadow: 0 0 10px rgba(0, 212, 255, .65);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
}
body[data-hj-section="products"] .hj-shell-link[data-hj-section-link="products"]::after,
body[data-hj-section="industries"] .hj-shell-link[data-hj-section-link="industries"]::after,
body[data-hj-section="projects"] .hj-shell-link[data-hj-section-link="projects"]::after,
body[data-hj-section="solutions"] .hj-shell-link[data-hj-section-link="products"]::after,
body[data-hj-section="service"] .hj-shell-link[data-hj-section-link="service"]::after,
body[data-hj-section="support"] .hj-shell-menu-button[data-hj-section-link="support"]::after { transform: scaleX(1); }
.hj-shell-popover {
  position: absolute;
  top: calc(100% + 13px);
  left: 50%;
  width: min(780px, calc(100vw - 40px));
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -8px);
  border: 1px solid var(--hj-cyan-line);
  border-radius: var(--hj-radius-lg);
  background:
    linear-gradient(150deg, rgba(0, 212, 255, .05), transparent 35%),
    rgba(8, 13, 24, .99);
  box-shadow: var(--hj-shadow);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.hj-shell-navitem:hover > .hj-shell-popover,
.hj-shell-navitem.is-open > .hj-shell-popover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.hj-shell-navitem.is-suppressed > .hj-shell-popover,
.hj-shell-navitem.is-suppressed:hover > .hj-shell-popover {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -8px);
}
.hj-shell-popover::before {
  content: "";
  position: absolute;
  inset: -7px 0 auto;
  height: 8px;
}
.hj-shell-popover-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.hj-shell-menu-heading {
  margin: 0 0 11px;
  color: var(--hj-white);
  font: 700 .94rem/1.25 'Space Grotesk', sans-serif;
}
.hj-shell-popover ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hj-shell-popover li { margin: 0; }
.hj-shell-popover a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  color: var(--hj-muted);
  font-size: .82rem;
}
.hj-shell-popover a::before { content: "›"; color: var(--hj-cyan); font-size: 1rem; }
.hj-shell-popover a:hover,
.hj-shell-popover a:focus-visible { color: var(--hj-white); }
.hj-shell-popover-all {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--hj-line);
}
.hj-shell-popover-all a { color: var(--hj-cyan); font-weight: 700; }
.hj-shell-popover--products { width: min(980px, calc(100vw - 40px)); }
.hj-shell-popover--products .hj-shell-popover-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hj-shell-popover--industries { width: min(820px, calc(100vw - 40px)); }
.hj-shell-popover--industries .hj-shell-popover-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hj-shell-popover--service { left: auto; right: -120px; width: min(900px, calc(100vw - 40px)); transform: translateY(-8px); }
.hj-shell-popover--service .hj-shell-popover-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hj-shell-navitem:hover > .hj-shell-popover--service,
.hj-shell-navitem.is-open > .hj-shell-popover--service { transform: translateY(0); }
.hj-shell-popover--support { left: auto; right: 0; width: 310px; transform: translateY(-8px); }
.hj-shell-navitem:hover > .hj-shell-popover--support,
.hj-shell-navitem.is-open > .hj-shell-popover--support { transform: translateY(0); }
.hj-shell-popover--support .hj-shell-popover-grid { grid-template-columns: 1fr; }
.hj-shell-cta,
.hj-shell-mobile-wa {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  font: 700 .84rem/1 'Inter', sans-serif;
}
.hj-shell-cta {
  flex: none;
  padding: 0 17px;
  color: #06111c;
  background: linear-gradient(135deg, #64e4ff, #20b6e9);
  box-shadow: 0 8px 24px rgba(0, 212, 255, .16);
}
.hj-shell-cta:hover { filter: brightness(1.07); transform: translateY(-1px); }
.hj-shell-mobile-wa {
  margin-left: auto;
  padding: 0 11px;
  color: #06190e;
  background: var(--hj-green);
}
.hj-shell-mobile-wa svg { width: 18px; height: 18px; }
.hj-shell-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: none;
  padding: 0;
  color: var(--hj-white);
  border: 1px solid var(--hj-line);
  border-radius: 10px;
  background: var(--hj-navy-800);
}
.hj-shell-toggle svg { width: 21px; height: 21px; }
.hj-shell-toggle .hj-close-icon { display: none; }
.hj-shell-toggle[aria-expanded="true"] .hj-menu-icon { display: none; }
.hj-shell-toggle[aria-expanded="true"] .hj-close-icon { display: block; }
.hj-shell-mobile-nav {
  position: absolute;
  z-index: 999;
  inset: 100% 0 auto;
  height: calc(100dvh - var(--hj-header-height));
  display: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px max(20px, calc((100vw - 720px) / 2)) calc(34px + env(safe-area-inset-bottom));
  background: rgba(6, 10, 19, .995);
}
.hj-shell-mobile-nav.is-open { display: block; }
.hj-mobile-home,
.hj-mobile-direct,
.hj-mobile-group > summary {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  color: var(--hj-text);
  border-bottom: 1px solid var(--hj-line-soft);
  font-weight: 700;
  list-style: none;
}
.hj-mobile-group { margin: 0; border: 0; }
.hj-mobile-group > summary::-webkit-details-marker { display: none; }
.hj-mobile-group > summary svg { width: 16px; height: 16px; transition: transform .18s ease; }
.hj-mobile-group[open] > summary { color: var(--hj-cyan); }
.hj-mobile-group[open] > summary svg { transform: rotate(180deg); }
.hj-mobile-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 6px 14px 13px 24px;
  border-bottom: 1px solid var(--hj-line-soft);
}
.hj-mobile-links a { min-height: 44px; display: flex; align-items: center; color: var(--hj-muted); font-size: .9rem; }
.hj-mobile-links a:hover,
.hj-mobile-links a:focus-visible { color: var(--hj-white); }
.hj-mobile-subheading {
  margin: 11px 0 3px;
  color: var(--hj-cyan);
  font: 700 .69rem/1.35 'JetBrains Mono', monospace;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.hj-mobile-subheading:first-child { margin-top: 5px; }
.hj-mobile-primary { margin-top: 20px; }
.hj-mobile-primary .hj-shell-cta { width: 100%; }

/* ---------- Compact footer ---------- */
.site-footer.hj-shell-footer {
  padding: 48px 0 24px;
  color: var(--hj-text);
  border-top: 1px solid var(--hj-line);
  background: var(--hj-navy-950);
}
.hj-footer-inner { width: min(calc(100% - 40px), var(--hj-max)); margin: 0 auto; }
.hj-footer-brand-row {
  display: grid;
  gap: 18px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--hj-line);
}
.hj-footer-brand-row p { margin: 0; max-width: 75ch; color: var(--hj-muted); font-size: .9rem; }
.hj-footer-role { color: var(--hj-dim); font-size: .8rem; }
.hj-footer-role strong { color: var(--hj-cyan); }
.hj-footer-grid { display: grid; gap: 28px; padding: 30px 0; }
.hj-footer-heading {
  margin: 0 0 12px;
  color: var(--hj-dim);
  font: 700 .72rem/1 'Inter', sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.hj-footer-group ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.hj-footer-group li { margin: 0; color: var(--hj-muted); font-size: .86rem; }
.hj-footer-group a { color: var(--hj-muted); }
.hj-footer-group a:hover,
.hj-footer-group a:focus-visible { color: var(--hj-cyan); }
.hj-footer-contact-copy { line-height: 1.55; }
.hj-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 20px;
  color: var(--hj-dim);
  border-top: 1px solid var(--hj-line);
  font-size: .76rem;
}
.hj-footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---------- Mobile conversion bar ---------- */
.hj-sticky-actions { display: none; }

/* ---------- Shared TO-BE content ---------- */
.hj-container { width: min(calc(100% - 40px), var(--hj-max)); margin: 0 auto; }
.hj-section { position: relative; padding: 72px 0; }
.hj-section--alt { background: linear-gradient(180deg, var(--hj-navy-850), var(--hj-navy-900)); }
.hj-section-head { max-width: 760px; margin-bottom: 32px; }
.hj-section-head h2 { margin: 0; color: var(--hj-white); font: 700 clamp(1.75rem, 3.2vw, 2.65rem)/1.08 'Space Grotesk', sans-serif; }
.hj-section-head p { margin: 13px 0 0; color: var(--hj-muted); }
.hj-section-link { display: inline-flex; align-items: center; gap: 8px; color: var(--hj-cyan); font-weight: 700; }
.hj-section-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.hj-action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #06111c;
  background: linear-gradient(135deg, #64e4ff, #20b6e9);
  font-weight: 800;
}
.hj-action--outline { color: var(--hj-text); border-color: rgba(0, 212, 255, .55); background: transparent; }
.hj-action--whatsapp { color: #06190e; background: var(--hj-green); }
.hj-action:hover { filter: brightness(1.07); transform: translateY(-1px); }

/* Homepage */
.hj-home-hero {
  position: relative;
  overflow: hidden;
  min-height: min(690px, calc(100vh - var(--hj-header-height)));
  display: grid;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--hj-line);
  background:
    linear-gradient(rgba(0, 212, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, .035) 1px, transparent 1px),
    radial-gradient(circle at 78% 52%, rgba(0, 212, 255, .10), transparent 35%);
  background-size: 48px 48px, 48px 48px, auto;
}
.hj-home-hero::after {
  content: "";
  position: absolute;
  right: 5%;
  bottom: 8%;
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--hj-cyan);
  border-bottom: 2px solid var(--hj-cyan);
  opacity: .65;
}
.hj-home-hero-grid { position: relative; z-index: 1; display: grid; gap: 36px; align-items: center; }
.hj-home-copy h1 {
  max-width: 760px;
  margin: 0;
  color: var(--hj-white);
  font: 700 clamp(2.45rem, 5.2vw, 4.55rem)/1.03 'Space Grotesk', sans-serif;
  letter-spacing: -.035em;
}
.hj-home-copy h1 span { color: var(--hj-cyan); }
.hj-home-copy > p { max-width: 66ch; margin: 24px 0 0; color: var(--hj-muted); font-size: 1.06rem; }
.hj-home-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hj-home-visual { position: relative; min-width: 0; }
.hj-home-visual::before {
  content: "";
  position: absolute;
  inset: 13% 6%;
  border: 1px solid rgba(0, 212, 255, .24);
  clip-path: polygon(0 0, 17% 0, 17% 1px, 83% 1px, 83% 0, 100% 0, 100% 17%, calc(100% - 1px) 17%, calc(100% - 1px) 83%, 100% 83%, 100% 100%, 83% 100%, 83% calc(100% - 1px), 17% calc(100% - 1px), 17% 100%, 0 100%, 0 83%, 1px 83%, 1px 17%, 0 17%);
}
.hj-home-visual img { width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 24px 36px rgba(0, 0, 0, .28)); }
.hj-axis-label {
  display: block;
  margin-bottom: 9px;
  color: var(--hj-cyan);
  font: 700 .7rem/1.3 'JetBrains Mono', monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hj-boundary-note {
  margin: 20px 0 0;
  padding: 15px 17px;
  color: var(--hj-muted);
  border-left: 2px solid var(--hj-cyan);
  background: rgba(0, 212, 255, .055);
  font-size: .88rem;
}
.hj-boundary-note strong { color: var(--hj-white); }
.hj-intent-rail,
.hj-solution-rail { display: grid; border: 1px solid var(--hj-line); border-radius: var(--hj-radius-lg); overflow: hidden; }
.hj-intent-item,
.hj-solution-item {
  position: relative;
  min-height: 138px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  color: var(--hj-text);
  border-bottom: 1px solid var(--hj-line);
  background: rgba(255, 255, 255, .018);
}
.hj-intent-item:last-child,
.hj-solution-item:last-child { border-bottom: 0; }
.hj-intent-item::after,
.hj-solution-item::after { content: "→"; color: var(--hj-cyan); font-size: 1.15rem; }
.hj-intent-item:hover,
.hj-solution-item:hover { background: var(--hj-cyan-soft); }
.hj-intent-number { color: var(--hj-cyan); font: 600 .76rem 'JetBrains Mono', monospace; }
.hj-intent-item strong,
.hj-solution-item strong { color: var(--hj-white); font-family: 'Space Grotesk', sans-serif; }
.hj-solution-item small { color: var(--hj-dim); line-height: 1.45; }
.hj-solution-item:first-child { background: linear-gradient(145deg, rgba(0, 212, 255, .13), rgba(255, 255, 255, .02)); }
.hj-industry-grid,
.hj-project-grid { display: grid; gap: 14px; }
.hj-industry-item,
.hj-project-card {
  min-width: 0;
  border: 1px solid var(--hj-line);
  border-radius: var(--hj-radius-lg);
  background: rgba(255, 255, 255, .022);
  overflow: hidden;
}
.hj-industry-item { min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; }
.hj-industry-item strong { color: var(--hj-white); font-family: 'Space Grotesk', sans-serif; }
.hj-industry-item span { color: var(--hj-muted); font-size: .86rem; }
.hj-industry-item:hover { border-color: var(--hj-cyan-line); transform: translateY(-2px); }
.hj-project-frame {
  min-height: 190px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  color: var(--hj-white);
  background:
    linear-gradient(180deg, rgba(0, 212, 255, .03), rgba(6, 10, 19, .92)),
    linear-gradient(rgba(0, 212, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, .045) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
}
.hj-project-frame strong { font: 700 1.12rem/1.2 'Space Grotesk', sans-serif; }
.hj-project-body { padding: 18px; }
.hj-project-body p { margin: 0 0 13px; color: var(--hj-muted); font-size: .88rem; }
.hj-process-rail { display: grid; gap: 0; counter-reset: hjstep; border-top: 1px solid var(--hj-cyan-line); }
.hj-process-step { position: relative; padding: 24px 16px 16px 46px; counter-increment: hjstep; border-bottom: 1px solid var(--hj-line); }
.hj-process-step::before { content: counter(hjstep, decimal-leading-zero); position: absolute; left: 12px; top: 24px; color: var(--hj-cyan); font: 600 .74rem 'JetBrains Mono', monospace; }
.hj-process-step strong { display: block; color: var(--hj-white); }
.hj-process-step span { display: block; margin-top: 4px; color: var(--hj-dim); font-size: .8rem; }
.hj-role-grid { display: grid; gap: 16px; }
.hj-role-panel { padding: 26px; border: 1px solid var(--hj-line); border-radius: var(--hj-radius-lg); background: rgba(255, 255, 255, .02); }
.hj-role-panel h3 { margin: 0; color: var(--hj-white); font: 700 1.25rem 'Space Grotesk', sans-serif; }
.hj-role-panel h3 span { color: var(--hj-cyan); }
.hj-role-panel p { margin: 10px 0 0; color: var(--hj-muted); }
.hj-role-panel ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--hj-muted); font-size: .88rem; }
.hj-role-panel li::before { content: "✓"; margin-right: 9px; color: var(--hj-cyan); }
.hj-final-cta { padding: 58px 0; border-block: 1px solid var(--hj-cyan-line); background: linear-gradient(120deg, rgba(0, 212, 255, .11), rgba(15, 20, 36, .78)); }
.hj-final-cta-grid { display: grid; gap: 22px; align-items: center; }
.hj-final-cta h2 { margin: 0; color: var(--hj-white); font: 700 clamp(1.8rem, 3vw, 2.6rem)/1.08 'Space Grotesk', sans-serif; }
.hj-final-cta p { margin: 8px 0 0; color: var(--hj-muted); }
.hj-final-cta-actions { display: flex; flex-wrap: wrap; gap: 11px; }

/* Industries hub */
.hj-hub-hero { padding: 56px 0 42px; border-bottom: 1px solid var(--hj-line); }
.hj-hub-hero h1 { max-width: 900px; margin: 0; color: var(--hj-white); font: 700 clamp(2.25rem, 5vw, 4rem)/1.03 'Space Grotesk', sans-serif; }
.hj-hub-hero h1 span { color: var(--hj-cyan); }
.hj-hub-hero p { max-width: 72ch; margin: 18px 0 0; color: var(--hj-muted); }
.hj-industry-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 15px 0 4px; scrollbar-width: thin; }
.hj-industry-tab {
  min-height: 44px;
  flex: none;
  padding: 0 13px;
  color: var(--hj-muted);
  border: 1px solid var(--hj-line);
  border-radius: 9px;
  background: transparent;
  font-weight: 700;
}
.hj-industry-tab[aria-selected="true"] { color: #06111c; border-color: var(--hj-cyan); background: var(--hj-cyan); }
.hj-industry-panel { padding-top: 34px; }
.hj-js .hj-industry-panel[hidden] { display: none !important; }
.hj-industry-panel-grid { display: grid; gap: 28px; }
.hj-industry-panel-copy h2 { margin: 0; color: var(--hj-white); font: 700 clamp(1.75rem, 3vw, 2.5rem)/1.08 'Space Grotesk', sans-serif; }
.hj-industry-panel-copy > p { color: var(--hj-muted); }
.hj-industry-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hj-industry-links a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 13px; color: var(--hj-cyan); border: 1px solid var(--hj-cyan-line); border-radius: 9px; font-weight: 700; }
.hj-solution-flow { margin: 0; padding: 0; list-style: none; counter-reset: flow; border-left: 1px solid var(--hj-cyan-line); }
.hj-solution-flow li { position: relative; padding: 0 0 20px 42px; color: var(--hj-muted); counter-increment: flow; }
.hj-solution-flow li::before { content: counter(flow); position: absolute; left: -16px; top: 0; width: 31px; height: 31px; display: grid; place-items: center; color: var(--hj-cyan); border: 1px solid var(--hj-cyan-line); border-radius: 50%; background: var(--hj-navy-900); font: 600 .75rem 'JetBrains Mono', monospace; }
.hj-solution-flow strong { display: block; color: var(--hj-white); }

/* Projects hub */
.hj-project-filterbar { display: grid; gap: 12px; margin: 28px 0 12px; padding: 18px; border: 1px solid var(--hj-line); border-radius: var(--hj-radius-lg); background: rgba(255, 255, 255, .02); }
.hj-section-kicker { display: block; margin-bottom: 8px; color: var(--hj-cyan); font: 700 .72rem/1.4 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: .1em; }
body[data-hj-section="projects"] .hj-section-head strong { color: var(--hj-text); }
.hj-project-filter-fields { display: grid; gap: 12px; }
.hj-filter-field { display: grid; gap: 7px; }
.hj-filter-field label { color: var(--hj-dim); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.hj-filter-field select { width: 100%; min-height: 46px; padding: 0 13px; color: var(--hj-text); border: 1px solid var(--hj-line); border-radius: 9px; background: var(--hj-navy-900); font: 600 .9rem 'Inter', sans-serif; }
.hj-discipline-select { display: none; }
.hj-discipline-filter { min-width: 0; margin: 4px 0 0; padding: 16px 0 0; border: 0; border-top: 1px solid var(--hj-line); }
.hj-discipline-filter legend { padding: 0 10px 0 0; color: var(--hj-dim); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.hj-discipline-options { display: flex; flex-wrap: wrap; gap: 8px; }
.hj-discipline-option { min-height: 44px; padding: 8px 12px; color: var(--hj-muted); border: 1px solid var(--hj-line); border-radius: 999px; background: rgba(255, 255, 255, .018); font: 700 .78rem/1.25 'Inter', sans-serif; text-align: left; }
.hj-discipline-option:hover { color: var(--hj-white); border-color: var(--hj-cyan-line); background: var(--hj-cyan-soft); }
.hj-discipline-option[aria-pressed="true"] { color: #06111c; border-color: var(--hj-cyan); background: var(--hj-cyan); }
.hj-discipline-option:focus-visible,
.hj-filter-reset:focus-visible,
.hj-filter-field select:focus-visible { outline: 3px solid rgba(0, 212, 255, .36); outline-offset: 2px; }
.hj-project-filter-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 4px; }
.hj-filter-status { min-height: 24px; color: var(--hj-muted); font-size: .86rem; }
.hj-filter-reset { flex: none; min-height: 44px; padding: 0 12px; color: var(--hj-cyan); border: 1px solid var(--hj-cyan-line); border-radius: 9px; background: transparent; font-weight: 800; }
.hj-filter-reset:hover { color: var(--hj-white); background: var(--hj-cyan-soft); }
.hj-project-frame { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 8px; }
.hj-project-discipline { color: var(--hj-cyan); font: 700 .68rem/1.4 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: .07em; }
.hj-project-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; }
.hj-project-tags li { padding: 5px 8px; color: var(--hj-text); border: 1px solid var(--hj-line); border-radius: 999px; background: rgba(255, 255, 255, .025); font-size: .7rem; font-weight: 700; }
.hj-project-action { margin: 16px 0 0 !important; }
.hj-project-card[hidden] { display: none !important; }
.hj-project-facts { display: grid; gap: 10px; margin: 0; }
.hj-project-facts div { display: grid; grid-template-columns: 88px 1fr; gap: 10px; }
.hj-project-facts dt { color: var(--hj-cyan); font-size: .75rem; font-weight: 700; }
.hj-project-facts dd { margin: 0; color: var(--hj-muted); font-size: .82rem; }
.hj-project-empty { display: none; margin-top: 20px; padding: 28px; text-align: center; color: var(--hj-muted); border: 1px dashed var(--hj-line); border-radius: var(--hj-radius-lg); }
.hj-project-empty.is-visible { display: block; }

/* Project record and cross-page relationship modules */
.hj-project-record,
.hj-related { padding: 60px 0; border-top: 1px solid var(--hj-line); background: linear-gradient(180deg, rgba(15, 20, 36, .72), rgba(10, 14, 26, .94)); }
.hj-project-record-grid { display: grid; gap: 12px; }
.hj-record-item { padding: 20px; border-left: 2px solid var(--hj-cyan-line); background: rgba(255, 255, 255, .022); }
.hj-record-item h3 { margin: 0 0 7px; color: var(--hj-white); font-size: 1rem; }
.hj-record-item p { margin: 0; color: var(--hj-muted); font-size: .88rem; }
.hj-related-grid { display: grid; gap: 10px; }
.hj-related-link { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; color: var(--hj-text); border: 1px solid var(--hj-line); border-radius: 12px; background: rgba(255, 255, 255, .018); }
.hj-related-link:hover { color: var(--hj-white); border-color: var(--hj-cyan-line); background: var(--hj-cyan-soft); }
.hj-related-link span { display: block; color: var(--hj-dim); font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; }
.hj-related-link strong { display: block; margin-top: 3px; font-size: .9rem; }
.hj-related-link::after { content: "→"; color: var(--hj-cyan); font-size: 1.1rem; }
.hj-related-link--primary { color: #06111c; border-color: var(--hj-cyan); background: var(--hj-cyan); }
.hj-related-link--primary span { color: rgba(6, 17, 28, .7); }
.hj-related-link--primary::after { color: #06111c; }

/* Linked-page context: shows which complete HJ Solution a service, industry,
   project or support page belongs to, with a direct route back to its diagram. */
.hj-solution-context {
  padding: 64px 0;
  border-top: 1px solid var(--hj-line);
  background:
    radial-gradient(circle at 14% 12%, rgba(0, 212, 255, .09), transparent 34%),
    linear-gradient(180deg, rgba(7, 18, 32, .97), rgba(10, 14, 26, .97));
  scroll-margin-top: calc(var(--hj-header-height) + 18px);
}
.hj-solution-context--early {
  padding: 46px 0;
  border-bottom: 1px solid var(--hj-line);
}
.hj-solution-context-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--hj-cyan);
  font: 700 .68rem/1.2 'JetBrains Mono', monospace;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.hj-solution-context-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 16px;
  margin-top: 24px;
}
.hj-solution-context-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--hj-cyan-line);
  border-radius: var(--hj-radius-lg);
  background: rgba(255, 255, 255, .026);
  box-shadow: 0 20px 55px rgba(0, 0, 0, .24);
}
.hj-solution-context-visual {
  display: block;
  overflow: hidden;
  border-bottom: 1px solid var(--hj-cyan-line);
  background: #06101e;
}
.hj-solution-context-visual img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 12 / 7;
  object-fit: cover;
  transition: transform .2s ease, opacity .2s ease;
}
.hj-solution-context--early .hj-solution-context-visual img { aspect-ratio: auto; object-fit: contain; }
.hj-solution-context-visual:hover img { transform: scale(1.015); opacity: .94; }
.hj-solution-context-visual:focus-visible,
.hj-solution-context-action:focus-visible,
.hj-solution-context-copy h3 a:focus-visible {
  outline: 2px solid var(--hj-cyan);
  outline-offset: 3px;
}
.hj-solution-context-copy { padding: 18px; }
.hj-solution-context-copy > span {
  color: var(--hj-cyan);
  font: 700 .62rem/1.2 'JetBrains Mono', monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hj-solution-context-copy h3 {
  margin: 8px 0 9px;
  color: var(--hj-white);
  font: 700 1.08rem/1.25 'Space Grotesk', sans-serif;
}
.hj-solution-context-copy h3 a:hover { color: var(--hj-cyan); }
.hj-solution-context-copy p {
  margin: 0;
  color: var(--hj-muted);
  font-size: .84rem;
}
.hj-solution-context-path {
  margin-top: 15px;
  padding: 13px;
  border: 1px solid var(--hj-line);
  border-radius: 11px;
  background: rgba(0, 212, 255, .045);
}
.hj-solution-context-path > span {
  display: block;
  margin-bottom: 8px;
  color: var(--hj-dim);
  font: 700 .61rem/1.2 'JetBrains Mono', monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hj-solution-context-path ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hj-solution-context-path li {
  position: relative;
  color: var(--hj-white);
  font-size: .76rem;
  font-weight: 800;
}
.hj-solution-context-path li:not(:last-child)::after {
  content: "→";
  position: absolute;
  left: calc(100% + 7px);
  color: var(--hj-cyan);
}
.hj-solution-context-role {
  margin-top: 13px !important;
  padding-left: 12px;
  border-left: 2px solid var(--hj-cyan);
}
.hj-solution-context-role strong,
.hj-solution-context-condition strong { color: var(--hj-white); }
.hj-solution-context-condition {
  margin-top: 10px !important;
  padding: 10px 12px;
  border: 1px dashed var(--hj-cyan-line);
  border-radius: 9px;
  background: rgba(0, 212, 255, .035);
  font-size: .76rem !important;
}
.hj-solution-context-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  color: var(--hj-cyan);
  font-size: .78rem;
  font-weight: 800;
}
.hj-solution-context-action:hover { color: var(--hj-white); }
.hj-solution-context-grid[data-solution-count="1"] .hj-solution-context-card { max-width: 920px; }
.hj-solution-context-card--conditional { border-style: dashed; background: rgba(255, 255, 255, .014); }
.hj-solution-context-card--conditional .hj-solution-context-visual { opacity: .82; }

/* Existing Products finder must sit below the unified header. */
body[data-hj-section="products"] .finder-wrap { top: var(--hj-header-height) !important; }

@media (min-width: 620px) {
  .hj-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hj-intent-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hj-intent-item:nth-child(odd) { border-right: 1px solid var(--hj-line); }
  .hj-solution-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hj-solution-item:nth-child(odd) { border-right: 1px solid var(--hj-line); }
  .hj-industry-grid,
  .hj-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hj-project-record-grid,
  .hj-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hj-project-filter-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 820px) {
  .hj-home-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); }
  .hj-intent-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hj-intent-item { border-right: 1px solid var(--hj-line); border-bottom: 0; }
  .hj-intent-item:last-child { border-right: 0; }
  .hj-solution-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hj-solution-item { min-height: 180px; padding: 20px 18px; border-right: 1px solid var(--hj-line); border-bottom: 0; }
  .hj-solution-item:nth-child(-n+4) { border-bottom: 1px solid var(--hj-line); }
  .hj-solution-item:nth-child(4n) { border-right: 0; }
  .hj-industry-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hj-project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hj-process-rail { grid-template-columns: repeat(7, minmax(0, 1fr)); border-bottom: 1px solid var(--hj-line); }
  .hj-process-step { min-height: 140px; padding: 50px 12px 18px; border-right: 1px solid var(--hj-line); border-bottom: 0; }
  .hj-process-step::before { left: 12px; top: 17px; }
  .hj-process-step:last-child { border-right: 0; }
  .hj-role-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hj-final-cta-grid { grid-template-columns: minmax(0, 1fr) auto; }
  .hj-final-cta-actions { justify-content: flex-end; }
  .hj-industry-panel-grid { grid-template-columns: minmax(0, 1.08fr) minmax(330px, .72fr); align-items: start; }
  .hj-project-filterbar { padding: 22px; }
  .hj-project-record-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hj-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hj-solution-context-grid[data-solution-count="1"] .hj-solution-context-card {
    display: grid;
    grid-template-columns: minmax(300px, .8fr) minmax(0, 1fr);
  }
  .hj-solution-context-grid[data-solution-count="1"] .hj-solution-context-visual { border: 0; border-right: 1px solid var(--hj-cyan-line); }
  .hj-solution-context-grid[data-solution-count="1"] .hj-solution-context-copy { display: flex; flex-direction: column; justify-content: center; padding: 28px; }
}

@media (max-width: 819px) {
  .hj-solution-context--early .hj-solution-context-card {
    display: flex;
    flex-direction: column;
  }
  .hj-solution-context--early .hj-solution-context-copy { order: 1; }
  .hj-solution-context--early .hj-solution-context-visual {
    order: 2;
    border-top: 1px solid var(--hj-cyan-line);
    border-bottom: 0;
  }
}

@media (min-width: 1200px) {
  .hj-shell-desktop { display: flex !important; }
  .hj-shell-cta { display: inline-flex; }
  .hj-shell-mobile-wa,
  .hj-shell-toggle,
  .hj-shell-mobile-nav { display: none !important; }
  .hj-footer-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 1199px) {
  :root { --hj-header-height: 70px; }
  .hj-shell-inner { width: min(calc(100% - 28px), 900px); gap: 9px; }
  .hj-shell-logo { margin-right: auto; }
  .hj-shell-cta { display: none; }
  .hj-shell-mobile-wa,
  .hj-shell-toggle { display: inline-flex; }
}

@media (max-width: 619px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .hj-shell-logo small { display: none; }
  .hj-shell-mobile-wa { display: none; }
  .hj-sticky-actions {
    position: fixed;
    z-index: 900;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 9px;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--hj-line);
    background: rgba(8, 13, 24, .96);
    backdrop-filter: blur(14px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
  }
  body.hj-menu-open .hj-sticky-actions { display: none; }
  body.hj-primary-cta-visible .hj-sticky-actions,
  body.hj-primary-cta-visible .hj-consent-preferences {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
  }
  .hj-sticky-actions a { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 10px; font-size: .84rem; font-weight: 800; }
  .hj-sticky-wa { color: #06190e; background: var(--hj-green); }
  .hj-sticky-assessment { color: #06111c; background: var(--hj-cyan); }
  .hj-section { padding: 56px 0; }
  .hj-home-hero { min-height: auto; padding: 48px 0 36px; }
  .hj-home-copy h1 { font-size: clamp(2.18rem, 11vw, 3.1rem); }
  .hj-home-copy > p { font-size: .98rem; }
  .hj-home-actions { display: grid; grid-template-columns: 1fr; }
  .hj-home-visual { margin-top: -8px; }
  .hj-intent-item,
  .hj-solution-item { min-height: 116px; }
  .hj-final-cta-actions { display: grid; grid-template-columns: 1fr; }
  .hj-footer-bottom { align-items: flex-start; flex-direction: column; }
  .hj-discipline-select { display: grid; }
  .hj-discipline-filter { display: none; }
  .hj-project-facts div { grid-template-columns: 78px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hj-shell-popover,
  .hj-shell-menu-button svg,
  .hj-mobile-group > summary svg,
  .hj-action,
  .hj-industry-item { transition: none !important; }
  .hj-solution-context-visual img { transition: none !important; }
  .hj-sticky-actions { transition: none !important; }
}
