/* ============================================
   SHONI — ENGINEERING PROJECT MANAGEMENT
   Design system: blueprint editorial
   Blue #2B6FFF · Cyan #00D4FF · Ink · White
   ============================================ */

:root {
  --blue: #2B6FFF;
  --cyan: #00D4FF;
  --blue-dim: #1a4fcc;
  --blue-deep: #0d2b6e;
  --ink: #0c1220;
  --ink-soft: #3d4f68;
  --muted: #7a8fa8;
  --line: #e4e9f2;
  --line-blue: rgba(43, 111, 255, 0.18);
  --line-bright: rgba(43, 111, 255, 0.35);
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-tint: #eef3ff;
  --dark: #080c14;
  --dark-1: #0c1220;
  --display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --mono: 'Space Mono', monospace;
  --body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad-x: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ============================================
   LOGO SPLASH
   ============================================ */
.logo-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  pointer-events: none;
  animation: splashFadeOut 0.45s ease 2.1s forwards;
}
.logo-splash::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(43,111,255,0.08), transparent 55%);
  pointer-events: none;
}
.logo-splash-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  position: relative;
}
.logo-splash-img {
  width: 300px;
  height: auto;
  animation: splashScale 1.2s var(--ease) 0.15s both;
}
.logo-splash-line {
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  animation: splashLineGrow 0.7s var(--ease) 0.55s forwards;
}
.logo-splash-tagline {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  color: var(--muted);
  text-transform: uppercase;
  opacity: 0;
  animation: splashTagline 0.5s ease 0.95s forwards;
}
@keyframes splashScale { from { transform: scale(0.88); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes splashLineGrow { to { width: 220px; } }
@keyframes splashTagline { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes splashFadeOut { to { opacity: 0; } }

/* ============================================
   NAV — white, hairline, big logo plate
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 10px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: all .35s var(--ease);
}
.nav.scrolled {
  padding: 6px var(--pad-x);
  box-shadow: 0 2px 24px rgba(12,18,32,0.06);
}
.nav-logo {
  display: flex; align-items: center;
  background: white;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: all .3s var(--ease);
}
.nav-logo-img {
  height: 60px;
  width: auto;
  display: block;
  flex-shrink: 0;
  transition: all .3s var(--ease);
}
.nav.scrolled .nav-logo { padding: 6px 14px; }
.nav.scrolled .nav-logo-img { height: 46px; }
.nav-logo:hover { border-color: var(--line-bright); box-shadow: 0 6px 20px -10px rgba(43,111,255,0.4); }

.nav-links {
  display: flex; gap: 36px;
  list-style: none;
}
.nav-links a {
  position: relative;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  transition: color .25s;
}
.nl-num {
  font-family: var(--mono);
  font-size: 0.58rem;
  color: var(--blue);
  opacity: 0.65;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  height: 1.5px; width: 0;
  background: var(--blue);
  transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 22px;
  background: var(--ink);
  color: white;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  transition: all .3s var(--ease);
}
.nav-cta:hover { background: var(--blue); transform: translateY(-1px); }
.nav-cta-icon { font-size: 0.95rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  z-index: 110;
}
.nav-toggle span {
  width: 20px; height: 1.5px;
  background: var(--ink-soft);
  transition: all .3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); background: var(--blue); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); background: var(--blue); }

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 95;
  background: white;
  padding: 130px 28px 40px;
  display: flex; flex-direction: column; gap: 2px;
  transform: translateY(-100%);
  transition: transform .45s var(--ease);
  border-bottom: 1px solid var(--line);
  visibility: hidden;
}
.mobile-menu.open { transform: translateY(0); visibility: visible; }
.mobile-menu a {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  letter-spacing: -0.02em;
  transition: color .25s, padding-left .25s var(--ease);
}
.mobile-menu a:hover { color: var(--blue); padding-left: 6px; }
.mobile-menu-cta {
  margin-top: 20px;
  text-align: center;
  background: var(--ink) !important;
  color: white !important;
  border: none !important;
  border-radius: 4px;
  padding: 16px 24px !important;
  font-family: var(--mono) !important;
  font-size: 0.8rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.05em;
}
.mobile-menu-cta:hover { background: var(--blue) !important; padding-left: 24px !important; }

/* ============================================
   HERO — blueprint editorial
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  background: var(--bg);
  overflow: hidden;
}
#grid-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0;
  animation: fadeIn 1.4s ease 0.5s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }

/* ambient gradient blob */
.hero-blob {
  position: absolute;
  top: 8%; right: -6%;
  width: 620px; height: 620px;
  background:
    radial-gradient(circle at 30% 30%, rgba(43,111,255,0.18), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(0,212,255,0.12), transparent 60%);
  filter: blur(50px);
  z-index: 1;
  pointer-events: none;
  animation: blobDrift 16s ease-in-out infinite;
}
@keyframes blobDrift {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-40px, 30px) scale(1.08); }
}

/* drafting registration marks */
.reg-mark {
  position: absolute;
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--line-bright);
  z-index: 2;
  user-select: none;
}
.reg-tl { top: 110px; left: 28px; }
.reg-tr { top: 110px; right: 28px; }
.reg-bl { bottom: 28px; left: 28px; }
.reg-br { bottom: 28px; right: 28px; }

.hero-frame {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 150px var(--pad-x) 60px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 64px;
}
.hero-main { min-width: 0; }

.hero-meta-top {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 40px;
}
.hm-rule { flex: 0 0 48px; height: 1px; background: var(--line-bright); }
.hm-item { color: var(--muted); }
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  border: 1px solid var(--line-blue);
  background: var(--bg-tint);
  border-radius: 100px;
  padding: 6px 14px;
}
.hero-status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #28c840;
  box-shadow: 0 0 0 0 rgba(40,200,64,0.5);
  animation: statusPulse 2s ease-in-out infinite;
}
@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(40,200,64,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(40,200,64,0); }
}

.hero-h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.8rem, 5.6vw, 5.8rem);
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 36px;
}
.hero-h1 .line { display: block; }
.hero-h1 em {
  font-style: normal;
  background: linear-gradient(110deg, var(--blue) 20%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}
/* draw underline under the gradient word */
.draw-underline::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: drawLine 0.9s var(--ease) 1.1s forwards;
}
@keyframes drawLine { to { transform: scaleX(1); } }

.hero-sub {
  font-size: 1.04rem;
  color: var(--ink-soft);
  line-height: 1.8;
  border-left: 2px solid var(--blue);
  padding-left: 22px;
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-actions {
  display: inline-flex; gap: 14px; align-items: center;
  flex-wrap: wrap;
}
.btn-primary {
  padding: 15px 30px;
  background: var(--ink);
  color: white;
  border-radius: 4px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all .3s var(--ease);
  border: none; cursor: pointer;
  letter-spacing: -0.01em;
}
.btn-primary svg { transition: transform .3s var(--ease); }
.btn-primary:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(43,111,255,0.55);
}
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.76rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: all .3s var(--ease);
  letter-spacing: 0.04em;
}
.btn-ghost:hover { color: var(--blue); border-color: var(--line-bright); background: var(--bg-tint); }

/* hero right-side visual panel */
.hero-visual { min-width: 0; }
.hero-visual-frame {
  position: relative;
  aspect-ratio: 4/5;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(12,18,32,0.4);
}
.hero-visual-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  animation: heroImgZoom 14s ease-in-out infinite alternate;
}
@keyframes heroImgZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
.hero-visual-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(43,111,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,111,255,0.07) 1px, transparent 1px);
  background-size: 38px 38px;
  pointer-events: none;
}
.hero-visual-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8,12,20,0.55) 100%);
  pointer-events: none;
}
.hero-visual-tag {
  position: absolute;
  bottom: 18px; left: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: white;
  background: rgba(8,12,20,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(43,111,255,0.35);
  border-radius: 3px;
  padding: 7px 12px;
}
.hvt-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
.hero-visual-corner {
  position: absolute;
  font-family: var(--mono);
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  z-index: 2;
}
.hvc-tl { top: 12px; left: 14px; }
.hvc-br { bottom: 12px; right: 14px; }

.hero-baseline {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 0;
  flex-wrap: wrap;
}
.hb-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 40px 0 0;
  margin-right: 40px;
  border-right: 1px solid var(--line);
}
.hb-item:last-child { border-right: none; margin-right: 0; }
.hb-scroll { margin-left: auto; padding-right: 0; }
.hb-scroll .hb-val { color: var(--ink); animation: scrollNudge 2s ease-in-out infinite; }
@keyframes scrollNudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}
.hb-key {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.hb-val {
  font-family: var(--mono);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.04em;
}

/* entry animations */
.reveal-load {
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.9s var(--ease) forwards;
}
.reveal-load.d1 { animation-delay: 0.15s; }
.reveal-load.d2 { animation-delay: 0.28s; }
.reveal-load.d3 { animation-delay: 0.4s; }
.reveal-load.d4 { animation-delay: 0.55s; }
.reveal-load.d5 { animation-delay: 0.68s; }
.reveal-load.d6 { animation-delay: 0.85s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* ============================================
   TICKER STRIP
   ============================================ */
.ticker {
  background: var(--ink);
  border-top: 1px solid rgba(43,111,255,0.3);
  overflow: hidden;
  padding: 13px 0;
  position: relative;
}
.ticker::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), transparent);
}
.ticker-track {
  display: flex;
  gap: 36px;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  animation: tickerScroll 42s linear infinite;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.55);
}
.tick-dot { color: var(--blue); font-size: 0.45rem; }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ============================================
   STATS BAND — dark
   ============================================ */
.stats-band {
  background: var(--dark-1);
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  border-bottom: 1px solid rgba(43,111,255,0.18);
}
.stat-cell {
  padding: 52px 40px;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.stat-cell:last-child { border-right: none; }
.stat-num {
  font-family: var(--display);
  font-size: clamp(2.6rem, 3.8vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: white;
  margin-bottom: 8px;
}
.stat-num span { color: var(--cyan); font-size: 0.62em; }
.stat-label {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
}
.stat-cell-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.28);
  max-width: 220px;
  text-transform: uppercase;
  line-height: 1.6;
}
.stat-note-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
  animation: notePulse 2.4s ease-in-out infinite;
}
@keyframes notePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,212,255,0.3); }
  50% { box-shadow: 0 0 0 6px rgba(0,212,255,0); }
}

/* ============================================
   SECTION PRIMITIVES
   ============================================ */
section { position: relative; }
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: var(--blue);
  margin-bottom: 22px;
  text-transform: uppercase;
}
.section-label::before {
  content: '';
  width: 26px; height: 1px;
  background: var(--blue);
}
.label-num { color: var(--muted); }
.section-label.light { color: var(--cyan); }
.section-label.light::before { background: var(--cyan); }
.section-label.light .label-num { color: rgba(255,255,255,0.35); }
.section-heading {
  font-family: var(--display);
  font-size: clamp(2.1rem, 3.8vw, 3.5rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  color: var(--ink);
}
.section-heading em { font-style: normal; color: var(--blue); }
.section-sub {
  font-size: 1rem;
  color: var(--ink-soft);
  max-width: 560px;
  line-height: 1.75;
}

/* ============================================
   DISCIPLINE REGISTER
   ============================================ */
.register {
  padding: 120px var(--pad-x);
  background: var(--bg);
}
.register-head { margin-bottom: 64px; }
.register-head-row {
  display: grid;
  grid-template-columns: 1fr minmax(0, 420px);
  gap: 48px;
  align-items: end;
}
.register-head-row .section-heading { margin-bottom: 0; }

.register-body {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: start;
}
.register-list {
  border-top: 1px solid var(--line);
}
.reg-row {
  display: grid;
  grid-template-columns: 64px 1fr 24px;
  grid-template-areas:
    "num title arrow"
    "num tags  arrow";
  align-items: center;
  row-gap: 2px;
  padding: 26px 8px;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: all .3s var(--ease);
}
.reg-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), var(--cyan));
  transform: scaleY(0);
  transition: transform .3s var(--ease);
  transform-origin: top;
}
.reg-row:hover { background: var(--bg-soft); padding-left: 18px; }
.reg-row:hover::before { transform: scaleY(1); }
.reg-num {
  grid-area: num;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--blue);
  font-weight: 700;
}
.reg-title {
  grid-area: title;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color .25s;
}
.reg-row:hover .reg-title { color: var(--blue); }
.reg-tags {
  grid-area: tags;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.reg-arrow {
  grid-area: arrow;
  font-size: 1.1rem;
  color: var(--muted);
  transition: all .3s var(--ease);
}
.reg-row:hover .reg-arrow { color: var(--blue); transform: translateX(4px); }

.register-preview {
  position: sticky;
  top: 130px;
}
.reg-preview-frame {
  position: relative;
  aspect-ratio: 4/5;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-soft);
}
.reg-preview-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .45s ease;
  filter: saturate(0.85);
}
.reg-preview-img.active { opacity: 1; }
.reg-preview-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(8,12,20,0.65) 100%);
  pointer-events: none;
}
.reg-preview-label {
  position: absolute;
  bottom: 18px; left: 18px; right: 18px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
  padding: 120px var(--pad-x);
  background: var(--bg-soft);
  background-image:
    linear-gradient(rgba(43,111,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,111,255,0.03) 1px, transparent 1px);
  background-size: 52px 52px;
}
.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: white;
}
.about-pillars-6 { grid-template-columns: repeat(3, 1fr); }
.about-pillars-6 .pillar:nth-child(2n) { border-right: 1px solid var(--line); }
.about-pillars-6 .pillar:nth-child(3n) { border-right: none; }
.about-pillars-6 .pillar:nth-child(4),
.about-pillars-6 .pillar:nth-child(5),
.about-pillars-6 .pillar:nth-child(6) { border-bottom: none; }
.about-pillars-6 .pillar:nth-child(3) { border-bottom: 1px solid var(--line); }
.pillar {
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .3s;
  position: relative;
}
.pillar:nth-child(2n) { border-right: none; }
.pillar:nth-child(3), .pillar:nth-child(4) { border-bottom: none; }
.pillar:hover { background: var(--bg-tint); }
.pillar-num {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--blue);
  display: block;
  margin-bottom: 12px;
}
.pillar h4 {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.pillar p { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.55; }

.about-credential {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--dark-1);
  border: 1px solid rgba(43,111,255,0.3);
  border-left: 3px solid var(--blue);
  border-radius: 3px;
  padding: 14px 20px;
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.08em;
}
.about-credential .cred-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #28c840;
  box-shadow: 0 0 6px rgba(40,200,64,0.5);
  flex-shrink: 0;
}
.about-credential strong { color: var(--cyan); font-weight: 400; }

.about-img-grid {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 580px;
}
.about-img-a {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.about-img-b {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.about-img-b-item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.about-img-a img,
.about-img-b-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.about-img-a:hover img,
.about-img-b-item:hover img { transform: scale(1.05); }
.about-img-badge {
  position: absolute;
  bottom: 16px; left: 16px;
  background: rgba(8,12,20,0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-bright);
  border-radius: 2px;
  padding: 8px 14px;
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--cyan);
  letter-spacing: 0.1em;
  z-index: 2;
}

/* ============================================
   IMAGE BREAK
   ============================================ */
.img-break {
  position: relative;
  height: 440px;
  overflow: hidden;
}
.img-break img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.7);
}
.img-break-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(8,12,20,0.75) 10%, rgba(43,111,255,0.12) 60%, rgba(8,12,20,0.4) 100%);
}
.img-break-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 var(--pad-x);
  z-index: 2;
}
.img-break-quote { max-width: 640px; }
.img-break-quote p {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-weight: 600;
  font-style: italic;
  color: rgba(255,255,255,0.92);
  line-height: 1.5;
  letter-spacing: -0.02em;
}
.img-break-quote cite {
  font-family: var(--mono);
  font-size: 0.64rem;
  color: var(--cyan);
  letter-spacing: 0.16em;
  margin-top: 18px;
  display: block;
  font-style: normal;
}

/* ============================================
   SECTORS
   ============================================ */
.sectors {
  padding: 120px var(--pad-x);
  background: var(--bg);
}
.sectors-head { margin-bottom: 56px; }
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.sector-tile {
  padding: 36px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: all .3s var(--ease);
  overflow: hidden;
}
.sector-tile::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.sector-tile:hover { background: var(--bg-soft); }
.sector-tile:hover::after { transform: scaleX(1); }
.sector-idx {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--blue);
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 16px;
}
.sector-tile h5 {
  font-family: var(--display);
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.sector-tile p { font-size: 0.84rem; color: var(--muted); line-height: 1.55; }

/* ============================================
   PROCESS — SACPCMP ledger
   ============================================ */
.process {
  padding: 120px var(--pad-x);
  background: var(--bg-soft);
  background-image:
    linear-gradient(rgba(43,111,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,111,255,0.03) 1px, transparent 1px);
  background-size: 52px 52px;
}
.process-inner {
  display: grid;
  grid-template-columns: minmax(0, 420px) 1fr;
  gap: 90px;
  align-items: start;
}
.process-head { position: sticky; top: 130px; }
.process-ledger { border-top: 1px solid var(--line-bright); }
.ledger-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  transition: all .3s;
  position: relative;
}
.ledger-row:hover { padding-left: 12px; }
.ledger-num {
  font-family: var(--mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--line-bright);
  line-height: 1;
  transition: color .3s;
}
.ledger-row:hover .ledger-num { color: var(--blue); }
.ledger-body h4 {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.ledger-body p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 620px;
}

/* ============================================
   CTA SPLIT — dark
   ============================================ */
.cta-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
}
.cta-panel {
  background: var(--dark-1);
  border-right: 1px solid rgba(43,111,255,0.18);
  padding: 100px var(--pad-x);
  color: white;
  display: flex; flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.cta-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.cta-panel::after {
  content: '';
  position: absolute;
  bottom: -30%; right: -10%;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(43,111,255,0.12), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-panel > * { position: relative; z-index: 1; }
.cta-terminal-bar {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 36px;
  font-family: var(--mono);
  font-size: 0.66rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
  background: rgba(43,111,255,0.06);
  border: 1px solid rgba(43,111,255,0.15);
  border-radius: 3px;
  padding: 8px 14px;
  width: fit-content;
}
.tb-dot { width: 10px; height: 10px; border-radius: 50%; }
.tb-dot.r { background: #ff5f57; }
.tb-dot.y { background: #febc2e; }
.tb-dot.g { background: #28c840; }
.tb-title { margin-left: 8px; }
.cta-panel h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
  color: white;
}
.cta-panel h2 em { font-style: normal; color: var(--cyan); }
.cta-panel > p {
  font-size: 0.96rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 44px;
  max-width: 440px;
  line-height: 1.75;
}
.cta-contact-rows {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.09);
}
.cta-row {
  display: grid;
  grid-template-columns: 86px 1fr 24px;
  gap: 16px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: all .3s var(--ease);
}
a.cta-row:hover { padding-left: 10px; }
a.cta-row:hover .cta-row-arrow { transform: translateX(4px); color: var(--cyan); }
.cta-row-key {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--blue);
}
.cta-row-val {
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.01em;
}
.cta-row-arrow {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.22);
  transition: all .3s var(--ease);
  text-align: right;
}
.cta-image { position: relative; overflow: hidden; min-height: 540px; }
.cta-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.5s var(--ease);
  filter: saturate(0.75) brightness(0.85);
}
.cta-image:hover img { transform: scale(1.04); }
.cta-img-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(43,111,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,111,255,0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  z-index: 1;
}
.cta-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,12,20,0.25), transparent 50%);
}

/* ============================================
   FOOTER
   ============================================ */
footer { background: var(--dark); color: white; padding: 0 var(--pad-x) 36px; }
.footer-top-line {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(43,111,255,0.15);
  font-family: var(--mono);
  font-size: 0.6rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.14em;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  padding: 56px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo-wrap {
  display: inline-flex;
  background: white;
  padding: 14px 24px;
  border-radius: 6px;
  align-self: flex-start;
  margin-bottom: 4px;
}
.footer-logo-img {
  height: 72px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
}
.footer-brand p { color: rgba(255,255,255,0.38); font-size: 0.88rem; max-width: 300px; line-height: 1.7; }
.footer-col h5 {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--blue);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.88rem; color: rgba(255,255,255,0.42); transition: color .3s; }
.footer-col a:hover { color: white; }
.footer-bottom {
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono);
  font-size: 0.66rem;
  color: rgba(255,255,255,0.22);
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px;
  display: grid; place-items: center;
  color: rgba(255,255,255,0.28);
  transition: all .3s;
}
.socials a:hover { background: var(--blue); border-color: var(--blue); color: white; transform: translateY(-2px); }
.mono-text { font-family: var(--mono); }

/* ============================================
   SCROLL REVEALS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-0 { transition-delay: 0s; }
.reveal.delay-1 { transition-delay: .12s; }
.reveal.delay-2 { transition-delay: .24s; }
.reveal.delay-3 { transition-delay: .36s; }
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ============================================
   DISCIPLINE PAGES (shared by services/*.html)
   ============================================ */
.disc-page .nav .nav-logo-img { height: 60px; }

.disc-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 130px var(--pad-x) 80px;
  overflow: hidden;
  background: var(--dark);
}
.disc-hero-bg { position: absolute; inset: 0; z-index: 0; }
.disc-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(0.6);
}
.disc-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(8,12,20,0.6) 0%, rgba(8,12,20,0.28) 50%, rgba(8,12,20,0.75) 100%);
}
.disc-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}
.disc-orb-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(43,111,255,0.2), transparent 70%);
  top: -10%; right: 10%;
  animation: orbDrift1 18s ease-in-out infinite;
}
.disc-orb-2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(0,212,255,0.12), transparent 70%);
  bottom: 5%; left: 5%;
  animation: orbDrift2 22s ease-in-out infinite;
}
@keyframes orbDrift1 {
  0%, 100% { transform: translate(0,0); }
  33% { transform: translate(40px, 30px); }
  66% { transform: translate(-20px, 50px); }
}
@keyframes orbDrift2 {
  0%, 100% { transform: translate(0,0); }
  33% { transform: translate(-30px, -40px); }
  66% { transform: translate(50px, -20px); }
}
.disc-hero-content { position: relative; z-index: 3; max-width: 900px; }
.disc-eyebrow {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: var(--cyan);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.disc-eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--cyan); }
.disc-hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: white;
  margin-bottom: 24px;
}
.disc-hero h1 em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(120deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.disc-hero-para {
  font-size: 1.04rem;
  color: rgba(255,255,255,0.65);
  max-width: 640px;
  line-height: 1.75;
  margin-bottom: 32px;
}
.disc-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
  transition: color .3s;
}
.disc-breadcrumb:hover { color: var(--cyan); }

.disc-intro {
  padding: 100px var(--pad-x);
  background: var(--bg);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: start;
}
.disc-intro-label { grid-column: 1 / -1; }
.disc-intro-text p {
  font-size: 1.04rem;
  color: var(--ink-soft);
  line-height: 1.8;
}
.disc-intro-text p + p { margin-top: 20px; }
.disc-intro-panel {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  border-radius: 4px;
  padding: 32px;
  position: sticky;
  top: 130px;
}
.disc-intro-panel-title {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.disc-fact {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.disc-fact:last-child { border-bottom: none; padding-bottom: 0; }
.disc-fact:first-of-type { padding-top: 0; }
.disc-fact-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.disc-fact-val {
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.disc-divider {
  position: relative;
  height: 360px;
  overflow: hidden;
}
.disc-divider img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.75);
}
.disc-divider::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,12,20,0.6) 0%, rgba(8,12,20,0.2) 50%, rgba(8,12,20,0.5) 100%);
  z-index: 1;
}
.disc-divider-caption {
  position: absolute;
  bottom: 40px;
  left: var(--pad-x);
  right: var(--pad-x);
  z-index: 2;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.02em;
  max-width: 700px;
}

.disc-scope {
  padding: 100px var(--pad-x);
  background: var(--bg-soft);
}
.disc-scope-head { margin-bottom: 56px; }
.disc-scope-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: white;
}
.disc-scope-card {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: background .3s var(--ease);
}
.disc-scope-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.disc-scope-card:hover { background: var(--bg-tint); }
.disc-scope-card:hover::before { transform: scaleX(1); }
.disc-scope-icon {
  width: 44px; height: 44px;
  background: var(--bg-tint);
  border-radius: 3px;
  display: grid; place-items: center;
  color: var(--blue);
  margin-bottom: 18px;
  transition: all .35s;
}
.disc-scope-card:hover .disc-scope-icon { background: var(--blue); color: white; }
.disc-scope-card h4 {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.disc-scope-card p { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.65; }

.disc-lifecycle {
  padding: 100px var(--pad-x);
  background: var(--bg);
  background-image:
    linear-gradient(rgba(43,111,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,111,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
}
.disc-lifecycle-head { margin-bottom: 64px; }
.disc-lifecycle-stages {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 900px;
}
.disc-stage {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0 32px;
  position: relative;
}
.disc-stage-left { display: flex; flex-direction: column; align-items: center; }
.disc-stage-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  background: white;
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: all .35s var(--ease);
  box-shadow: 0 0 0 6px var(--bg);
}
.disc-stage:hover .disc-stage-circle {
  background: var(--blue);
  color: white;
  box-shadow: 0 0 0 6px rgba(43,111,255,0.1);
}
.disc-stage-line {
  width: 2px;
  flex: 1;
  background: linear-gradient(to bottom, var(--blue) 0%, rgba(43,111,255,0.25) 100%);
}
.disc-stage:last-child .disc-stage-line { display: none; }
.disc-stage-content { padding-top: 10px; padding-bottom: 48px; }
.disc-stage:last-child .disc-stage-content { padding-bottom: 0; }
.disc-stage-content h4 {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}
.disc-stage-content p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 18px;
  max-width: 680px;
}
.disc-stage-deliverables {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.disc-stage-deliverables li {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--ink-soft);
  padding-left: 18px;
  position: relative;
  line-height: 1.55;
  letter-spacing: 0.02em;
}
.disc-stage-deliverables li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 1.5px;
  background: var(--blue);
}

.disc-sectors {
  padding: 100px var(--pad-x);
  background: var(--bg-soft);
}
.disc-sectors-head { margin-bottom: 48px; }
.disc-sectors-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: white;
}
.disc-sector-tile {
  padding: 26px 16px;
  text-align: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease);
}
.disc-sector-tile:hover { background: var(--bg-tint); }
.disc-sector-icon {
  width: 46px; height: 46px;
  background: var(--bg-tint);
  border-radius: 3px;
  display: grid; place-items: center;
  color: var(--blue);
  margin: 0 auto 12px;
  transition: all .35s;
}
.disc-sector-tile:hover .disc-sector-icon { background: var(--blue); color: white; }
.disc-sector-tile h5 {
  font-family: var(--display);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.disc-cta { padding: 80px var(--pad-x); background: var(--bg); }
.disc-cta-card {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  border-radius: 4px;
  padding: 72px 80px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.disc-cta-card::before {
  content: '';
  position: absolute;
  top: -40%; right: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,212,255,0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.disc-cta-card > * { position: relative; z-index: 1; }
.disc-cta-label {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
}
.disc-cta-card h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: white;
  line-height: 1.1;
}
.disc-cta-card h2 em { font-style: italic; font-weight: 400; color: var(--cyan); }
.disc-cta-buttons { display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }
.disc-btn-primary {
  padding: 14px 28px;
  background: white;
  color: var(--blue);
  border-radius: 4px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .3s var(--ease);
  white-space: nowrap;
}
.disc-btn-primary:hover { background: var(--cyan); color: var(--dark); transform: translateY(-2px); }
.disc-btn-ghost {
  padding: 13px 28px;
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.74rem;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .3s var(--ease);
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.disc-btn-ghost:hover { color: white; border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.06); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1280px) {
  :root { --pad-x: 44px; }
}

@media (max-width: 1100px) {
  .register-body { grid-template-columns: 1fr; }
  .register-preview { display: none; }
  .register-head-row { grid-template-columns: 1fr; gap: 18px; }
  .about { gap: 56px; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stat-cell-note { grid-column: 1 / -1; max-width: none; border-top: 1px solid rgba(255,255,255,0.06); }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .process-inner { grid-template-columns: 1fr; gap: 56px; }
  .process-head { position: static; }
  .disc-scope-grid { grid-template-columns: repeat(2, 1fr); }
  .disc-sectors-grid { grid-template-columns: repeat(3, 1fr); }
  .disc-intro { grid-template-columns: 1fr; gap: 40px; }
  .disc-intro-panel { position: static; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-visual { display: none; }
  .hb-scroll { display: none; }

@media (max-width: 900px) {
  :root { --pad-x: 24px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-logo-img { height: 60px; }
  .nav.scrolled .nav-logo-img { height: 48px; }

  .hero-frame { padding: 140px var(--pad-x) 60px; }
  .hero-h1 { font-size: clamp(2.3rem, 8vw, 3.4rem); margin-bottom: 40px; }
  .hero-baseline { flex-wrap: wrap; }
  .hb-item { padding: 18px 24px 0 0; margin-right: 24px; }
  .reg-mark { display: none; }

  .about { grid-template-columns: 1fr; padding-top: 80px; padding-bottom: 80px; }
  .about-img-grid { height: auto; }
  .about-pillars { grid-template-columns: 1fr 1fr; }

  .img-break { height: 320px; }

  .register { padding-top: 80px; padding-bottom: 80px; }
  .reg-row { grid-template-columns: 44px 1fr 20px; padding: 20px 4px; }
  .reg-title { font-size: 1.05rem; }
  .reg-tags { font-size: 0.6rem; }

  .sectors { padding-top: 80px; padding-bottom: 80px; }
  .process { padding-top: 80px; padding-bottom: 80px; }
  .ledger-row { grid-template-columns: 56px 1fr; gap: 18px; padding: 26px 0; }
  .ledger-num { font-size: 1.2rem; }

  .cta-split { grid-template-columns: 1fr; }
  .cta-image { min-height: 260px; order: 2; }
  .cta-panel { order: 1; padding: 64px var(--pad-x); border-right: none; border-bottom: 1px solid rgba(43,111,255,0.18); }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding: 44px 0; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

  .disc-hero { padding: 110px var(--pad-x) 56px; min-height: 70vh; }
  .disc-scope-grid { grid-template-columns: 1fr; }
  .disc-divider-caption { left: var(--pad-x); right: var(--pad-x); bottom: 24px; font-size: 1rem; }
  .disc-cta-card { grid-template-columns: 1fr; padding: 48px 28px; }
  .disc-cta-buttons { flex-direction: row; flex-wrap: wrap; }
  .disc-stage { grid-template-columns: 48px 1fr; gap: 0 20px; }
  .disc-stage-circle { width: 46px; height: 46px; font-size: 0.64rem; }
  .logo-splash-img { width: 190px; }
}

@media (max-width: 640px) {
  .hero-h1 { font-size: clamp(2rem, 9vw, 2.7rem); }
  .hero-meta-top { flex-wrap: wrap; gap: 10px; }
  .hm-rule { display: none; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .stat-cell { padding: 32px 22px; }
  .stat-num { font-size: 2.1rem; }
  .sectors-grid { grid-template-columns: 1fr; }
  .about-pillars { grid-template-columns: 1fr; }
  .pillar { border-right: none !important; border-bottom: 1px solid var(--line) !important; }
  .pillar:last-child { border-bottom: none !important; }
  .about-img-b { grid-template-columns: 1fr 1fr; }
  .img-break { height: 280px; }
  .img-break-quote p { font-size: 1.05rem; }
  .disc-sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .disc-cta-buttons { flex-direction: column; }
  .footer-logo-img { height: 56px; }
  .logo-splash-img { width: 150px; }
  .nav-logo-img { height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  #grid-canvas { animation: none; opacity: 0.5; }
  .logo-splash { display: none; }
  .ticker-track { animation: none; }
  .disc-orb { animation: none; }
}

/* explicit child rules (grid children / inline spans) */
.about-text { min-width: 0; }
.about-visual { min-width: 0; }
.nav-cta-text { display: inline-block; }

/* ============================================
   LIFECYCLE PATHWAY — scroll-drawn curve
   Desktop: stages zigzag, SVG path snakes
   between circles and draws on scroll.
   Mobile keeps the straight line.
   ============================================ */
@media (min-width: 1101px) {
  .disc-lifecycle-stages {
    max-width: 980px;
    margin: 0 auto;
    position: relative;
  }
  /* hide the straight per-stage line, the SVG takes over */
  .disc-lifecycle-stages .disc-stage-line { display: none; }

  .disc-stage { padding-bottom: 44px; }
  .disc-stage:last-child { padding-bottom: 0; }

  /* odd: circle left (default). even: circle right.
     nth-of-type so the injected SVG doesn't shift the count */
  .disc-stage:nth-of-type(even) {
    grid-template-columns: 1fr 72px;
  }
  .disc-stage:nth-of-type(even) .disc-stage-left { order: 2; }
  .disc-stage:nth-of-type(even) .disc-stage-content { order: 1; }

  /* glass card — the path ghosts through, faded but visible */
  .disc-stage-content {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(9px) saturate(1.15);
    -webkit-backdrop-filter: blur(9px) saturate(1.15);
    border: 1px solid rgba(228, 233, 242, 0.9);
    border-radius: 6px;
    padding: 28px 32px 32px;
    box-shadow:
      0 8px 28px -12px rgba(12, 18, 32, 0.12),
      0 1px 0 rgba(255, 255, 255, 0.9) inset;
  }
  .disc-stage:last-child .disc-stage-content { padding-bottom: 32px; }
  .disc-stage:hover .disc-stage-content {
    border-color: var(--line-bright);
    box-shadow:
      0 14px 36px -14px rgba(43, 111, 255, 0.18),
      0 1px 0 rgba(255, 255, 255, 0.9) inset;
  }

  /* the injected path canvas — always behind the stage cards */
  .disc-path-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
  }
  .disc-lifecycle-stages .disc-stage { position: relative; z-index: 1; }
  .disc-path-track {
    fill: none;
    stroke: var(--line);
    stroke-width: 3;
  }
  .disc-path-draw {
    fill: none;
    stroke: url(#discPathGrad);
    stroke-width: 4.5;
    stroke-linecap: round;
  }
  .disc-stage-left, .disc-stage-content { position: relative; z-index: 1; }
}

/* circle activation as the path reaches it */
.disc-stage-circle.active {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
  box-shadow: 0 0 0 6px rgba(43,111,255,0.14), 0 6px 18px -6px rgba(43,111,255,0.5);
}

@media (prefers-reduced-motion: reduce) {
  .disc-path-draw { stroke-dashoffset: 0 !important; }
}}