:root {
  --bg: #060606;
  --bg-soft: #0d0d0d;
  --bg-2: #12110f;
  --steel: #7a8798;
  --steel-soft: #a4afbd;
  --panel: rgba(255, 255, 255, 0.038);
  --panel-strong: rgba(255, 255, 255, 0.07);
  --line: rgba(122, 135, 152, 0.22);
  --line-strong: rgba(164, 175, 189, 0.42);
  --gold: #d4b157;
  --gold-soft: #f0dc9d;
  --ink: #f4efe4;
  --ivory: #f1ede4;
  --muted: rgba(244, 239, 228, 0.66);
  --muted-2: rgba(244, 239, 228, 0.42);
  --success: #bccf9a;
  --max: 1280px;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(122, 135, 152, 0.07), transparent 280px),
    linear-gradient(180deg, #090909 0%, #050505 100%);
  font-family: "Manrope", "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.58), transparent 82%);
  pointer-events: none;
  z-index: -1;
}

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

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

button,
.button {
  font: inherit;
}

.page-shell {
  position: relative;
}

.progress-line {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  z-index: 140;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 120;
  backdrop-filter: blur(18px);
  background: rgba(6, 6, 6, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner,
.section-inner,
.detail-hero-panel,
.detail-grid,
.callout-band,
.contact-wrap,
.footer-inner,
.hero-grid {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.nav-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 22px 0 18px;
  text-align: center;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-lockup .brand-wordmark {
  display: inline-block;
  font-family: "League Spartan", "Arial Black", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  line-height: 1;
  padding-left: 0.32em;
  color: var(--ivory);
  text-transform: uppercase;
  transition: color 220ms ease, letter-spacing 220ms ease;
}

.brand-lockup:hover .brand-wordmark,
.brand-lockup:focus-visible .brand-wordmark {
  color: var(--gold-soft);
  letter-spacing: 0.36em;
}

.brand-wordmark .word-dot {
  display: inline-block;
  margin-left: 0.4em;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  vertical-align: 0.45em;
}

.brand-mark,
.brand-plaque,
.logo-sigil {
  display: none;
}

.hero h1,
.section-title,
.split-title,
.quote-text,
.card-title,
.metric,
.detail-title,
.detail-block h2,
.detail-block h3,
.map-card h3,
.contact-title,
.stat-value,
.callout-number {
  font-family: "League Spartan", "Arial Black", sans-serif;
  letter-spacing: 0;
}

.brand-wordmark {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.brand-wordmark .inline-gold {
  margin-left: 2px;
  font-size: 0.48em;
  vertical-align: super;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links a,
.eyebrow,
.tiny-label,
.meta-label,
.detail-breadcrumb,
.footer-copy {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  color: var(--muted);
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 6px 0;
  transition: color 220ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold-soft);
  transform: translateX(-50%);
  transition: width 260ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: var(--ink);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #121212;
  box-shadow: 0 10px 30px rgba(212, 177, 87, 0.16);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink);
}

.button-ghost {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--gold-soft);
}

.hero {
  padding: 72px 0 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  gap: 46px;
  align-items: end;
}

.hero-copy {
  padding-top: 30px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--steel-soft);
  margin-bottom: 24px;
}

.eyebrow::before {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--steel-soft);
}

.hero h1 {
  margin: 0;
  max-width: 13ch;
  font-size: 5.8rem;
  line-height: 0.9;
  font-weight: 600;
}

.hero h1 span,
.section-title span,
.split-title span,
.detail-title span,
.contact-title span,
.inline-gold {
  color: var(--gold-soft);
}

.hero-intro,
.section-copy,
.card-copy,
.card-fit,
.quote-meta,
.result-copy,
.contact-copy,
.detail-copy,
.meta-value,
.bullet-list li,
.map-card p,
.detail-block p,
.footer-copy,
.system-text p,
.hero-note p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-intro {
  max-width: 48ch;
  margin-top: 22px;
  font-size: 1.03rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 48px;
}

.stat-box {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.stat-value {
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1;
}

.stat-label {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.hero-visual,
.panel,
.detail-hero-panel,
.contact-panel,
.result-card,
.detail-block,
.map-card,
.contact-card,
.callout-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(122, 135, 152, 0.07), rgba(255, 255, 255, 0.012)),
    rgba(10, 10, 10, 0.78);
  box-shadow: var(--shadow);
}

.hero-visual::before,
.panel::before,
.detail-hero-panel::before,
.contact-panel::before,
.result-card::before,
.detail-block::before,
.map-card::before,
.contact-card::before,
.callout-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(122, 135, 152, 0.08), transparent 34%),
    linear-gradient(180deg, transparent 72%, rgba(212, 177, 87, 0.03));
  pointer-events: none;
}

.hero-visual > *,
.panel > *,
.detail-hero-panel > *,
.contact-panel > *,
.result-card > *,
.detail-block > *,
.map-card > *,
.contact-card > *,
.callout-card > * {
  position: relative;
  z-index: 1;
}

.hero-visual {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 22px;
  min-height: 620px;
  padding: 28px;
  overflow: hidden;
}

.hero-visual::after,
.panel::after,
.detail-hero-panel::after,
.contact-panel::after,
.result-card::after,
.detail-block::after,
.map-card::after,
.contact-card::after,
.callout-card::after,
.section-visual::after,
.quote-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 1px;
  background: linear-gradient(90deg, rgba(122, 135, 152, 0), rgba(122, 135, 152, 0.85));
  animation: panelSweep 8s linear infinite;
  pointer-events: none;
}

.system-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--steel-soft);
  font-size: 0.84rem;
  line-height: 1;
}

.section-side,
.about-stack,
.contact-stack {
  display: grid;
  gap: 18px;
  align-content: start;
}

.compact-actions {
  margin-top: 2px;
}

.section-visual {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(122, 135, 152, 0.09), rgba(255, 255, 255, 0.015)),
    rgba(11, 11, 11, 0.72);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.visual-row {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  gap: 10px;
  align-items: center;
}

.visual-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
}

.visual-node.active {
  border-color: rgba(212, 177, 87, 0.38);
  color: var(--gold-soft);
}

.visual-line {
  position: relative;
  height: 1px;
  background: rgba(122, 135, 152, 0.35);
  overflow: hidden;
}

.visual-line::after {
  content: "";
  position: absolute;
  top: -1px;
  left: -24%;
  width: 24%;
  height: 3px;
  background: linear-gradient(90deg, rgba(122, 135, 152, 0), rgba(122, 135, 152, 0.9));
  animation: flowPulse 4.4s linear infinite;
}

.visual-line.active::after {
  background: linear-gradient(90deg, rgba(212, 177, 87, 0), rgba(212, 177, 87, 0.9));
}

.visual-caption {
  color: var(--steel-soft);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
}

.signal-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
  min-height: 100px;
}

.signal-columns span {
  display: block;
  min-height: 32px;
  background: linear-gradient(180deg, rgba(212, 177, 87, 0.78), rgba(122, 135, 152, 0.18));
  animation: signalLift 5.2s ease-in-out infinite;
}

.signal-columns span:nth-child(2) {
  min-height: 64px;
  animation-delay: 180ms;
}

.signal-columns span:nth-child(3) {
  min-height: 82px;
  animation-delay: 340ms;
}

.signal-columns span:nth-child(4) {
  min-height: 54px;
  animation-delay: 520ms;
}

.system-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.system-frame {
  display: grid;
  gap: 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 6px 0;
}

.system-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.system-row:first-child {
  border-top: 0;
}

.system-index {
  font-family: "League Spartan", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold-soft);
  line-height: 1;
}

.system-text strong,
.hero-note strong,
.contact-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.02rem;
  font-weight: 600;
}

.hero-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hero-note {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.marquee {
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.018);
}

.marquee-track {
  display: flex;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-family: "League Spartan", sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(212, 177, 87, 0.75);
}

.marquee-item::after {
  content: none;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: 110px 0;
}

.section-inner {
  display: grid;
  gap: 34px;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.56fr);
  gap: 28px;
  align-items: end;
}

.section-title {
  margin: 0;
  max-width: 13ch;
  font-size: 3.8rem;
  line-height: 0.9;
  font-weight: 600;
}

.split-band {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.01));
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 24px;
  align-items: center;
}

.split-title {
  margin: 0;
  max-width: 12ch;
  font-size: 4rem;
  line-height: 0.9;
  font-weight: 600;
}

.quote-box {
  position: relative;
  border-left: 1px solid var(--line-strong);
  padding: 28px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.quote-text {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1.02;
  font-weight: 600;
}

.quote-signal {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.quote-signal span {
  position: relative;
  display: block;
  height: 2px;
  background: rgba(122, 135, 152, 0.36);
  overflow: hidden;
}

.quote-signal span::after {
  content: "";
  position: absolute;
  top: -1px;
  left: -36%;
  width: 36%;
  height: 4px;
  background: linear-gradient(90deg, rgba(212, 177, 87, 0), rgba(212, 177, 87, 0.9));
  animation: flowPulse 4.8s linear infinite;
}

.service-grid,
.results-grid,
.detail-grid,
.callout-panel {
  display: grid;
  gap: 18px;
}

.industry-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.results-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel,
.result-card,
.detail-block,
.map-card,
.contact-card,
.callout-card {
  padding: 28px;
  overflow: hidden;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.panel:hover,
.result-card:hover,
.detail-block:hover,
.map-card:hover,
.contact-card:hover,
.callout-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--steel-soft);
}

.card-title {
  margin: 18px 0 12px;
  font-size: 1.75rem;
  line-height: 0.96;
  font-weight: 600;
}

.card-fit {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.94rem;
}

.link-row {
  display: inline-flex;
  margin-top: 20px;
  color: var(--steel-soft);
  font-size: 0.95rem;
  font-weight: 600;
}

.metric {
  display: block;
  font-size: 2.6rem;
  line-height: 0.94;
  font-weight: 600;
  color: var(--gold-soft);
}

.metric-track {
  position: relative;
  height: 4px;
  margin: 16px 0 14px;
  background: rgba(122, 135, 152, 0.2);
  overflow: hidden;
}

.metric-track span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 74%;
  background: linear-gradient(90deg, var(--gold-soft), rgba(122, 135, 152, 0.35));
  transform-origin: left center;
  animation: metricGrow 4.6s ease-in-out infinite;
}

.result-card:nth-child(2) .metric-track span {
  width: 82%;
  animation-delay: 180ms;
}

.result-card:nth-child(3) .metric-track span {
  width: 68%;
  animation-delay: 360ms;
}

.bar-stack {
  display: grid;
  gap: 12px;
}

.bar-item {
  display: block;
  height: 10px;
  width: 62%;
  background: linear-gradient(90deg, rgba(122, 135, 152, 0.8), rgba(122, 135, 152, 0.16));
  animation: metricGrow 5s ease-in-out infinite;
  transform-origin: left center;
}

.bar-item-gold {
  width: 86%;
  background: linear-gradient(90deg, rgba(212, 177, 87, 0.96), rgba(122, 135, 152, 0.2));
}

.bar-item-soft {
  width: 74%;
  animation-delay: 260ms;
}

.contact-wrap {
  margin: 0 auto 110px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: 28px;
  padding: 42px;
}

.contact-title {
  margin: 0;
  max-width: 12ch;
  font-size: 4.1rem;
  line-height: 0.9;
  font-weight: 600;
}

.contact-copy {
  margin-top: 18px;
  max-width: 50ch;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-card + .contact-card {
  margin-top: 16px;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 30px 0 44px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.detail-hero {
  padding: 58px 0 34px;
}

.detail-hero-panel {
  padding: 42px;
  overflow: hidden;
}

.detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted-2);
}

.detail-title {
  margin: 20px 0 16px;
  max-width: 12ch;
  font-size: 5rem;
  line-height: 0.88;
  font-weight: 600;
}

.detail-copy {
  max-width: 58ch;
  font-size: 1rem;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.detail-signal {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.detail-signal span {
  position: relative;
  display: block;
  height: 2px;
  background: rgba(122, 135, 152, 0.3);
  overflow: hidden;
}

.detail-signal span::after {
  content: "";
  position: absolute;
  top: -1px;
  left: -32%;
  width: 32%;
  height: 4px;
  background: linear-gradient(90deg, rgba(122, 135, 152, 0), rgba(212, 177, 87, 0.88));
  animation: flowPulse 4.6s linear infinite;
}

.meta-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.022);
}

.meta-label {
  color: var(--steel-soft);
}

.meta-value {
  display: block;
  margin-top: 10px;
}

.detail-section {
  padding: 24px 0 90px;
}

.detail-grid {
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
}

.detail-rail {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 16px;
}

.detail-block h2,
.detail-block h3,
.map-card h3 {
  margin: 0 0 14px;
  font-size: 1.55rem;
  line-height: 0.96;
  font-weight: 600;
}

.bullet-list {
  margin: 0;
  padding-left: 18px;
}

.bullet-list li + li {
  margin-top: 10px;
}

.related-links {
  display: grid;
}

.related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.related-link:first-child {
  border-top: 0;
  padding-top: 2px;
}

.related-link span:last-child {
  color: var(--steel-soft);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
}

.network-graphic {
  display: grid;
  gap: 14px;
  padding-top: 4px;
}

.network-row {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  gap: 12px;
  align-items: center;
}

.network-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
  text-transform: uppercase;
}

.network-node.active {
  border-color: rgba(212, 177, 87, 0.42);
  color: var(--gold-soft);
}

.network-line {
  position: relative;
  height: 1px;
  background: rgba(122, 135, 152, 0.42);
  overflow: hidden;
}

.network-line::after {
  content: "";
  position: absolute;
  top: -1px;
  left: -28%;
  width: 28%;
  height: 3px;
  background: linear-gradient(90deg, rgba(122, 135, 152, 0), rgba(122, 135, 152, 0.85));
  animation: flowPulse 4.2s linear infinite;
}

.network-line.active::after {
  background: linear-gradient(90deg, rgba(212, 177, 87, 0), rgba(212, 177, 87, 0.92));
}

@keyframes flowPulse {
  from {
    left: -28%;
  }
  to {
    left: 100%;
  }
}

@keyframes panelSweep {
  from {
    left: -30%;
  }
  to {
    left: 100%;
  }
}

@keyframes signalLift {
  0%,
  100% {
    transform: scaleY(0.92);
    opacity: 0.78;
  }
  50% {
    transform: scaleY(1.02);
    opacity: 1;
  }
}

@keyframes metricGrow {
  0%,
  100% {
    transform: scaleX(0.86);
    opacity: 0.8;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

.map-stack {
  display: grid;
  gap: 18px;
}

.callout-band {
  margin: 0 auto 100px;
  padding-top: 12px;
}

.callout-panel {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.callout-number {
  font-size: 2.7rem;
  line-height: 0.95;
  font-weight: 600;
  color: var(--gold-soft);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-delay="1"] {
  transition-delay: 90ms;
}

[data-delay="2"] {
  transition-delay: 180ms;
}

[data-delay="3"] {
  transition-delay: 270ms;
}

.mobile-only {
  display: none;
}

@media (max-width: 1180px) {
  .hero h1 {
    font-size: 5.3rem;
  }

  .section-title,
  .split-title {
    font-size: 3.3rem;
  }

  .contact-title {
    font-size: 3.5rem;
  }

  .detail-title {
    font-size: 4.2rem;
  }

  .industry-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .section-header,
  .split-grid,
  .contact-panel,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .industry-grid,
  .results-grid,
  .callout-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-rail {
    position: static;
  }
}

@media (max-width: 760px) {
  .nav-inner {
    padding: 16px 0 14px;
    gap: 14px;
  }

  .brand-lockup .brand-wordmark {
    font-size: 1.6rem;
    letter-spacing: 0.26em;
    padding-left: 0.26em;
  }

  .nav-links {
    gap: 18px;
    justify-content: center;
  }

  .nav-links a {
    font-size: 0.66rem;
    letter-spacing: 0.18em;
  }

  .hero,
  .section,
  .detail-section {
    padding-top: 76px;
  }

  .hero-grid,
  .hero-stats,
  .hero-notes,
  .network-row,
  .visual-row,
  .service-grid,
  .industry-grid,
  .results-grid,
  .detail-meta,
  .callout-panel {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 3.7rem;
  }

  .section-title,
  .split-title {
    font-size: 2.6rem;
  }

  .quote-text {
    font-size: 1.7rem;
  }

  .contact-title {
    font-size: 2.8rem;
  }

  .detail-title {
    font-size: 3.1rem;
  }

  .hero-visual,
  .panel,
  .detail-hero-panel,
  .contact-panel,
  .result-card,
  .detail-block,
  .map-card,
  .callout-card {
    padding: 22px;
  }

  .hero-visual {
    min-height: auto;
  }

  .network-row {
    grid-template-columns: 1fr;
  }

  .network-line {
    display: none;
  }

  .visual-row {
    grid-template-columns: 1fr;
  }

  .visual-line {
    display: none;
  }

  .system-row {
    grid-template-columns: 52px 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-only {
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Hero orbit visual (replaces dense system frame) */
.hero-visual {
  align-content: stretch;
  justify-items: center;
  padding: 28px 22px 22px;
}

.hero-orbit {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.orbit-rotor {
  transform-box: fill-box;
  transform-origin: center;
  animation: orbitSpin 22s linear infinite;
}

.orbit-rotor.rotor-b {
  animation-duration: 16s;
  animation-direction: reverse;
}

.orbit-rotor.rotor-c {
  animation-duration: 11s;
}

.orbit-dot {
  filter: drop-shadow(0 0 6px rgba(240, 220, 157, 0.7));
}

.orbit-dot.dot-a {
  animation: orbitOuter 22s linear infinite;
}

.orbit-dot.dot-b {
  animation: orbitMid 16s linear infinite reverse;
}

.orbit-dot.dot-c {
  animation: orbitInner 11s linear infinite;
}

.orbit-labels text {
  font-family: "League Spartan", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  fill: var(--steel-soft);
  text-transform: uppercase;
}

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes orbitOuter {
  from { transform: rotate(0deg) translateX(148px) rotate(0deg); transform-origin: 160px 160px; }
  to   { transform: rotate(360deg) translateX(148px) rotate(-360deg); transform-origin: 160px 160px; }
}

@keyframes orbitMid {
  from { transform: rotate(0deg) translateX(110px) rotate(0deg); transform-origin: 160px 160px; }
  to   { transform: rotate(360deg) translateX(110px) rotate(-360deg); transform-origin: 160px 160px; }
}

@keyframes orbitInner {
  from { transform: rotate(0deg) translateX(74px) rotate(0deg); transform-origin: 160px 160px; }
  to   { transform: rotate(360deg) translateX(74px) rotate(-360deg); transform-origin: 160px 160px; }
}

.hero-pipeline {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 18px;
}

.pipe-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-family: "League Spartan", sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pipe-step.active {
  border-color: rgba(212, 177, 87, 0.45);
  color: var(--gold-soft);
}

.pipe-line {
  position: relative;
  height: 1px;
  background: rgba(122, 135, 152, 0.28);
  overflow: hidden;
}

.pipe-line.active {
  background: rgba(212, 177, 87, 0.4);
}

.pipe-line::after {
  content: "";
  position: absolute;
  top: -1px;
  left: -28%;
  width: 28%;
  height: 3px;
  background: linear-gradient(90deg, rgba(212, 177, 87, 0), rgba(212, 177, 87, 0.85));
  animation: flowPulse 4.6s linear infinite;
}

/* Sector ROI section */
.roi-section .section-header {
  align-items: end;
}

.roi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.roi-card {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(122, 135, 152, 0.06), rgba(255, 255, 255, 0.012)),
    rgba(10, 10, 10, 0.78);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
  overflow: hidden;
}

.roi-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(212, 177, 87, 0.6), rgba(212, 177, 87, 0));
  transform-origin: left center;
  transform: scaleX(0.3);
  transition: transform 380ms ease;
}

.roi-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 177, 87, 0.32);
}

.roi-card:hover::before {
  transform: scaleX(1);
}

.roi-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--steel-soft);
  margin-bottom: 14px;
}

.roi-title {
  margin: 0 0 14px;
  font-family: "League Spartan", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
}

.roi-bars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.roi-bars li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.roi-metric {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.roi-track {
  position: relative;
  display: block;
  height: 6px;
  background: rgba(122, 135, 152, 0.18);
  overflow: hidden;
}

.roi-track i {
  display: block;
  height: 100%;
  width: var(--w, 50%);
  background: linear-gradient(90deg, var(--gold-soft), var(--gold) 60%, rgba(122, 135, 152, 0.4));
  transform-origin: left center;
  animation: roiBarGrow 1.2s ease-out both;
}

.roi-num {
  font-family: "League Spartan", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gold-soft);
  letter-spacing: 0.04em;
  text-align: right;
}

.roi-bars li {
  grid-template-columns: 1fr;
  grid-template-areas: "metric" "track";
}

.roi-bars li .roi-metric { grid-area: metric; }
.roi-bars li .roi-track  { grid-area: track; }
.roi-bars li .roi-num    {
  grid-area: metric;
  justify-self: end;
  align-self: center;
}

@keyframes roiBarGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.roi-overall {
  margin-top: 28px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(122, 135, 152, 0.07), rgba(255, 255, 255, 0.012)),
    rgba(10, 10, 10, 0.78);
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.roi-overall-header {
  display: grid;
  gap: 12px;
}

.roi-overall-title {
  margin: 0;
  font-family: "League Spartan", sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1;
}

.roi-radar {
  width: 100%;
  height: auto;
  display: block;
}

.roi-grid-lines line {
  stroke: rgba(122, 135, 152, 0.18);
  stroke-dasharray: 2 4;
}

.roi-axis-labels text {
  font-family: "League Spartan", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  fill: var(--muted-2);
  text-transform: uppercase;
}

.roi-points circle {
  fill: var(--gold-soft);
  filter: drop-shadow(0 0 6px rgba(240, 220, 157, 0.55));
}

.roi-line {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: roiLineDraw 2.4s ease-out forwards;
}

@keyframes roiLineDraw {
  to { stroke-dashoffset: 0; }
}

.roi-overall-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.roi-overall-stats > div {
  display: grid;
  gap: 6px;
}

.roi-stat {
  font-family: "League Spartan", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold-soft);
  line-height: 1;
}

.contact-visual-wrap {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.022);
  padding: 18px;
  display: grid;
  gap: 10px;
}

.contact-spark {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1180px) {
  .roi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .roi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .roi-overall {
    grid-template-columns: 1fr;
  }

  .hero-pipeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-pipeline .pipe-line {
    display: none;
  }
}

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

  .roi-overall-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-pipeline {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .roi-overall {
    padding: 22px;
  }
}

