.dualnav-hero .hero-copy h1 {
  max-width: 790px;
  font-size: clamp(3rem, 5.2vw, 5.05rem);
}

.dualnav-hero .hero-copy h1 span {
  color: var(--gold);
}

.dualnav-graphic {
  background:
    radial-gradient(circle at 44% 58%, rgba(99, 214, 198, 0.16), transparent 32%),
    radial-gradient(circle at 18% 24%, rgba(215, 182, 109, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 38%),
    rgba(12, 16, 23, 0.78);
}

.dualnav-graphic .current-line {
  fill: none;
  stroke: rgba(99, 214, 198, 0.28);
  stroke-width: 2;
  stroke-dasharray: 8 16;
  animation: currentDrift 11s linear infinite;
}

.dualnav-graphic .current-line--b {
  animation-duration: 14s;
  opacity: 0.68;
}

.dualnav-graphic .ship-aura {
  fill: url(#dualnavGlow);
  opacity: 0.55;
  animation: vesselGlow 5.8s ease-in-out infinite;
}

.dualnav-graphic .ship-hull,
.dualnav-graphic .ship-deck,
.dualnav-graphic .ship-sail,
.dualnav-graphic .navigator-node circle:not(.node-glow),
.dualnav-graphic .router-node rect,
.dualnav-graphic .book-node rect,
.dualnav-graphic .captain-node circle,
.dualnav-graphic .iron-law-node rect {
  fill: rgba(9, 13, 18, 0.88);
  stroke: rgba(214, 199, 150, 0.66);
  stroke-width: 1.6;
}

.dualnav-graphic .ship-deck,
.dualnav-graphic .iron-law-node rect {
  fill: rgba(214, 199, 150, 0.08);
}

.dualnav-graphic .ship-mast,
.dualnav-graphic .ship-wake,
.dualnav-graphic .navigator-node path,
.dualnav-graphic .router-node path,
.dualnav-graphic .book-node path,
.dualnav-graphic .captain-node path {
  fill: none;
  stroke: rgba(236, 232, 220, 0.72);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dualnav-graphic .ship-sail--intuition {
  fill: rgba(215, 182, 109, 0.075);
  stroke: rgba(215, 182, 109, 0.62);
}

.dualnav-graphic .ship-sail--measure {
  fill: rgba(99, 214, 198, 0.06);
  stroke: rgba(99, 214, 198, 0.62);
}

.dualnav-graphic .ship-beacon {
  fill: var(--gold);
  filter: drop-shadow(0 0 18px rgba(215, 182, 109, 0.66));
  animation: beaconBlink 3.8s ease-in-out infinite;
}

.dualnav-graphic .navigator-node .node-glow {
  fill: url(#dualnavGlow);
  opacity: 0.42;
}

.dualnav-graphic .navigator-node--intuition path {
  stroke: rgba(215, 182, 109, 0.82);
  animation: intuitionSway 6.8s ease-in-out infinite;
}

.dualnav-graphic .navigator-node--measure path {
  stroke: rgba(99, 214, 198, 0.86);
  animation: measurePulse 4.8s ease-in-out infinite;
}

.decision-line {
  fill: none;
  stroke: url(#dualnavLine);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 7 12;
  opacity: 0.78;
  animation: decisionFlow 6.2s linear infinite;
}

.decision-line--b {
  animation-duration: 7.2s;
}

.decision-line--c {
  animation-duration: 5.2s;
}

.decision-line--d {
  animation-duration: 8s;
}

.decision-line--e {
  animation-duration: 7.6s;
  animation-direction: reverse;
}

.decision-line--f {
  animation-duration: 9s;
}

.signal-dots circle {
  fill: var(--gold);
  filter: drop-shadow(0 0 10px rgba(215, 182, 109, 0.62));
  opacity: 0.68;
  animation: signalBlink 3.2s ease-in-out infinite;
}

.signal-dots circle:nth-child(2) {
  animation-delay: -0.45s;
}

.signal-dots circle:nth-child(3) {
  animation-delay: -0.9s;
}

.signal-dots circle:nth-child(4) {
  animation-delay: -1.35s;
}

.signal-dots circle:nth-child(5) {
  animation-delay: -1.8s;
}

.signal-dots circle:nth-child(6) {
  animation-delay: -2.25s;
}

.dualnav-graphic text {
  fill: rgba(236, 232, 220, 0.74);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.09em;
  text-anchor: middle;
}

.dualnav-graphic .caption {
  fill: rgba(170, 164, 146, 0.78);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-anchor: start;
}

.dualnav-content .opening-note {
  color: rgba(236, 232, 220, 0.86);
}

.role-map {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: 2rem 0;
  border: 1px solid rgba(214, 199, 150, 0.16);
  background: rgba(214, 199, 150, 0.14);
}

.role-map section,
.epilogue-list,
.companion-block {
  background:
    linear-gradient(180deg, rgba(99, 214, 198, 0.045), transparent 54%),
    rgba(13, 16, 22, 0.78);
}

.role-map section {
  padding: 1.05rem;
}

.role-map span {
  display: block;
  margin-bottom: 1.4rem;
  color: var(--cyan);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.role-map h3 {
  margin: 0 0 0.65rem;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 750;
}

.role-map p,
.epilogue-list p,
.companion-block span,
.fleet-note {
  color: rgba(236, 232, 220, 0.78);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.94rem;
  line-height: 1.62;
}

.role-map p,
.epilogue-list p:last-child {
  margin-bottom: 0;
}

.ship-rule {
  margin: 2rem 0;
  border: 1px solid rgba(215, 182, 109, 0.2);
  background:
    linear-gradient(90deg, rgba(215, 182, 109, 0.12), rgba(99, 214, 198, 0.04)),
    rgba(13, 16, 22, 0.76);
  padding: 1.1rem 1.2rem;
  color: var(--gold);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.55;
  text-transform: uppercase;
}

.epilogue-list,
.companion-block {
  margin: 2rem 0;
  border: 1px solid rgba(99, 214, 198, 0.18);
  padding: 1.2rem;
}

.epilogue-list p {
  margin: 0;
}

.epilogue-list p + p {
  margin-top: 0.8rem;
}

.companion-block p {
  margin: 0 0 0.7rem;
  color: var(--gold);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.companion-block a {
  color: var(--text);
  text-decoration-color: rgba(99, 214, 198, 0.42);
  text-underline-offset: 0.22em;
}

.companion-block a:hover,
.companion-block a:focus-visible {
  color: var(--gold);
  outline: none;
}

.fleet-note {
  margin-top: 1.6rem;
  color: var(--muted);
}

.dualnav-content blockquote {
  text-align: left;
}

@keyframes currentDrift {
  to {
    stroke-dashoffset: -72;
  }
}

@keyframes vesselGlow {
  50% {
    opacity: 0.82;
    transform: scale(1.04);
  }
}

@keyframes intuitionSway {
  0%,
  100% {
    transform: translateX(-2px) rotate(-3deg);
  }

  50% {
    transform: translateX(3px) rotate(4deg);
  }
}

@keyframes measurePulse {
  50% {
    stroke-opacity: 0.48;
  }
}

@keyframes decisionFlow {
  to {
    stroke-dashoffset: -38;
  }
}

@keyframes beaconBlink {
  50% {
    opacity: 0.48;
    transform: scale(0.86);
  }
}

@keyframes signalBlink {
  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}

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

@media (max-width: 720px) {
  .dualnav-hero .hero-copy h1 {
    font-size: 2.55rem;
  }

  .role-map {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dualnav-graphic *,
  .signal-dots circle {
    animation: none !important;
  }
}
