/* ============================================================
   Nexbuild — "Blueprint" design system
   Ink:    #0B1220  (near-black navy, dark sections + text)
   Paper:  #EEF0F4  (cool paper background, not warm cream)
   Slate:  #4B5768  (body text on paper)
   Azure:  #2F86FF  (blueprint line accent)
   Amber:  #FFB020  (signal / CTA accent)
   Line:   #C7CDD8  (hairline rules on paper)
   ============================================================ */

:root {
  --ink: #0B1220;
  --ink-soft: #16213A;
  --paper: #EEF0F4;
  --paper-raised: #FFFFFF;
  --slate: #4B5768;
  --slate-soft: #7A8494;
  --azure: #2F86FF;
  --azure-soft: rgba(47, 134, 255, 0.14);
  --amber: #FFB020;
  --line: #C7CDD8;
  --line-dark: rgba(255, 255, 255, 0.14);

  --display: 'Space Grotesk', sans-serif;
  --body: 'IBM Plex Sans', sans-serif;
  --mono: 'IBM Plex Mono', monospace;

  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  margin: 0 0 0.5em;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

p { line-height: 1.65; color: var(--slate); margin: 0 0 1em; }

.eyebrow {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--azure);
  margin: 0 0 12px;
}

:focus-visible {
  outline: 2px solid var(--azure);
  outline-offset: 3px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 14px;
  padding: 13px 22px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-small { padding: 10px 16px; font-size: 13px; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #7FB4FF; border-color: #7FB4FF; color: #fff; transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-1px); }

/* ---------- track gate ---------- */
.track-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink) url('../img/gate-background.png') center center / cover no-repeat;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.gate-top { position: relative; z-index: 2; display: flex; justify-content: center; padding: 30px 0 0; }

.gate-center { position: relative; z-index: 2; text-align: center; padding: 40px 24px 32px; }
.gate-eyebrow {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 23px;
  color: rgba(255, 255, 255, 0.957);
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}
.gate-center h1 { font-size: clamp(26px, 3.4vw, 38px); color: #fff; margin-bottom: 14px; }
.gate-sub { color: rgb(255, 255, 255); font-size: 15px; max-width: 520px; margin: 0 auto; }

.gate-choices { flex: 1; display: grid; grid-template-columns: 1fr 1fr; position: relative; z-index: 2; }
.gate-choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 40px;
  text-align: center;
  transition: background 0.2s ease;
}
.gate-advisory { background: linear-gradient(160deg, rgba(15, 158, 117, 0.14), transparent 70%); border-right: 1px solid rgba(255, 255, 255, 0.08); }
.gate-digital { background: linear-gradient(200deg, rgba(47, 134, 255, 0.16), transparent 70%); }
.gate-choice:hover { background-color: rgba(255, 255, 255, 0.03); }

.gate-choice-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border: 1.5px solid;
}
.gate-advisory .gate-choice-icon { border-color: #5FD9AE; color: #5FD9AE; }
.gate-digital .gate-choice-icon { border-color: #7FB4FF; color: #7FB4FF; }

.gate-tag {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  display: inline-block;
}
.gate-advisory .gate-tag { background: rgba(15, 158, 117, 0.18); color: #5FD9AE; }
.gate-digital .gate-tag { background: rgba(47, 134, 255, 0.18); color: #7FB4FF; }

.gate-choice h2 { font-size: 24px; color: #fff; margin-bottom: 12px; }
.gate-choice p { color: rgba(255, 255, 255, 0.6); font-size: 14px; max-width: 360px; margin-bottom: 22px; }

.gate-btn { font-family: var(--mono); font-weight: 600; font-size: 13.5px; padding: 12px 22px; border: none; color: #fff; }
.gate-btn-advisory { background: #0F9E75; }
.gate-btn-digital { background: var(--azure); }
.gate-choice:hover .gate-btn { transform: translateY(-2px); }

.gate-divider { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, 0.1); z-index: 3; pointer-events: none; }
.gate-divider-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  z-index: 4;
  pointer-events: none;
}

.gate-footnote {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 18px 0 26px;
  font-family: var(--mono);
  font-size: 12px;
  color: rgb(255, 255, 255);
}

@media (max-width: 800px) {
  .gate-choices { grid-template-columns: 1fr; }
  .gate-advisory { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .gate-divider, .gate-divider-label { display: none; }
}

/* ---------- header ---------- */
.group-back-row {
  padding-top: 10px;
  position: relative;
  z-index: 2;
}
.group-back {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.25s ease;
}
.group-back:hover { color: #ffffff; }
.site-header.scrolled .group-back { color: var(--slate-soft); }
.site-header.scrolled .group-back:hover { color: var(--ink); }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}
.site-header.scrolled {
  background: rgba(238, 240, 244, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(11, 18, 32, 0.06);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
  transition: padding 0.25s ease;
}
.site-header.scrolled .header-row {
  padding-top: 11px;
  padding-bottom: 11px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(11, 18, 32, 0.18);
  flex-shrink: 0;
}
.logo-mark img { display: block; }
.logo-text {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: #ffffff;
  transition: color 0.25s ease;
}
.main-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.nav-item { position: relative; padding: 10px 0; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding-bottom: 4px;
  white-space: nowrap;
  transition: color 0.25s ease;
}
.site-header.scrolled .nav-link { color: var(--slate); }
.nav-link:hover { color: #ffffff; }
.site-header.scrolled .nav-link:hover { color: var(--ink); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: #7FB4FF;
  transition: right 0.2s ease;
}
.site-header.scrolled .nav-link::after { background: var(--azure); }
.nav-link:hover::after { right: 0; }
.nav-caret {
  transition: transform 0.2s ease, color 0.25s ease;
  color: rgba(255, 255, 255, 0.6);
}
.site-header.scrolled .nav-caret { color: var(--slate-soft); }
.nav-item.has-dropdown:hover .nav-caret,
.nav-item.has-dropdown.open .nav-caret { transform: rotate(180deg); color: #7FB4FF; }
.site-header.scrolled .nav-item.has-dropdown:hover .nav-caret,
.site-header.scrolled .nav-item.has-dropdown.open .nav-caret { color: var(--azure); }

/* Start-a-project button: azure while transparent over the hero, ink once solid */
.header-row > .btn-primary {
  background: var(--azure);
  border-color: var(--azure);
  color: #fff;
  font-weight: 600;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.15s ease;
}
.header-row > .btn-primary:hover { background: #7FB4FF; border-color: #7FB4FF; color: #fff; }
.site-header.scrolled .header-row > .btn-primary { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.site-header.scrolled .header-row > .btn-primary:hover { background: #7FB4FF; border-color: #7FB4FF; color: #fff; }

/* ---------- track-tinted header (advisory.php / digital.php) ---------- */
/* The unscrolled header is already transparent, so it naturally shows the
   green/blue page-intro band underneath. This block only needs to carry
   that same tint through the SCROLLED (sticky, solid) state, which would
   otherwise default to the generic light paper background. */
body.page-advisory .site-header.scrolled {
  background: #0c8a68;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
body.page-digital .site-header.scrolled {
  background: #1f6fe0;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
body.page-advisory .site-header.scrolled .logo-text,
body.page-advisory .site-header.scrolled .nav-link,
body.page-digital .site-header.scrolled .logo-text,
body.page-digital .site-header.scrolled .nav-link {
  color: rgba(255, 255, 255, 0.9);
}
body.page-advisory .site-header.scrolled .nav-link:hover,
body.page-digital .site-header.scrolled .nav-link:hover {
  color: #fff;
}
body.page-advisory .site-header.scrolled .nav-link::after,
body.page-digital .site-header.scrolled .nav-link::after {
  background: rgba(255, 255, 255, 0.7);
}
body.page-advisory .site-header.scrolled .nav-caret,
body.page-digital .site-header.scrolled .nav-caret {
  color: rgba(255, 255, 255, 0.8);
}
body.page-advisory .site-header.scrolled .nav-toggle span,
body.page-digital .site-header.scrolled .nav-toggle span {
  background: #fff;
}
body.page-advisory .site-header.scrolled .header-row > .btn-primary,
body.page-digital .site-header.scrolled .header-row > .btn-primary {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
body.page-advisory .site-header.scrolled .header-row > .btn-primary:hover,
body.page-digital .site-header.scrolled .header-row > .btn-primary:hover {
  background: #fff;
  color: var(--ink);
}

/* ---------- dropdown ---------- */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 340px;
  max-height: 70vh;
  overflow-y: auto;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(11, 18, 32, 0.12);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s;
  z-index: 60;
}
/* Invisible bridge closing any remaining pixel-gap between the nav link
   and the dropdown, so fast/diagonal mouse movement can't drop hover
   before reaching the menu. */
.dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.dropdown ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.dropdown-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 3px;
  transition: background 0.15s ease, padding-left 0.15s ease;
}
.dropdown-link:hover { background: var(--azure-soft); padding-left: 16px; }
.dropdown-link-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: var(--azure-soft);
  color: var(--azure);
  display: flex;
  align-items: center;
  justify-content: center;
}
.dropdown-link-icon svg { width: 17px; height: 17px; }
.dropdown-link-text { display: flex; flex-direction: column; gap: 2px; }
.dropdown-link-label {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.dropdown-link-desc {
  font-family: var(--body);
  font-size: 12.5px;
  color: var(--slate-soft);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: #ffffff; display: block; transition: background 0.25s ease; }
.site-header.scrolled .nav-toggle span { background: var(--ink); }
.mobile-nav { display: none; }

@media (max-width: 860px) {
  .main-nav, .header-row > .btn-primary { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav.open {
    display: block;
    border-top: 1px solid var(--line);
    background: var(--paper);
    animation: mobile-nav-in 0.25s ease;
  }
  .mobile-nav ul { list-style: none; margin: 0; padding: 10px 28px 24px; display: flex; flex-direction: column; }
  .mobile-nav-item { border-bottom: 1px solid var(--line); }
  .mobile-nav-item:last-of-type { border-bottom: none; }
  .mobile-nav-row { display: flex; align-items: center; justify-content: space-between; }
  .mobile-nav-row a { font-family: var(--mono); font-size: 15px; padding: 14px 0; display: block; flex: 1; }
  .mobile-expand {
    background: none;
    border: none;
    padding: 14px 6px;
    color: var(--slate);
    cursor: pointer;
  }
  .mobile-expand svg { transition: transform 0.2s ease; }
  .mobile-nav-item.expanded .mobile-expand svg { transform: rotate(180deg); color: var(--azure); }
  .mobile-submenu {
    list-style: none;
    margin: 0;
    padding: 0 0 0 14px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .mobile-nav-item.expanded .mobile-submenu { max-height: 400px; }
  .mobile-submenu a { font-family: var(--body); font-size: 14px; color: var(--slate); padding: 9px 0; display: block; }
  .mobile-nav li:last-child { border: none; margin-top: 10px; }
}

@keyframes mobile-nav-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- blueprint grid backdrop ---------- */
.blueprint-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse at 30% 20%, black 40%, transparent 85%);
}
.blueprint-grid.dark {
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  opacity: 1;
}

/* ---------- scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- hero entrance ---------- */
.hero-in {
  opacity: 0;
  transform: translateY(16px);
  animation: hero-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--d, 0) * 0.1s + 0.1s);
}
@keyframes hero-in {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- magnetic buttons ---------- */
.btn-magnetic { will-change: transform; }

/* ---------- hover lift on cards ---------- */
.process-card, .cap-card { transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.2s ease; }
.process-card:hover, .cap-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(11, 18, 32, 0.08);
}
.cap-card:hover { border-color: var(--azure); }
.cap-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 2px; height: 0;
  background: var(--azure);
  transition: height 0.3s ease;
}
.cap-card { overflow: hidden; }
.cap-card:hover::before { height: 100%; }

.stat-card { transition: transform 0.3s ease; }
.stat-card:hover { transform: translateY(-3px); }

.review-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.review-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(11, 18, 32, 0.08); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 0;
  background: var(--ink);
}
.hero-tech-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  animation: heroBrightness 6s ease-in-out infinite;
}
@keyframes heroBrightness {
  0%, 100% { filter: brightness(0.92); }
  50% { filter: brightness(1.15); }
}
.hero-tech-svg { width: 100%; height: 100%; display: block; }
.hero-tech-svg .circuit { stroke: rgba(150, 215, 255, 0.4); stroke-width: 2; fill: none; }
.hero-tech-svg .circuit-bright { stroke: rgba(150, 215, 255, 0.6); stroke-width: 2.2; fill: none; }
.hero-tech-svg .tech-node { fill: #EAFBFF; opacity: 0.8; }
.hero-tech-svg .tech-icon {
  stroke: rgba(150, 200, 255, 0.55);
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: rgba(150, 200, 255, 0.55);
}
.hero-tech-svg .tech-binary {
  fill: rgba(150, 200, 255, 0.18);
  font-family: var(--mono);
  font-weight: 600;
}

.hero-glow-layer { position: absolute; inset: 0; }
.glow-dot {
  position: absolute;
  border-radius: 50%;
  margin: -13px 0 0 -13px;
  background: radial-gradient(circle, rgba(180, 230, 255, 0.9) 0%, rgba(120, 200, 255, 0.45) 45%, transparent 75%);
  filter: blur(1px);
  animation: glowPulse 4.2s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.45; transform: scale(0.75); }
  50% { opacity: 1; transform: scale(1.15); }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 18, 32, 0.72) 0%,
    rgba(11, 18, 32, 0.55) 45%,
    rgba(11, 18, 32, 0.75) 100%
  );
  z-index: 1;
}
.hero > .wrap {
  position: relative;
  z-index: 2;
}

.hero-center {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 44px;
}
.hero-badge {
  display: table;
  margin: 0 auto 22px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 999px;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 13px;
}
.hero h1 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; line-height: 1.2; color: #FFFFFF; margin: 0 auto 18px; }
.hero-lead { max-width: 56ch; margin: 0 auto; font-size: 16px; color: rgba(255, 255, 255, 0.62); }

.hero-split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
}
.track { padding: 36px 50px 60px; position: relative; }
.track-advisory { background: linear-gradient(160deg, rgba(15, 158, 117, 0.16), rgba(11, 18, 32, 0) 70%); border-right: 1px solid rgba(255, 255, 255, 0.08); }
.track-digital { background: linear-gradient(200deg, rgba(47, 134, 255, 0.16), rgba(11, 18, 32, 0) 70%); }
.track-tag {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 16px;
}
.track-advisory .track-tag { background: rgba(15, 158, 117, 0.18); color: #5FD9AE; }
.track-digital .track-tag { background: rgba(47, 134, 255, 0.18); color: #7FB4FF; }
.track h3 { font-family: var(--display); font-size: 22px; color: #fff; margin-bottom: 14px; }
.track ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.track li { color: rgba(255, 255, 255, 0.65); font-size: 14px; display: flex; gap: 9px; align-items: flex-start; }
.track-advisory li::before { content: "—"; color: #5FD9AE; flex-shrink: 0; }
.track-digital li::before { content: "—"; color: #7FB4FF; flex-shrink: 0; }
.track-btn { font-family: var(--mono); font-weight: 600; font-size: 13.5px; padding: 12px 22px; border: none; }
.track-advisory .track-btn { background: var(--teal, #0F9E75); color: #fff; }
.track-digital .track-btn { background: var(--azure); color: #fff; }
.track-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }

@media (max-width: 800px) {
  .hero-split { grid-template-columns: 1fr; }
  .track-advisory { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
}

.draw-svg { width: 100%; height: auto; overflow: visible; }
.draw-box, .draw-shape, .draw-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 1.4;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw-in 1.8s ease forwards;
}
.draw-shape { stroke: #7FB4FF; animation-delay: 0.5s; }
.draw-line { stroke: rgba(255, 255, 255, 0.35); animation-delay: 0.2s; }
.draw-label {
  font-family: var(--mono);
  font-size: 10px;
  fill: rgba(255, 255, 255, 0.55);
  opacity: 0;
  animation: fade-in 0.6s ease forwards 1.8s;
}
@keyframes draw-in { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }

/* ---------- dedicated page intro band (advisory.php / digital.php) ---------- */
.page-intro { padding: 130px 0 90px; text-align: center; }
.page-intro h1 { color: #fff; font-size: clamp(28px, 3.8vw, 44px); max-width: 780px; margin: 0 auto 18px; }
.page-intro-lead { color: rgba(255, 255, 255, 0.65); font-size: 16px; max-width: 620px; margin: 0 auto 30px; }
.track-advisory-band { background: linear-gradient(160deg, #0F9E75 0%, var(--ink) 55%); }
.track-digital-band { background: linear-gradient(160deg, var(--azure) 0%, var(--ink) 55%); }

.clients-band { padding: 76px 0; background: var(--paper-raised); border-top: 1px solid var(--line); }
.clients-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.client-chip {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 16px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.client-chip:hover { border-color: #0F9E75; transform: translateY(-2px); }

@media (max-width: 900px) { .clients-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .clients-grid { grid-template-columns: 1fr; } }

.why-band-page { background: var(--ink); color: #fff; padding: 70px 0; text-align: center; }
.why-band-page h2 { color: #fff; font-size: clamp(24px, 3vw, 30px); max-width: 620px; margin: 0 auto 16px; }
.why-band-page p { color: rgba(255, 255, 255, 0.62); max-width: 680px; margin: 0 auto; font-size: 16px; }

/* ---------- prototype callout band ---------- */
.prototype-band {
  background: var(--ink);
  color: #fff;
  padding: 56px 0;
}
.prototype-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.prototype-copy { max-width: 640px; }
.prototype-band .eyebrow { color: var(--amber); }
.prototype-band h2 { font-size: clamp(24px, 3vw, 32px); color: #fff; margin-bottom: 12px; }
.prototype-band p { color: rgba(255, 255, 255, 0.72); margin: 0; font-size: 15px; }
.prototype-band .btn-primary { background: var(--amber); border-color: var(--amber); color: var(--ink); flex-shrink: 0; }
.prototype-band .btn-primary:hover { background: #fff; border-color: #fff; }

/* ---------- operating pillars ---------- */
.pillars { padding: 90px 0; background: var(--paper-raised); border-bottom: 1px solid var(--line); }
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.pillar-card { background: var(--paper-raised); padding: 40px; }
.pillar-num {
  font-family: var(--mono);
  font-weight: 600;
  color: var(--azure);
  font-size: 22px;
  letter-spacing: 0.02em;
  display: block;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 14px;
}
.pillar-num::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 22px;
  height: 2px;
  background: var(--amber);
}
.pillar-card h3 { font-size: 22px; margin-bottom: 12px; }
.pillar-card p { font-size: 15px; margin: 0; max-width: 46ch; }

@media (max-width: 800px) {
  .pillars-grid { grid-template-columns: 1fr; }
}

/* ---------- process ---------- */
.process { padding: 100px 0; }
.process h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 40px; max-width: 20ch; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.process-card {
  background: var(--paper);
  padding: 30px 24px;
  transition: background 0.2s ease;
}
.process-card:hover { background: var(--paper-raised); }
.process-num {
  font-family: var(--mono);
  font-weight: 600;
  color: var(--azure);
  font-size: 22px;
  letter-spacing: 0.02em;
  display: block;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 14px;
}
.process-num::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 22px;
  height: 2px;
  background: var(--amber);
}
.process-card h3 { font-size: 18px; margin-bottom: 10px; }
.process-card p { font-size: 14.5px; margin: 0; }

@media (max-width: 900px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ---------- capabilities (also reused for Business Advisory section) ---------- */
.capabilities { padding: 100px 0; background: var(--paper-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(26px, 3vw, 36px); margin: 0; max-width: 16ch; }
.section-sub { max-width: 38ch; font-size: 15px; margin: 0; }

.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cap-card {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 2px;
  position: relative;
}
.icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--azure-soft);
  color: var(--azure);
  margin-bottom: 16px;
}
.icon-badge svg { width: 22px; height: 22px; }
.icon-badge-sm { width: 36px; height: 36px; margin-bottom: 12px; }
.icon-badge-sm svg { width: 18px; height: 18px; }
.cap-card:hover .icon-badge,
.industry-card:hover .icon-badge { background: var(--azure); color: #fff; transition: background 0.2s ease, color 0.2s ease; }

.capabilities.alt { background: var(--paper); }

.cap-tag {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 14px;
  color: var(--azure);
  display: block;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 14px;
}
.cap-tag::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 22px;
  height: 2px;
  background: var(--amber);
}
.cap-card h3 { font-size: 18px; margin: 14px 0 8px; }
.cap-card p { font-size: 14.5px; margin: 0; }

@media (max-width: 900px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cap-grid { grid-template-columns: 1fr; } }

/* ---------- industries ---------- */
.industries { padding: 100px 0; background: var(--paper-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.industry-card {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}
.industry-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(11, 18, 32, 0.08); border-color: var(--azure); }
.industry-card h3 { font-size: 16px; margin-bottom: 8px; }
.industry-card p { font-size: 13.5px; margin: 0; }

@media (max-width: 900px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .industry-grid { grid-template-columns: 1fr; } }

/* ---------- b2b ---------- */
.b2b { position: relative; background: var(--ink); color: #fff; padding: 100px 0; overflow: hidden; }
.b2b-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.b2b h2 { font-size: clamp(26px, 3vw, 36px); color: #fff; max-width: 16ch; margin-bottom: 16px; }
.section-sub-dark { color: rgba(255, 255, 255, 0.65); font-size: 15px; max-width: 42ch; margin-bottom: 28px; }
.b2b-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.b2b-list li {
  background: var(--ink);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  font-family: var(--body);
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.2s ease, padding-left 0.2s ease;
}
.b2b-list li:hover { background: var(--ink-soft); padding-left: 24px; }
.b2b-index { font-family: var(--mono); font-weight: 600; font-size: 12px; color: #7FB4FF; flex-shrink: 0; }

@media (max-width: 860px) { .b2b-grid { grid-template-columns: 1fr; } }

/* ---------- about ---------- */
.about { padding: 100px 0; }
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.about h2 { font-size: clamp(26px, 3.2vw, 38px); max-width: 18ch; margin-bottom: 18px; }
.about-body { font-size: 15.5px; max-width: 56ch; margin-bottom: 26px; }
.about-diagram { max-width: 340px; margin: 0 auto; }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-diagram { order: -1; }
}

/* ---------- stats ---------- */
.stats {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: 76px 0;
  overflow: hidden;
}
.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-card { display: flex; flex-direction: column; align-items: center; }
.stat-value {
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
  color: var(--amber);
}
.stat-suffix {
  font-family: var(--display);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 700;
  color: var(--amber);
}
.stat-label {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 13px;
  color: #ffffff;
  margin-top: 8px;
}
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; } }

/* ---------- reviews ---------- */
.reviews { padding: 100px 0; }
.reviews-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.reviews h2, .reviews-head h2 { font-size: clamp(26px, 3vw, 36px); max-width: 20ch; margin: 0; }
.reviews-nav { display: flex; gap: 10px; }
.slider-btn {
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: var(--paper-raised);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.slider-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }

.reviews-slider { overflow: hidden; }
.reviews-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.review-card {
  margin: 0;
  flex: 0 0 calc((100% - 48px) / 3);
  padding: 28px 24px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-top: 3px solid var(--azure);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 2px;
}
.review-card p { font-size: 15px; color: var(--ink); margin-bottom: 24px; }
.review-card footer { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--azure-soft);
  color: var(--azure);
  font-family: var(--display);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.review-id { display: flex; flex-direction: column; font-family: var(--mono); font-size: 12.5px; }
.review-name { color: var(--ink); font-weight: 600; }
.review-role { color: var(--slate-soft); }

.reviews-dots { display: none; justify-content: center; gap: 8px; margin-top: 28px; }
.review-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.review-dot.active { background: var(--azure); transform: scale(1.3); }

@media (max-width: 900px) {
  .review-card { flex: 0 0 100%; }
  .reviews-nav { display: none; }
  .reviews-dots { display: flex; }
}

/* ---------- insights ---------- */
.insights { padding: 100px 0; background: var(--paper-raised); border-top: 1px solid var(--line); }
.insights h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 40px; }
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.insight-card {
  display: block;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: 2px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}
.insight-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(11, 18, 32, 0.08); border-color: var(--azure); }
.insight-tag {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--azure);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.insight-card h3 { font-size: 17px; margin: 14px 0 8px; max-width: 26ch; }
.insight-card p { font-size: 14px; margin: 0 0 20px; }
.insight-arrow {
  position: absolute;
  right: 20px;
  bottom: 22px;
  color: var(--ink);
  transition: transform 0.2s ease;
}
.insight-card:hover .insight-arrow { transform: translateX(4px); color: var(--azure); }

@media (max-width: 900px) { .insights-grid { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq { padding: 100px 0; background: var(--paper-raised); border-top: 1px solid var(--line); }
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; }
.faq-head h2 { font-size: clamp(26px, 3vw, 34px); max-width: 14ch; }

.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 16.5px;
  color: var(--ink);
  text-align: left;
}
.faq-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, background 0.2s ease;
}
.faq-icon::before { width: 12px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 12px; }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-item.open .faq-icon::before { background: var(--azure); }

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-panel-inner { padding-bottom: 18px; }
.faq-item p { margin: 0; font-size: 14.5px; max-width: 60ch; }

@media (max-width: 800px) { .faq-wrap { grid-template-columns: 1fr; } }

/* ---------- cta ---------- */
.cta { padding: 90px 0 110px; text-align: center; }
.cta-inner { max-width: 640px; margin: 0 auto; }
.cta h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 26px; }

/* ---------- footer ---------- */
.site-footer { position: relative; background: var(--ink); color: rgba(255,255,255,0.75); padding: 70px 0 24px; overflow: hidden; }
.footer-fig {
  position: absolute;
  top: 0;
  right: -5%;
  width: 60%;
  height: 100%;
  background-image: url('../img/fig-01-tech.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  mix-blend-mode: screen;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.site-footer .wrap { position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.7fr 1.2fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand .logo-text { color: #fff; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 14px; max-width: 26ch; }
.footer-col h4 {
  font-family: var(--mono);
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.75); }
.footer-col a:hover { color: var(--amber); }

.footer-form form { display: flex; flex-direction: column; gap: 10px; }
.footer-form h4 { color: #ffffff; }
.footer-form input, .footer-form select {
  background: var(--ink-soft);
  border: 1px solid var(--line-dark);
  color: #fff;
  font-family: var(--body);
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 2px;
  resize: vertical;
}
.footer-form input::placeholder { color: rgba(255,255,255,0.4); }
.footer-form .btn-primary { background: var(--amber); border-color: var(--amber); color: var(--ink); align-self: flex-start; }
.footer-form .btn-primary:hover { background: #fff; border-color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}