/* 03-services-compass.css — Full-Bleed Deep Forest 4-Quadrant Kinetic Compass
   Scoped prefix: snsv | WCAG 2.2 AA | Zero horizontal overflow down to 320px */

.snsv-root {
  --snsv-bg-deep: #072113;
  --snsv-bg-dark: #0A2E1A;
  --snsv-bg-forest: #0F3B22;
  --snsv-emerald: #0B9444;
  --snsv-sage: #4FB878;
  --snsv-mint: #9CD9B3;
  --snsv-gold: #E8A423;
  --snsv-gold-bright: #FFE09C;
  --snsv-white: #FFFFFF;
  --snsv-font-head: 'Lexend', system-ui, -apple-system, sans-serif;
  --snsv-font-body: 'DM Sans', system-ui, -apple-system, sans-serif;

  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  background:
    radial-gradient(ellipse 74% 68% at 50% 48%, rgba(15, 59, 34, 0.92) 0%, rgba(10, 46, 26, 0.98) 54%, #072113 100%),
    linear-gradient(135deg, #072113 0%, #0A2E1A 52%, #0F3B22 100%);
  border-top: 1px solid rgba(232, 164, 35, 0.24);
  border-bottom: 1px solid rgba(232, 164, 35, 0.24);
  color: var(--snsv-white);
  font-family: var(--snsv-font-body);
}

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

.snsv-shell {
  position: relative;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 1.85rem;
}

/* Top bar: subtle editorial anchor + dedicated 44x44 pause slot (zero collision) */
.snsv-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 44px;
  margin-bottom: 0.35rem;
}

.snsv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-family: var(--snsv-font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--snsv-mint);
}

.snsv-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--snsv-gold);
  box-shadow: 0 0 10px rgba(232, 164, 35, 0.7);
  flex: 0 0 auto;
}

.snsv-pause-slot {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 44px;
  min-height: 44px;
  flex: 0 0 auto;
}

/* Widescreen Compass Stage */
.snsv-stage {
  position: relative;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.snsv-svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1120 / 480;
  overflow: visible;
  user-select: none;
  -webkit-user-select: none;
}

/* Layer 1: Atmosphere & Architectural Grid */
.snsv-orbit-hair {
  stroke: rgba(156, 217, 179, 0.11);
  stroke-width: 1;
}

.snsv-orbit-dashed {
  stroke-dasharray: 3 8;
  stroke: rgba(232, 164, 35, 0.14);
}

.snsv-axis-hair {
  stroke: rgba(156, 217, 179, 0.08);
  stroke-width: 1;
}

.snsv-mote {
  fill: var(--snsv-sage);
  opacity: 0.42;
  animation: snsv-twinkle 6.5s ease-in-out infinite alternate;
}

.snsv-mote-gold {
  fill: var(--snsv-gold);
  opacity: 0.5;
  animation-duration: 5.2s;
}

/* Layer 2: Quadrant Sightlines & Sector Highlights */
.snsv-sector-wedge {
  fill: rgba(232, 164, 35, 0.03);
  opacity: 0.25;
  transition: opacity 0.45s ease, fill 0.45s ease;
}

.snsv-conduit.snsv-is-active .snsv-sector-wedge {
  fill: rgba(232, 164, 35, 0.13);
  opacity: 1;
}

.snsv-sightline {
  stroke: rgba(156, 217, 179, 0.2);
  stroke-width: 1.15;
  stroke-dasharray: 4 5;
  transition: stroke 0.35s ease, stroke-width 0.35s ease;
}

.snsv-conduit.snsv-is-active .snsv-sightline {
  stroke: rgba(232, 164, 35, 0.72);
  stroke-width: 1.65;
  stroke-dasharray: none;
}

.snsv-conduit-node {
  fill: var(--snsv-sage);
  opacity: 0.45;
  transition: fill 0.35s ease, opacity 0.35s ease;
}

.snsv-conduit.snsv-is-active .snsv-conduit-node {
  fill: var(--snsv-gold-bright);
  opacity: 1;
}

.snsv-pulse-orb {
  fill: var(--snsv-gold-bright);
  opacity: 0.18;
  transition: opacity 0.35s ease;
}

.snsv-conduit.snsv-is-active .snsv-pulse-orb {
  opacity: 0.96;
}

/* Layer 3: Four Bespoke Sculptures */
.snsv-quad {
  cursor: pointer;
  opacity: 0.76;
  transition: opacity 0.4s ease;
}

.snsv-quad:hover,
.snsv-quad.snsv-is-active {
  opacity: 1;
}

.snsv-quad-aura {
  opacity: 0.22;
  transition: opacity 0.45s ease;
}

.snsv-quad.snsv-is-active .snsv-quad-aura {
  opacity: 0.85;
}

/* Q1: Strategy */
.snsv-iso-grid {
  fill: rgba(11, 148, 68, 0.08);
  stroke: rgba(79, 184, 120, 0.42);
  stroke-width: 1.1;
}

.snsv-iso-hair {
  stroke: rgba(156, 217, 179, 0.22);
  stroke-width: 0.9;
}

.snsv-iso-vertex {
  fill: var(--snsv-gold);
  opacity: 0.78;
}

.snsv-arc-path {
  stroke-linecap: round;
  transition: stroke-opacity 0.35s ease;
}

.snsv-arc-a {
  stroke: var(--snsv-gold);
  stroke-width: 1.75;
  stroke-opacity: 0.85;
}

.snsv-arc-b {
  stroke: var(--snsv-sage);
  stroke-width: 1.35;
  stroke-opacity: 0.72;
  stroke-dasharray: 4 4;
}

.snsv-arc-c {
  stroke: var(--snsv-mint);
  stroke-width: 1.1;
  stroke-opacity: 0.55;
}

.snsv-target-ring {
  fill: none;
  stroke: var(--snsv-gold);
  stroke-width: 1.25;
  opacity: 0.78;
}

.snsv-target-core {
  fill: var(--snsv-gold-bright);
}

.snsv-kinetic-bead {
  fill: var(--snsv-gold-bright);
}

.snsv-bead-sage {
  fill: var(--snsv-sage);
}

.snsv-knight-base {
  fill: #072113;
  stroke: var(--snsv-gold);
  stroke-width: 1.2;
}

.snsv-knight-body {
  stroke: rgba(156, 217, 179, 0.55);
  stroke-width: 1;
}

.snsv-knight-facet {
  opacity: 0.92;
}

.snsv-knight-edge {
  stroke: var(--snsv-gold-bright);
  stroke-width: 1.35;
  stroke-linejoin: round;
}

.snsv-knight-eye {
  fill: var(--snsv-bg-deep);
}

/* Q2: Training */
.snsv-ripple {
  fill: none;
  stroke: rgba(79, 184, 120, 0.44);
  stroke-width: 1.2;
}

.snsv-quad.snsv-is-active .snsv-ripple {
  stroke: rgba(232, 164, 35, 0.52);
}

.snsv-ripple-outer {
  stroke-dasharray: 3 6;
  stroke-opacity: 0.45;
}

.snsv-filament {
  stroke: rgba(156, 217, 179, 0.28);
  stroke-width: 1;
}

.snsv-sat-node {
  fill: var(--snsv-sage);
  stroke: var(--snsv-bg-dark);
  stroke-width: 1.5;
}

.snsv-sat-gold {
  fill: var(--snsv-gold);
}

.snsv-spark-diag {
  fill: rgba(79, 184, 120, 0.75);
}

.snsv-spark-core {
  fill: var(--snsv-bg-deep);
  stroke: var(--snsv-gold-bright);
  stroke-width: 1.5;
}

/* Q3: Analysis */
.snsv-wave-axis {
  stroke: rgba(156, 217, 179, 0.45);
  stroke-width: 1.15;
}

.snsv-axis-tick {
  stroke: rgba(156, 217, 179, 0.35);
  stroke-width: 1;
}

.snsv-prism-body {
  stroke: rgba(156, 217, 179, 0.45);
  stroke-width: 1.15;
}

.snsv-prism-inner {
  fill: rgba(232, 164, 35, 0.08);
  stroke: rgba(232, 164, 35, 0.25);
  stroke-width: 0.9;
}

.snsv-prism-beam {
  stroke: rgba(255, 224, 156, 0.36);
  stroke-width: 1;
  stroke-dasharray: 2 3;
}

.snsv-wave {
  stroke-linecap: round;
  stroke-linejoin: round;
}

.snsv-wave-a {
  stroke: var(--snsv-gold);
  stroke-width: 2.1;
}

.snsv-wave-b {
  stroke: var(--snsv-sage);
  stroke-width: 1.55;
  opacity: 0.85;
}

.snsv-wave-c {
  stroke: var(--snsv-emerald);
  stroke-width: 1.3;
  opacity: 0.75;
}

.snsv-drop-hair {
  stroke: rgba(232, 164, 35, 0.36);
  stroke-width: 1;
  stroke-dasharray: 2 3;
}

.snsv-peak-diamond {
  fill: var(--snsv-gold-bright);
  stroke: var(--snsv-bg-deep);
  stroke-width: 1.1;
}

.snsv-peak-lead {
  fill: var(--snsv-gold);
}

/* Q4: Awareness */
.snsv-halo-arc {
  stroke: rgba(232, 164, 35, 0.65);
  stroke-width: 1.55;
  stroke-linecap: round;
}

.snsv-halo-mid {
  stroke: rgba(79, 184, 120, 0.52);
  stroke-width: 1.25;
}

.snsv-halo-far {
  stroke: rgba(156, 217, 179, 0.32);
  stroke-width: 1.05;
  stroke-dasharray: 4 5;
}

.snsv-const-line {
  stroke: rgba(156, 217, 179, 0.26);
  stroke-width: 0.95;
}

.snsv-quad.snsv-is-active .snsv-const-line {
  stroke: rgba(232, 164, 35, 0.36);
}

.snsv-cstar {
  fill: var(--snsv-mint);
}

.snsv-cstar-gold {
  fill: var(--snsv-gold-bright);
}

.snsv-beacon-ring {
  fill: rgba(11, 148, 68, 0.22);
  stroke: var(--snsv-gold);
  stroke-width: 1.35;
}

/* Layer 4: Central Precision Compass Rose */
.snsv-bezel-outer {
  fill: none;
  stroke: rgba(156, 217, 179, 0.16);
  stroke-width: 1;
}

.snsv-bezel-gold {
  fill: none;
  stroke: rgba(232, 164, 35, 0.68);
  stroke-width: 1.75;
}

.snsv-bezel-mid {
  fill: none;
  stroke: rgba(79, 184, 120, 0.34);
  stroke-width: 1;
}

.snsv-bezel-inner {
  fill: none;
  stroke: rgba(232, 164, 35, 0.42);
  stroke-width: 1.2;
}

.snsv-bezel-core {
  fill: rgba(7, 33, 19, 0.65);
  stroke: rgba(79, 184, 120, 0.3);
  stroke-width: 1;
}

.snsv-vernier-track {
  fill: none;
  stroke: rgba(156, 217, 179, 0.16);
  stroke-width: 1;
  stroke-dasharray: 2 6;
}

.snsv-vernier-arc {
  fill: none;
  stroke: rgba(232, 164, 35, 0.46);
  stroke-width: 1.6;
  stroke-dasharray: 28 76 14 76;
}

.snsv-vernier-fine {
  fill: none;
  stroke: rgba(79, 184, 120, 0.28);
  stroke-width: 1;
  stroke-dasharray: 12 24 4 24;
}

.snsv-tick-major {
  stroke: var(--snsv-gold);
  stroke-width: 2;
  stroke-linecap: round;
}

.snsv-tick-mid {
  stroke: rgba(232, 164, 35, 0.72);
  stroke-width: 1.4;
  stroke-linecap: round;
}

.snsv-tick-minor {
  stroke: rgba(156, 217, 179, 0.38);
  stroke-width: 1;
}

.snsv-itick-major {
  stroke: rgba(232, 164, 35, 0.64);
  stroke-width: 1.3;
}

.snsv-itick-minor {
  stroke: rgba(156, 217, 179, 0.3);
  stroke-width: 0.9;
}

.snsv-star-light {
  fill: rgba(79, 184, 120, 0.34);
  stroke: rgba(156, 217, 179, 0.42);
  stroke-width: 0.75;
}

.snsv-star-dark {
  fill: rgba(6, 102, 50, 0.5);
  stroke: rgba(79, 184, 120, 0.22);
  stroke-width: 0.75;
}

.snsv-star-minor {
  fill: rgba(232, 164, 35, 0.28);
}

.snsv-star-minor-dark {
  fill: rgba(138, 87, 6, 0.32);
}

.snsv-cardinal-txt {
  font-family: var(--snsv-font-head);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  fill: rgba(156, 217, 179, 0.76);
}

/* Compass Needle & Jewel Cap */
.snsv-needle-halo {
  stroke: rgba(255, 224, 156, 0.55);
  stroke-width: 2;
  stroke-linecap: round;
}

.snsv-needle-tail {
  fill: #0F3B22;
  stroke: rgba(79, 184, 120, 0.8);
  stroke-width: 1.25;
}

.snsv-needle-tail-ring {
  fill: #072113;
  stroke: var(--snsv-sage);
  stroke-width: 1.4;
}

.snsv-needle-tip {
  fill: var(--snsv-gold-bright);
}

.snsv-cap-outer {
  fill: #072113;
  stroke: rgba(232, 164, 35, 0.78);
  stroke-width: 1.5;
}

.snsv-cap-core {
  fill: #0A2E1A;
}

.snsv-cap-glint {
  fill: var(--snsv-gold-bright);
  opacity: 0.9;
}

/* Four Interactive Corner Quadrant Buttons (>=44x44px WCAG 2.5.8) */
.snsv-controls {
  pointer-events: none;
}

.snsv-qbtn {
  pointer-events: auto;
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0.55rem 1.05rem;
  border: 1.5px solid rgba(156, 217, 179, 0.34);
  border-radius: 999px;
  background: rgba(7, 33, 19, 0.84);
  color: var(--snsv-white);
  font-family: var(--snsv-font-head);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 22px -12px rgba(0, 0, 0, 0.65);
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.snsv-qbtn-tl { top: 8px; left: 8px; }
.snsv-qbtn-tr { top: 8px; right: 8px; }
.snsv-qbtn-bl { bottom: 8px; left: 8px; }
.snsv-qbtn-br { bottom: 8px; right: 8px; }

.snsv-qbtn-num {
  font-family: var(--snsv-font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--snsv-sage);
  transition: color 0.25s ease;
}

.snsv-qbtn:hover {
  border-color: var(--snsv-gold);
  background: rgba(15, 59, 34, 0.96);
  transform: translateY(-1px);
}

.snsv-qbtn.snsv-is-active {
  border-color: var(--snsv-gold);
  background: rgba(15, 59, 34, 0.98);
  color: var(--snsv-white);
  box-shadow: 0 0 0 1px rgba(232, 164, 35, 0.35), 0 12px 26px -12px rgba(232, 164, 35, 0.42);
}

.snsv-qbtn.snsv-is-active .snsv-qbtn-num {
  color: var(--snsv-gold);
}

.snsv-qbtn:focus {
  outline: none;
}

.snsv-qbtn:focus-visible {
  outline: 3px solid var(--snsv-sage);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--snsv-bg-dark);
}

/* Whisper-Short Centered Micro-Bar */
.snsv-microbar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  width: fit-content;
  max-width: 100%;
  margin: 0.75rem auto 0;
  padding: 0.45rem 0.55rem 0.45rem 1.15rem;
  border: 1px solid rgba(232, 164, 35, 0.28);
  border-radius: 999px;
  background: rgba(7, 33, 19, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.snsv-micro-index {
  font-family: var(--snsv-font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--snsv-gold);
}

.snsv-micro-sep {
  width: 1px;
  height: 16px;
  background: rgba(156, 217, 179, 0.3);
}

.snsv-micro-phrase {
  font-family: var(--snsv-font-head);
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--snsv-white);
}

.snsv-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  background: var(--snsv-gold);
  color: var(--snsv-bg-dark);
  font-family: var(--snsv-font-head);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.snsv-cta:hover {
  background: var(--snsv-gold-bright);
  transform: translateX(1px);
}

.snsv-cta:focus {
  outline: none;
}

.snsv-cta:focus-visible {
  outline: 3px solid var(--snsv-sage);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--snsv-bg-dark);
}

.snsv-cta-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.snsv-cta:hover .snsv-cta-arrow {
  transform: translateX(3px);
}

/* CSS Ambient Keyframes */
@keyframes snsv-twinkle {
  0% { opacity: 0.22; }
  100% { opacity: 0.72; }
}

/* Responsive: Mobile & Narrow Tablet (zero overlap, zero overflow down to 320px) */
@media (max-width: 859px) {
  .snsv-shell {
    padding: 1rem 0.9rem 1.5rem;
  }

  .snsv-controls {
    pointer-events: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    margin-top: 0.85rem;
  }

  .snsv-qbtn {
    position: static;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    justify-content: center;
    width: 100%;
    padding: 0.6rem 0.75rem;
    font-size: 0.84rem;
  }

  .snsv-microbar {
    width: 100%;
    border-radius: 1.15rem;
    padding: 0.75rem 0.9rem;
    justify-content: center;
    text-align: center;
  }

  .snsv-cta {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .snsv-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .snsv-micro-sep {
    display: none;
  }

  .snsv-micro-phrase {
    font-size: 0.88rem;
  }
}

/* WCAG 2.2.2 Pause Contract */
html.snam-paused .snsv-root *,
html.snam-paused .snsv-root *::before,
html.snam-paused .snsv-root *::after {
  animation-play-state: paused !important;
}

/* Reduced Motion Contract: disable all looping animations, keep opacity: 1 */
@media (prefers-reduced-motion: reduce) {
  .snsv-root *,
  .snsv-root *::before,
  .snsv-root *::after {
    animation: none !important;
    transition: none !important;
  }

  .snsv-mote,
  .snsv-quad,
  .snsv-conduit.snsv-is-active .snsv-pulse-orb {
    opacity: 1;
  }
}
