/* HJ premium Master hubs — Phase 1
   Scoped to Home, Solution and Project. The authoritative copy and behaviour
   remain in the hub templates; this layer controls only visual presentation. */

:is(
  body[data-hj-section="home"],
  body[data-hj-section="industries"],
  body[data-hj-section="projects"]
) {
  --hj-master-ink: #04070d;
  --hj-master-panel: #080e18;
  --hj-master-panel-2: #0b1320;
  --hj-master-rule: rgba(137, 192, 218, .18);
  --hj-master-rule-strong: rgba(88, 215, 247, .38);
  --hj-master-cyan: #57dcf8;
  --hj-master-copy: #afbdcc;
}

:is(
  body[data-hj-section="home"],
  body[data-hj-section="industries"],
  body[data-hj-section="projects"]
) .hj-master-hub {
  position: relative;
  isolation: isolate;
  overflow: clip;
  color: var(--hj-text);
  background: var(--hj-master-ink);
  counter-reset: hj-master-section;
}

:is(
  body[data-hj-section="home"],
  body[data-hj-section="industries"],
  body[data-hj-section="projects"]
) .hj-master-hub::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 86% 5%, rgba(39, 184, 222, .09), transparent 22rem),
    radial-gradient(circle at 4% 36%, rgba(39, 184, 222, .045), transparent 28rem);
}

.hj-master-hub .hj-section {
  position: relative;
  padding: clamp(68px, 7vw, 104px) 0;
  counter-increment: hj-master-section;
  border-top: 1px solid var(--hj-master-rule);
  background: transparent;
}

.hj-master-hub .hj-section--alt {
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, .012) 22%, rgba(255, 255, 255, .012) 78%, transparent),
    #060a11;
}

.hj-master-hub .hj-section-head {
  position: relative;
  max-width: 820px;
  margin-bottom: clamp(30px, 4vw, 50px);
  padding-left: 48px;
}

.hj-master-hub .hj-section-head::before {
  content: counter(hj-master-section, decimal-leading-zero);
  position: absolute;
  top: .42rem;
  left: 0;
  color: var(--hj-master-cyan);
  font: 600 .68rem/1 'JetBrains Mono', monospace;
  letter-spacing: .08em;
}

.hj-master-hub .hj-section-head::after {
  content: "";
  position: absolute;
  top: .68rem;
  left: 25px;
  width: 13px;
  height: 1px;
  background: var(--hj-master-rule-strong);
}

.hj-master-hub .hj-section-head h2 {
  max-width: 760px;
  color: #f4f8fb;
  font: 650 clamp(1.9rem, 3.2vw, 3rem)/1.05 'Space Grotesk', sans-serif;
  letter-spacing: -.035em;
}

.hj-master-hub .hj-section-head p {
  max-width: 70ch;
  margin-top: 15px;
  color: var(--hj-master-copy);
  line-height: 1.72;
}

.hj-master-hub .hj-axis-label,
.hj-master-hub .hj-section-kicker {
  margin-bottom: 12px;
  color: var(--hj-master-cyan);
  font-size: .66rem;
  letter-spacing: .13em;
}

.hj-master-hub .hj-action {
  min-height: 48px;
  border-radius: 10px;
  box-shadow: none;
  letter-spacing: -.01em;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
}

.hj-master-hub .hj-action:not(.hj-action--outline):not(.hj-action--whatsapp) {
  background: var(--hj-master-cyan);
}

.hj-master-hub .hj-action--outline {
  border-color: var(--hj-master-rule-strong);
  background: rgba(5, 10, 17, .38);
}

.hj-master-hub .hj-action--whatsapp {
  color: #c7f6d6;
  border-color: rgba(37, 211, 102, .42);
  background: rgba(37, 211, 102, .10);
}

.hj-master-hub .hj-action:focus-visible,
.hj-master-hub a:focus-visible,
.hj-master-hub button:focus-visible,
.hj-master-hub select:focus-visible {
  outline: 2px solid var(--hj-master-cyan);
  outline-offset: 4px;
}

/* ---------- Home Master ---------- */
body[data-hj-section="home"] .hj-home-hero {
  min-height: min(720px, calc(100vh - var(--hj-header-height)));
  padding: clamp(58px, 7vw, 92px) 0;
  border-bottom-color: var(--hj-master-rule);
  background:
    linear-gradient(90deg, rgba(4, 7, 13, .98) 0%, rgba(4, 7, 13, .90) 47%, rgba(4, 7, 13, .52) 100%),
    radial-gradient(circle at 77% 48%, rgba(64, 209, 242, .10), transparent 29rem);
}

body[data-hj-section="home"] .hj-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .38;
  background:
    linear-gradient(rgba(109, 204, 231, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109, 204, 231, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 58%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 58%, #000 100%);
}

body[data-hj-section="home"] .hj-home-hero::after {
  right: 4.5%;
  bottom: 7%;
  width: 42px;
  height: 42px;
  border-color: var(--hj-master-cyan);
  opacity: .46;
}

body[data-hj-section="home"] .hj-home-hero-grid {
  gap: clamp(34px, 5vw, 76px);
}

body[data-hj-section="home"] .hj-home-copy {
  position: relative;
  padding-top: 25px;
}

body[data-hj-section="home"] .hj-home-copy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 86px;
  height: 2px;
  background: linear-gradient(90deg, var(--hj-master-cyan), transparent);
}

body[data-hj-section="home"] .hj-home-copy h1 {
  max-width: 720px;
  font-size: clamp(2.65rem, 5vw, 4.35rem);
  font-weight: 650;
  letter-spacing: -.047em;
}

body[data-hj-section="home"] .hj-home-copy h1 span {
  color: var(--hj-master-cyan);
}

body[data-hj-section="home"] .hj-home-copy > p {
  max-width: 62ch;
  color: var(--hj-master-copy);
  line-height: 1.72;
}

body[data-hj-section="home"] .hj-home-actions {
  gap: 10px;
  margin-top: 32px;
}

body[data-hj-section="home"] .hj-home-visual {
  padding: 34px 16px 18px;
  border: 1px solid var(--hj-master-rule);
  border-radius: 2px;
  background:
    linear-gradient(rgba(100, 206, 235, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 206, 235, .055) 1px, transparent 1px),
    linear-gradient(145deg, rgba(16, 27, 42, .56), rgba(5, 10, 17, .18));
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .30);
}

body[data-hj-section="home"] .hj-home-visual::before {
  inset: 12px;
  border-color: var(--hj-master-rule-strong);
  opacity: .46;
}

.hj-home-visual-index {
  position: absolute;
  z-index: 2;
  top: 13px;
  left: 16px;
  color: #7e9bac;
  font: 600 .58rem/1 'JetBrains Mono', monospace;
  letter-spacing: .14em;
}

body[data-hj-section="home"] .hj-home-visual img {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .36));
}

body[data-hj-section="home"] .hj-intent-rail,
body[data-hj-section="home"] .hj-solution-rail {
  border-radius: 0;
  border-color: var(--hj-master-rule);
  background: rgba(5, 10, 17, .34);
}

body[data-hj-section="home"] .hj-intent-item {
  min-height: 172px;
  padding: 26px 24px 22px;
  border-color: var(--hj-master-rule);
  background: transparent;
  overflow: hidden;
}

body[data-hj-section="home"] .hj-intent-item::before {
  content: "";
  position: absolute;
  inset: auto 100% 0 0;
  height: 2px;
  background: var(--hj-master-cyan);
  transition: inset .24s ease;
}

body[data-hj-section="home"] .hj-intent-item:hover::before,
body[data-hj-section="home"] .hj-intent-item:focus-visible::before {
  right: 0;
}

body[data-hj-section="home"] .hj-intent-item:hover {
  background: linear-gradient(150deg, rgba(87, 220, 248, .08), transparent 68%);
}

body[data-hj-section="home"] .hj-intent-number {
  color: #7f9bab;
  font-size: .64rem;
  letter-spacing: .12em;
}

body[data-hj-section="home"] .hj-intent-item strong {
  max-width: 14ch;
  color: #eef7fa;
  font-size: 1.08rem;
  line-height: 1.35;
}

body[data-hj-section="home"] .hj-intent-item::after {
  position: absolute;
  right: 20px;
  bottom: 20px;
  color: var(--hj-master-cyan);
}

body[data-hj-section="home"] .hj-solution-rail {
  counter-reset: hj-system-card;
}

body[data-hj-section="home"] .hj-solution-item {
  min-height: 206px;
  justify-content: flex-start;
  padding: 24px 22px 54px;
  counter-increment: hj-system-card;
  border-color: var(--hj-master-rule);
  background: transparent;
}

body[data-hj-section="home"] .hj-solution-item:first-child {
  background: linear-gradient(145deg, rgba(87, 220, 248, .085), transparent 70%);
}

body[data-hj-section="home"] .hj-solution-item::before {
  content: "0" counter(hj-system-card);
  color: #6f8999;
  font: 600 .6rem/1 'JetBrains Mono', monospace;
  letter-spacing: .1em;
}

body[data-hj-section="home"] .hj-solution-item::after {
  position: absolute;
  right: 20px;
  bottom: 18px;
}

body[data-hj-section="home"] .hj-solution-item:hover {
  background: linear-gradient(145deg, rgba(87, 220, 248, .08), transparent 70%);
}

body[data-hj-section="home"] .hj-solution-item strong {
  min-height: 2.6em;
  font-size: 1rem;
  line-height: 1.3;
}

body[data-hj-section="home"] .hj-solution-item small {
  color: #93a5b6;
  line-height: 1.62;
}

body[data-hj-section="home"] .hj-boundary-note {
  padding: 16px 20px;
  border: 1px solid var(--hj-master-rule);
  border-left: 2px solid var(--hj-master-cyan);
  background: rgba(87, 220, 248, .035);
}

body[data-hj-section="home"] .hj-industry-grid {
  counter-reset: hj-site-card;
  gap: 1px;
  border: 1px solid var(--hj-master-rule);
  background: var(--hj-master-rule);
}

body[data-hj-section="home"] .hj-industry-item {
  position: relative;
  min-height: 178px;
  padding: 25px;
  counter-increment: hj-site-card;
  border: 0;
  border-radius: 0;
  background: #070c14;
}

body[data-hj-section="home"] .hj-industry-item::before {
  content: "SITE / 0" counter(hj-site-card);
  color: #708a99;
  font: 600 .57rem/1 'JetBrains Mono', monospace;
  letter-spacing: .12em;
}

body[data-hj-section="home"] .hj-industry-item::after {
  content: "↗";
  position: absolute;
  top: 23px;
  right: 24px;
  color: var(--hj-master-cyan);
}

body[data-hj-section="home"] .hj-industry-item strong {
  max-width: 19ch;
  font-size: 1.05rem;
  line-height: 1.25;
}

body[data-hj-section="home"] .hj-industry-item span {
  max-width: 40ch;
  color: #96a7b8;
  line-height: 1.55;
}

body[data-hj-section="home"] .hj-industry-item:hover {
  z-index: 1;
  border-color: transparent;
  background: #0a131e;
  box-shadow: inset 0 -2px var(--hj-master-cyan);
  transform: none;
}

body[data-hj-section="home"] .hj-project-grid {
  gap: 12px;
}

body[data-hj-section="home"] .hj-project-card {
  position: relative;
  border-color: var(--hj-master-rule);
  border-radius: 2px;
  background: #070c14;
  transition: border-color .2s ease, transform .2s ease, background-color .2s ease;
}

body[data-hj-section="home"] .hj-project-card:hover {
  border-color: var(--hj-master-rule-strong);
  background: #09121d;
  transform: translateY(-3px);
}

body[data-hj-section="home"] .hj-project-frame {
  position: relative;
  min-height: 126px;
  padding: 22px;
  border-bottom: 1px solid var(--hj-master-rule);
  background:
    linear-gradient(180deg, rgba(87, 220, 248, .025), rgba(5, 10, 17, .72)),
    linear-gradient(rgba(87, 220, 248, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87, 220, 248, .06) 1px, transparent 1px);
  background-size: auto, 22px 22px, 22px 22px;
}

body[data-hj-section="home"] .hj-project-frame::before {
  content: "VERIFIED PUBLIC SUMMARY";
  position: absolute;
  top: 18px;
  left: 20px;
  color: #7792a2;
  font: 600 .54rem/1 'JetBrains Mono', monospace;
  letter-spacing: .12em;
}

body[data-hj-section="home"] .hj-project-frame strong {
  font-size: 1.2rem;
}

body[data-hj-section="home"] .hj-project-body {
  padding: 20px 22px 22px;
}

body[data-hj-section="home"] .hj-process-rail {
  position: relative;
  border-color: var(--hj-master-rule);
}

body[data-hj-section="home"] .hj-process-step {
  border-color: var(--hj-master-rule);
  background: rgba(7, 12, 20, .54);
}

body[data-hj-section="home"] .hj-process-step::before {
  color: var(--hj-master-cyan);
}

body[data-hj-section="home"] .hj-process-step strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .9rem;
}

body[data-hj-section="home"] .hj-role-panel,
body[data-hj-section="industries"] .hj-role-panel {
  position: relative;
  padding: clamp(26px, 4vw, 42px);
  border: 0;
  border-top: 1px solid var(--hj-master-rule-strong);
  border-radius: 0;
  background:
    linear-gradient(145deg, rgba(87, 220, 248, .045), transparent 52%),
    rgba(7, 12, 20, .60);
}

body[data-hj-section="home"] .hj-role-panel::after,
body[data-hj-section="industries"] .hj-role-panel::after {
  content: "";
  position: absolute;
  top: -1px;
  right: 0;
  width: 54px;
  height: 1px;
  background: var(--hj-master-cyan);
}

body[data-hj-section="home"] .hj-role-panel h3,
body[data-hj-section="industries"] .hj-role-panel h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  letter-spacing: -.02em;
}

/* ---------- Shared Solution / Project hero ---------- */
body[data-hj-section="industries"] .hj-hub-hero,
body[data-hj-section="projects"] .hj-hub-hero {
  position: relative;
  min-height: 500px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(64px, 7vw, 96px) 0;
  border-bottom-color: var(--hj-master-rule);
  background:
    radial-gradient(circle at 82% 48%, rgba(87, 220, 248, .08), transparent 26rem),
    linear-gradient(105deg, #04070d 0%, #050a11 62%, #07101a 100%);
}

body[data-hj-section="industries"] .hj-hub-hero::before,
body[data-hj-section="projects"] .hj-hub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .42;
  background:
    linear-gradient(rgba(103, 196, 221, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 196, 221, .055) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: linear-gradient(90deg, transparent, transparent 40%, #000 100%);
  mask-image: linear-gradient(90deg, transparent, transparent 40%, #000 100%);
}

.hj-master-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.hj-master-hero-copy {
  position: relative;
  padding-top: 25px;
}

.hj-master-hero-copy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--hj-master-cyan), transparent);
}

body[data-hj-section="industries"] .hj-hub-hero h1,
body[data-hj-section="projects"] .hj-hub-hero h1 {
  max-width: 780px;
  font-size: clamp(2.6rem, 4.7vw, 4.2rem);
  font-weight: 650;
  letter-spacing: -.045em;
}

body[data-hj-section="industries"] .hj-hub-hero h1 span,
body[data-hj-section="projects"] .hj-hub-hero h1 span {
  color: var(--hj-master-cyan);
}

body[data-hj-section="industries"] .hj-hub-hero p,
body[data-hj-section="projects"] .hj-hub-hero p {
  max-width: 66ch;
  color: var(--hj-master-copy);
  line-height: 1.72;
}

.hj-master-hero-visual {
  position: relative;
  min-height: 310px;
  border: 1px solid var(--hj-master-rule);
  background:
    linear-gradient(rgba(87, 220, 248, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87, 220, 248, .055) 1px, transparent 1px),
    rgba(7, 13, 22, .38);
  background-size: 24px 24px, 24px 24px, auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .30);
}

.hj-master-hero-visual::before,
.hj-master-hero-visual::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  opacity: .7;
}

.hj-master-hero-visual::before {
  top: 11px;
  left: 11px;
  border-top: 1px solid var(--hj-master-cyan);
  border-left: 1px solid var(--hj-master-cyan);
}

.hj-master-hero-visual::after {
  right: 11px;
  bottom: 11px;
  border-right: 1px solid var(--hj-master-cyan);
  border-bottom: 1px solid var(--hj-master-cyan);
}

/* Conceptual site blueprint: deliberately diagrammatic, never project proof. */
.hj-master-hero-visual--site {
  perspective: 900px;
  transform-style: preserve-3d;
}

.hj-master-hero-visual--site > span {
  position: absolute;
  display: block;
}

.hj-blueprint-building {
  bottom: 54px;
  border: 1px solid rgba(87, 220, 248, .56);
  background:
    linear-gradient(rgba(87, 220, 248, .13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87, 220, 248, .13) 1px, transparent 1px),
    rgba(9, 28, 41, .56);
  background-size: 17px 17px;
  box-shadow: 12px 14px 0 rgba(5, 13, 22, .70);
  transform: skewY(-5deg);
}

.hj-blueprint-building::before {
  content: "";
  position: absolute;
  top: -22px;
  left: 10px;
  width: calc(100% - 20px);
  height: 22px;
  border: 1px solid rgba(87, 220, 248, .36);
  border-bottom: 0;
  transform: skewX(-38deg);
  transform-origin: bottom;
}

.hj-blueprint-building--one { left: 38px; width: 120px; height: 120px; }
.hj-blueprint-building--two { left: 166px; width: 92px; height: 178px; }
.hj-blueprint-building--three { right: 35px; width: 118px; height: 92px; }

.hj-blueprint-node {
  width: 10px;
  height: 10px;
  border: 2px solid var(--hj-master-cyan);
  border-radius: 50%;
  background: #07101a;
  box-shadow: 0 0 0 7px rgba(87, 220, 248, .07);
}

.hj-blueprint-node::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 8px;
  width: 74px;
  height: 1px;
  background: linear-gradient(90deg, var(--hj-master-cyan), transparent);
  transform-origin: left;
}

.hj-blueprint-node--one { top: 46px; left: 48px; }
.hj-blueprint-node--one::after { width: 140px; transform: rotate(23deg); }
.hj-blueprint-node--two { top: 86px; right: 70px; }
.hj-blueprint-node--two::after { width: 110px; transform: rotate(148deg); }
.hj-blueprint-node--three { right: 38px; bottom: 34px; }
.hj-blueprint-node--three::after { width: 160px; transform: rotate(196deg); }

/* Evidence dossier remains abstract so it cannot be read as a project photo. */
.hj-master-hero-visual--evidence {
  overflow: hidden;
}

.hj-evidence-sheet {
  position: absolute;
  display: block;
  width: 58%;
  height: 70%;
  border: 1px solid rgba(139, 203, 224, .33);
  background:
    linear-gradient(90deg, rgba(87, 220, 248, .55) 0 34%, transparent 34%) 24px 30px / 92px 2px no-repeat,
    repeating-linear-gradient(180deg, transparent 0 25px, rgba(139, 203, 224, .12) 25px 26px),
    #09121d;
  box-shadow: 0 22px 45px rgba(0, 0, 0, .34);
}

.hj-evidence-sheet::before {
  content: "";
  position: absolute;
  inset: 62px 24px 24px;
  border-left: 1px solid rgba(87, 220, 248, .28);
  border-bottom: 1px solid rgba(87, 220, 248, .28);
}

.hj-evidence-sheet--back {
  top: 42px;
  left: 17%;
  opacity: .46;
  transform: rotate(-6deg);
}

.hj-evidence-sheet--front {
  right: 15%;
  bottom: 30px;
  transform: rotate(3deg);
}

.hj-evidence-stamp {
  position: absolute;
  z-index: 2;
  right: 14%;
  bottom: 38px;
  width: 66px;
  height: 66px;
  display: block;
  border: 1px solid rgba(87, 220, 248, .56);
  border-radius: 50%;
  background: rgba(6, 14, 23, .86);
}

.hj-evidence-stamp::before,
.hj-evidence-stamp::after {
  content: "";
  position: absolute;
  left: 18px;
  width: 30px;
  height: 1px;
  background: var(--hj-master-cyan);
  transform-origin: center;
}

.hj-evidence-stamp::before { top: 31px; transform: rotate(45deg); }
.hj-evidence-stamp::after { top: 31px; transform: rotate(-45deg); }

/* ---------- Solution Master ---------- */
body[data-hj-section="industries"] .hj-role-grid {
  gap: 1px;
  border: 1px solid var(--hj-master-rule);
  background: var(--hj-master-rule);
}

body[data-hj-section="industries"] .hj-role-panel {
  border-top: 0;
  background-color: #070c14;
}

body[data-hj-section="industries"] .hj-role-panel ul {
  gap: 11px;
  color: #9eafbf;
  line-height: 1.55;
}

body[data-hj-section="industries"] .hj-role-panel li::before {
  content: "—";
}

body[data-hj-section="industries"] .hj-industry-grid {
  counter-reset: hj-vertical-card;
  gap: 1px;
  border: 1px solid var(--hj-master-rule);
  background: var(--hj-master-rule);
}

body[data-hj-section="industries"] .hj-industry-item {
  position: relative;
  min-height: 188px;
  padding: 26px 24px;
  counter-increment: hj-vertical-card;
  border: 0;
  border-radius: 0;
  background: #070c14;
}

body[data-hj-section="industries"] .hj-industry-item::before {
  content: "VERTICAL / " counter(hj-vertical-card, decimal-leading-zero);
  color: #708a99;
  font: 600 .56rem/1 'JetBrains Mono', monospace;
  letter-spacing: .11em;
}

body[data-hj-section="industries"] .hj-industry-item::after {
  content: "↗";
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--hj-master-cyan);
}

body[data-hj-section="industries"] .hj-industry-item strong {
  max-width: 22ch;
  font-size: 1.05rem;
  line-height: 1.28;
}

body[data-hj-section="industries"] .hj-industry-item span {
  color: #98a9ba;
  line-height: 1.56;
}

body[data-hj-section="industries"] .hj-industry-item:hover {
  z-index: 1;
  background: #0a131e;
  box-shadow: inset 0 -2px var(--hj-master-cyan);
  transform: none;
}

body[data-hj-section="industries"] .hj-industry-tabs {
  gap: 0;
  margin-top: 12px;
  padding: 0;
  border-block: 1px solid var(--hj-master-rule);
}

body[data-hj-section="industries"] .hj-industry-tab {
  min-height: 49px;
  padding: 0 15px;
  border: 0;
  border-right: 1px solid var(--hj-master-rule);
  border-radius: 0;
  background: #070c14;
  color: #9cadbc;
  font-size: .78rem;
}

body[data-hj-section="industries"] .hj-industry-tab[aria-selected="true"] {
  color: #07111a;
  background: var(--hj-master-cyan);
}

body[data-hj-section="industries"] .hj-industry-panel {
  padding-top: 40px;
}

body[data-hj-section="industries"] .hj-industry-panel-grid {
  gap: 1px;
  border: 1px solid var(--hj-master-rule);
  background: var(--hj-master-rule);
}

body[data-hj-section="industries"] .hj-industry-panel-copy,
body[data-hj-section="industries"] .hj-solution-flow {
  background: #070c14;
}

body[data-hj-section="industries"] .hj-industry-panel-copy {
  min-height: 100%;
  padding: clamp(28px, 4vw, 46px);
  background:
    linear-gradient(rgba(87, 220, 248, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87, 220, 248, .035) 1px, transparent 1px),
    #070c14;
  background-size: 26px 26px;
}

body[data-hj-section="industries"] .hj-industry-panel-copy h2 {
  font-weight: 650;
  letter-spacing: -.035em;
}

body[data-hj-section="industries"] .hj-industry-links a {
  border-radius: 8px;
  background: rgba(5, 10, 17, .58);
}

body[data-hj-section="industries"] .hj-solution-flow {
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 38px) 18px 54px;
  border-left: 0;
}

body[data-hj-section="industries"] .hj-solution-flow li {
  padding-left: 30px;
  color: #9daebe;
  line-height: 1.57;
}

body[data-hj-section="industries"] .hj-solution-flow li::before {
  left: -16px;
  width: 29px;
  height: 29px;
  color: var(--hj-master-cyan);
  border-color: var(--hj-master-rule-strong);
  background: #07101a;
}

/* ---------- Project Master ---------- */
body[data-hj-section="projects"] .hj-project-filterbar {
  gap: 20px;
  margin: 34px 0 26px;
  padding: 26px 0 18px;
  border: 0;
  border-block: 1px solid var(--hj-master-rule);
  border-radius: 0;
  background: transparent;
}

body[data-hj-section="projects"] .hj-project-filter-fields {
  gap: 14px;
}

body[data-hj-section="projects"] .hj-filter-field label,
body[data-hj-section="projects"] .hj-discipline-filter legend {
  color: #7f97a7;
  font: 600 .62rem/1.35 'JetBrains Mono', monospace;
  letter-spacing: .12em;
}

body[data-hj-section="projects"] .hj-filter-field select {
  min-height: 50px;
  border-color: var(--hj-master-rule);
  border-radius: 8px;
  background: #070d16;
}

body[data-hj-section="projects"] .hj-discipline-filter {
  padding-top: 20px;
  border-color: var(--hj-master-rule);
}

body[data-hj-section="projects"] .hj-discipline-options {
  gap: 1px;
  border: 1px solid var(--hj-master-rule);
  background: var(--hj-master-rule);
}

body[data-hj-section="projects"] .hj-discipline-option {
  min-height: 46px;
  margin: 0;
  padding: 9px 14px;
  border: 0;
  border-radius: 0;
  background: #070d16;
  color: #9badbc;
  font-size: .75rem;
}

body[data-hj-section="projects"] .hj-discipline-option:hover {
  color: #eff8fb;
  background: #0b1723;
}

body[data-hj-section="projects"] .hj-discipline-option[aria-pressed="true"] {
  color: #061018;
  background: var(--hj-master-cyan);
}

body[data-hj-section="projects"] .hj-project-filter-summary {
  padding-top: 0;
}

body[data-hj-section="projects"] .hj-filter-status {
  color: #92a8b7;
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
}

body[data-hj-section="projects"] .hj-filter-reset {
  border-radius: 8px;
}

body[data-hj-section="projects"] .hj-project-grid {
  counter-reset: hj-project-card;
  gap: 14px;
}

body[data-hj-section="projects"] .hj-project-card {
  position: relative;
  counter-increment: hj-project-card;
  border-color: var(--hj-master-rule);
  border-radius: 2px;
  background: #070c14;
  transition: border-color .2s ease, transform .2s ease, background-color .2s ease;
}

body[data-hj-section="projects"] .hj-project-card:hover {
  border-color: var(--hj-master-rule-strong);
  background: #09121d;
  transform: translateY(-3px);
}

body[data-hj-section="projects"] .hj-project-frame {
  position: relative;
  min-height: 150px;
  padding: 52px 24px 24px;
  border-bottom: 1px solid var(--hj-master-rule);
  background:
    linear-gradient(180deg, rgba(87, 220, 248, .035), rgba(5, 10, 17, .78)),
    linear-gradient(rgba(87, 220, 248, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87, 220, 248, .055) 1px, transparent 1px);
  background-size: auto, 24px 24px, 24px 24px;
}

body[data-hj-section="projects"] .hj-project-frame::before {
  content: "CASE / " counter(hj-project-card, decimal-leading-zero);
  position: absolute;
  top: 20px;
  left: 23px;
  color: #718b9b;
  font: 600 .57rem/1 'JetBrains Mono', monospace;
  letter-spacing: .12em;
}

body[data-hj-section="projects"] .hj-project-frame::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 22px;
  width: 8px;
  height: 8px;
  border: 1px solid var(--hj-master-cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(87, 220, 248, .05);
}

body[data-hj-section="projects"] .hj-project-frame strong {
  max-width: 26ch;
  color: #f2f8fa;
  font-size: 1.34rem;
  line-height: 1.18;
}

body[data-hj-section="projects"] .hj-project-discipline {
  color: var(--hj-master-cyan);
  font-size: .61rem;
  letter-spacing: .1em;
}

body[data-hj-section="projects"] .hj-project-body {
  padding: 24px;
}

body[data-hj-section="projects"] .hj-project-tags {
  gap: 5px;
  margin-bottom: 20px;
}

body[data-hj-section="projects"] .hj-project-tags li {
  border-color: var(--hj-master-rule);
  border-radius: 5px;
  background: rgba(87, 220, 248, .035);
  color: #b7c7d3;
  font: 600 .61rem/1.2 'JetBrains Mono', monospace;
  letter-spacing: .04em;
}

body[data-hj-section="projects"] .hj-project-facts {
  gap: 0;
  border-top: 1px solid var(--hj-master-rule);
}

body[data-hj-section="projects"] .hj-project-facts div {
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--hj-master-rule);
}

body[data-hj-section="projects"] .hj-project-facts dt {
  color: #82a3b4;
  font: 600 .62rem/1.5 'JetBrains Mono', monospace;
  letter-spacing: .05em;
}

body[data-hj-section="projects"] .hj-project-facts dd {
  color: #a6b5c3;
  line-height: 1.55;
}

body[data-hj-section="projects"] .hj-project-empty {
  border-color: var(--hj-master-rule-strong);
  border-radius: 2px;
  background: #070c14;
}

/* ---------- Closing rail ---------- */
.hj-master-hub .hj-final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 7vw, 86px) 0;
  border-color: var(--hj-master-rule-strong);
  background:
    linear-gradient(110deg, rgba(87, 220, 248, .105), transparent 46%),
    #070c14;
}

.hj-master-hub .hj-final-cta::after {
  content: "";
  position: absolute;
  top: 0;
  right: 4%;
  width: 34%;
  height: 100%;
  opacity: .34;
  background:
    linear-gradient(rgba(87, 220, 248, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87, 220, 248, .08) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
  mask-image: linear-gradient(90deg, transparent, #000);
}

.hj-master-hub .hj-final-cta-grid {
  position: relative;
  z-index: 1;
}

.hj-master-hub .hj-final-cta h2 {
  max-width: 22ch;
  font-weight: 650;
  letter-spacing: -.035em;
}

@media (min-width: 820px) {
  body[data-hj-section="home"] .hj-home-hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  }

  body[data-hj-section="home"] .hj-industry-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body[data-hj-section="home"] .hj-industry-item:nth-child(1),
  body[data-hj-section="home"] .hj-industry-item:nth-child(6),
  body[data-hj-section="home"] .hj-industry-item:nth-child(7),
  body[data-hj-section="home"] .hj-industry-item:nth-child(8) {
    grid-column: span 2;
  }

  body[data-hj-section="home"] .hj-project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body[data-hj-section="home"] .hj-process-rail {
    border-bottom-color: var(--hj-master-rule);
  }

  .hj-master-hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(340px, .68fr);
  }

  body[data-hj-section="industries"] .hj-industry-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body[data-hj-section="industries"] .hj-industry-panel-grid {
    grid-template-columns: minmax(0, .9fr) minmax(380px, 1.1fr);
  }

  body[data-hj-section="projects"] .hj-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1120px) {
  body[data-hj-section="industries"] .hj-industry-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body[data-hj-section="industries"] .hj-industry-item:nth-child(1),
  body[data-hj-section="industries"] .hj-industry-item:nth-child(8),
  body[data-hj-section="industries"] .hj-industry-item:nth-child(15) {
    grid-column: span 2;
  }
}

@media (max-width: 819px) {
  body[data-hj-section="home"] .hj-home-hero {
    min-height: auto;
  }

  .hj-master-hero-visual {
    min-height: 250px;
  }

  body[data-hj-section="industries"] .hj-hub-hero,
  body[data-hj-section="projects"] .hj-hub-hero {
    min-height: auto;
  }

  body[data-hj-section="industries"] .hj-solution-flow {
    padding-left: 54px;
  }
}

@media (max-width: 619px) {
  .hj-master-hub .hj-section {
    padding: 58px 0;
  }

  .hj-master-hub .hj-section-head {
    padding-left: 0;
  }

  .hj-master-hub .hj-section-head::before {
    position: static;
    display: block;
    margin-bottom: 12px;
  }

  .hj-master-hub .hj-section-head::after {
    display: none;
  }

  .hj-master-hub .hj-section-head h2 {
    font-size: clamp(1.75rem, 8.4vw, 2.35rem);
  }

  body[data-hj-section="home"] .hj-home-hero {
    padding: 46px 0 38px;
  }

  body[data-hj-section="home"] .hj-home-copy {
    padding-top: 20px;
  }

  body[data-hj-section="home"] .hj-home-copy h1 {
    font-size: clamp(2.15rem, 10.7vw, 2.85rem);
    line-height: 1.04;
  }

  body[data-hj-section="home"] .hj-home-copy > p {
    margin-top: 20px;
    font-size: .95rem;
  }

  body[data-hj-section="home"] .hj-home-visual {
    margin-top: 2px;
    padding: 31px 8px 10px;
  }

  body[data-hj-section="home"] .hj-intent-item,
  body[data-hj-section="home"] .hj-solution-item {
    min-height: 142px;
  }

  body[data-hj-section="home"] .hj-project-frame {
    min-height: 112px;
  }

  body[data-hj-section="industries"] .hj-hub-hero,
  body[data-hj-section="projects"] .hj-hub-hero {
    padding: 48px 0 40px;
  }

  body[data-hj-section="industries"] .hj-hub-hero h1,
  body[data-hj-section="projects"] .hj-hub-hero h1 {
    font-size: clamp(2.12rem, 10.5vw, 2.75rem);
  }

  .hj-master-hero-visual {
    min-height: 214px;
  }

  .hj-blueprint-building {
    bottom: 38px;
    transform: scale(.8) skewY(-5deg);
    transform-origin: bottom left;
  }

  .hj-blueprint-building--one { left: 24px; }
  .hj-blueprint-building--two { left: 112px; }
  .hj-blueprint-building--three { right: 14px; left: auto; }

  body[data-hj-section="industries"] .hj-industry-item {
    min-height: 164px;
  }

  body[data-hj-section="industries"] .hj-industry-panel-copy {
    padding: 26px 22px;
  }

  body[data-hj-section="industries"] .hj-solution-flow {
    padding: 30px 20px 12px 50px;
  }

  body[data-hj-section="projects"] .hj-project-filterbar {
    padding-top: 22px;
  }

  body[data-hj-section="projects"] .hj-project-frame {
    min-height: 132px;
  }

  body[data-hj-section="projects"] .hj-project-body {
    padding: 20px;
  }

  body[data-hj-section="projects"] .hj-project-facts div {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px;
  }

  .hj-master-hub .hj-final-cta::after {
    width: 74%;
    right: -22%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hj-master-hub *,
  .hj-master-hub *::before,
  .hj-master-hub *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ---------- Product Master ---------- */
body[data-hj-master="product"] main[data-hj-master-page="product"] {
  --hj-master-ink: #04070d;
  --hj-master-panel: #080e18;
  --hj-master-rule: rgba(137, 192, 218, .18);
  --hj-master-rule-strong: rgba(88, 215, 247, .38);
  --hj-master-cyan: #57dcf8;
  --hj-master-copy: #afbdcc;
  color: var(--hj-text);
  background: var(--hj-master-ink);
}

body[data-hj-master="product"] .hj-product-master-hero {
  isolation: isolate;
  padding: clamp(56px, 6vw, 86px) 0 clamp(48px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(4, 7, 13, .97), rgba(4, 7, 13, .78) 61%, rgba(4, 7, 13, .91)),
    linear-gradient(rgba(87, 220, 248, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87, 220, 248, .045) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
}

body[data-hj-master="product"] .hj-product-master-hero::before {
  width: min(58vw, 760px);
  height: min(58vw, 760px);
  right: -15%;
  top: -48%;
  background: radial-gradient(circle, rgba(87, 220, 248, .12), transparent 67%);
}

body[data-hj-master="product"] .hj-product-master-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 16%;
  right: -4%;
  width: 49%;
  height: 73%;
  opacity: .34;
  border: 1px solid rgba(87, 220, 248, .11);
  transform: skewY(-9deg);
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(87,220,248,.22) 50%, transparent 50.2%),
    linear-gradient(transparent 49.8%, rgba(87,220,248,.16) 50%, transparent 50.2%);
  background-size: 78px 78px;
  pointer-events: none;
}

body[data-hj-master="product"] .hj-product-master-hero .breadcrumb { margin-bottom: clamp(26px, 4vw, 46px); }
body[data-hj-master="product"] .hj-product-master-hero .hero-grid {
  gap: clamp(42px, 6vw, 88px);
  align-items: center;
}
body[data-hj-master="product"] .hj-product-master-hero .hero-copy { position: relative; padding-top: 24px; }
body[data-hj-master="product"] .hj-product-master-hero .hero-copy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 84px;
  height: 2px;
  background: linear-gradient(90deg, var(--hj-master-cyan), transparent);
}
body[data-hj-master="product"] .hj-product-master-hero .hero-copy h1 {
  max-width: 17.5ch;
  font-size: clamp(2.65rem, 5.35vw, 4.55rem);
  font-weight: 650;
  line-height: .99;
  letter-spacing: -.052em;
}
body[data-hj-master="product"] .hj-product-master-hero .hero-copy > p {
  max-width: 66ch;
  color: var(--hj-master-copy);
  line-height: 1.72;
}
body[data-hj-master="product"] .hj-product-master-hero .btn {
  min-height: 50px;
  border-radius: 10px;
  box-shadow: none;
}

body[data-hj-master="product"] .hj-product-role-rail {
  position: relative;
  padding: 5px 0 4px 28px;
  border: 0;
  border-left: 1px solid var(--hj-master-rule-strong);
  border-radius: 0;
  background: linear-gradient(90deg, rgba(87, 220, 248, .045), transparent 78%);
  box-shadow: none;
}
body[data-hj-master="product"] .hj-product-role-rail h2 {
  margin-bottom: 14px;
  font-size: .98rem;
  letter-spacing: -.01em;
}
body[data-hj-master="product"] .hj-product-role-rail .role-row {
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 17px;
  padding: 20px 0;
  border-color: var(--hj-master-rule);
}
body[data-hj-master="product"] .hj-product-role-rail .role-number {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(87, 220, 248, .055);
}
body[data-hj-master="product"] .hj-product-role-rail strong { font-size: .94rem; }
body[data-hj-master="product"] .hj-product-role-rail p { margin-top: 6px; color: var(--hj-master-copy); line-height: 1.58; }

body[data-hj-master="product"] .hj-master-finder {
  top: var(--hj-header-height);
  border-top: 1px solid var(--hj-master-rule);
  border-bottom: 1px solid var(--hj-master-rule);
  background: rgba(4, 8, 15, .94);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .16);
}
body[data-hj-master="product"] .hj-master-finder .finder { padding-block: 12px; }
body[data-hj-master="product"] .hj-master-finder .search-box input {
  height: 50px;
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
  font-size: .92rem;
}
body[data-hj-master="product"] .hj-master-finder .family-jumps { gap: 0; }
body[data-hj-master="product"] .hj-master-finder .family-jumps a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  border: 0;
  border-right: 1px solid var(--hj-master-rule);
  border-radius: 0;
  font-size: .78rem;
}
body[data-hj-master="product"] .hj-master-finder .family-jumps a:first-child { color: var(--hj-master-cyan); }

body[data-hj-master="product"] main[data-hj-master-page="product"] > .section,
body[data-hj-master="product"] main[data-hj-master-page="product"] > .hj-topology-section {
  border-top: 1px solid var(--hj-master-rule);
}
body[data-hj-master="product"] main[data-hj-master-page="product"] .section-head {
  max-width: 810px;
  padding-left: 48px;
  position: relative;
}
body[data-hj-master="product"] main[data-hj-master-page="product"] .section-head::before {
  content: "";
  position: absolute;
  top: .7rem;
  left: 0;
  width: 30px;
  height: 1px;
  background: var(--hj-master-cyan);
}

body[data-hj-master="product"] .solution-entry {
  gap: 0;
  border-block: 1px solid var(--hj-master-rule);
}
body[data-hj-master="product"] .solution-entry-card {
  min-height: 142px;
  padding: 25px 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body[data-hj-master="product"] .solution-entry-card + .solution-entry-card { border-left: 1px solid var(--hj-master-rule); }
body[data-hj-master="product"] .solution-entry-card:nth-child(2) { background: transparent; }
body[data-hj-master="product"] .solution-entry-icon,
body[data-hj-master="product"] .procurement-step b,
body[data-hj-master="product"] .solution-domain-index {
  border-radius: 7px;
  color: var(--hj-master-cyan);
  background: rgba(87, 220, 248, .055);
}
body[data-hj-master="product"] .procurement-formula {
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
}
body[data-hj-master="product"] .procurement-step {
  padding: 19px 17px;
  border: 0;
  border-right: 1px solid var(--hj-master-rule);
  border-radius: 0;
  background: rgba(255,255,255,.012);
}
body[data-hj-master="product"] .procurement-step:last-child { border-right: 0; }

body[data-hj-master="product"] .solution-map-list { gap: 0; border-top: 1px solid var(--hj-master-rule); }
body[data-hj-master="product"] .solution-domain {
  padding: clamp(24px, 3vw, 34px) 0;
  border: 0;
  border-bottom: 1px solid var(--hj-master-rule);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body[data-hj-master="product"] .solution-domain:target { padding-inline: 20px; border-color: var(--hj-master-cyan); box-shadow: inset 2px 0 var(--hj-master-cyan); }
body[data-hj-master="product"] .solution-domain-tag { border-radius: 7px; }
body[data-hj-master="product"] .solution-package {
  border-radius: 8px;
  background: rgba(255,255,255,.018);
}
body[data-hj-master="product"] :is(.architecture-column, .package-card, .function-card) {
  border-color: var(--hj-master-rule);
  border-radius: 10px;
  background: rgba(255,255,255,.018);
  box-shadow: none;
}

/* ---------- Service Master ---------- */
body[data-hj-master="service"] .sm-master-hero {
  isolation: isolate;
  padding: clamp(54px, 6vw, 82px) 0 34px;
  background:
    linear-gradient(90deg, rgba(4,7,13,.98), rgba(4,7,13,.83) 58%, rgba(4,7,13,.95)),
    linear-gradient(rgba(87,220,248,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87,220,248,.04) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
}
body[data-hj-master="service"] .sm-master-hero .pc-breadcrumb { margin-bottom: clamp(26px, 4vw, 44px); }
body[data-hj-master="service"] .sm-master-hero h1 {
  max-width: 15ch;
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  font-weight: 650;
  letter-spacing: -.052em;
}
body[data-hj-master="service"] .sm-master-hero h1 span { color: var(--hj-master-cyan, var(--hj-cyan)); }
body[data-hj-master="service"] .sm-master-hero .pc-lead { color: #afbdcc; }
body[data-hj-master="service"] .sm-master-hero .pc-actions { gap: 10px; }
body[data-hj-master="service"] .sm-master-hero .pc-button { box-shadow: none; }
body[data-hj-master="service"] .sm-master-directory { border-top: 1px solid rgba(137, 192, 218, .18); }
body[data-hj-master="service"] .sm-master-axis,
body[data-hj-master="service"] .sm-related-grid { border-radius: 0; }

@media (min-width: 900px) {
  body[data-hj-master="product"] .hj-product-master-hero .hero-grid { grid-template-columns: minmax(0, 1.48fr) minmax(320px, .62fr); }

  body[data-hj-section="projects"] .hj-master-hub > .hj-hub-hero + .hj-section {
    padding-top: 50px;
  }
  body[data-hj-section="projects"] .hj-master-hub > .hj-hub-hero + .hj-section .hj-section-head {
    margin-bottom: 20px;
  }
  body[data-hj-section="projects"] .hj-project-filterbar {
    gap: 13px;
    margin-top: 20px;
    padding: 18px 0 14px;
  }
  body[data-hj-section="projects"] .hj-discipline-filter { padding-top: 13px; }
  body[data-hj-section="projects"] .hj-discipline-options {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  body[data-hj-section="projects"] .hj-discipline-option { flex: none; }
}

@media (min-width: 1080px) {
  body[data-hj-section="projects"] .hj-master-hub > .hj-hub-hero + .hj-section > .hj-container {
    display: grid;
    grid-template-columns: minmax(310px, .74fr) minmax(0, 1.26fr);
    gap: 32px clamp(42px, 6vw, 78px);
    align-items: start;
  }
  body[data-hj-section="projects"] .hj-master-hub > .hj-hub-hero + .hj-section .hj-section-head,
  body[data-hj-section="projects"] .hj-project-filterbar { margin: 0; }
  body[data-hj-section="projects"] .hj-master-hub > .hj-hub-hero + .hj-section .hj-section-head h2 {
    font-size: clamp(2rem, 3vw, 2.65rem);
  }
  body[data-hj-section="projects"] :is(.hj-project-grid, .hj-empty-state, .hj-project-empty) { grid-column: 1 / -1; }
}

@media (max-width: 899px) {
  body[data-hj-master="product"] .hj-product-role-rail { padding-left: 22px; }
  body[data-hj-master="product"] .hj-product-master-hero::after { width: 88%; opacity: .18; }
}

@media (max-width: 699px) {
  body[data-hj-master="product"] .hj-product-master-hero { padding: 42px 0 38px; }
  body[data-hj-master="product"] .hj-product-master-hero .hero-copy { padding-top: 20px; }
  body[data-hj-master="product"] .hj-product-master-hero .hero-copy h1,
  body[data-hj-master="service"] .sm-master-hero h1 { font-size: clamp(2.15rem, 10.7vw, 2.9rem); line-height: 1.02; }
  body[data-hj-master="product"] .hj-product-master-hero .button-row,
  body[data-hj-master="service"] .sm-master-hero .pc-actions { display: grid; grid-template-columns: 1fr; }
  body[data-hj-master="product"] .hj-product-master-hero .btn,
  body[data-hj-master="service"] .sm-master-hero .pc-button { width: 100%; }
  body[data-hj-master="product"] .hj-product-role-rail { padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--hj-master-rule-strong); background: transparent; }
  body[data-hj-master="product"] .solution-entry-card + .solution-entry-card { border-left: 0; border-top: 1px solid var(--hj-master-rule); }
  body[data-hj-master="product"] .procurement-step { border-right: 0; border-bottom: 1px solid var(--hj-master-rule); }
  body[data-hj-master="product"] main[data-hj-master-page="product"] .section-head { padding-left: 0; }
  body[data-hj-master="product"] main[data-hj-master-page="product"] .section-head::before { position: static; display: block; margin-bottom: 14px; }
  body[data-hj-master="service"] .sm-master-hero { padding: 42px 0 24px; }
}
