.resonance-process {
  /* ---- Navy color system ---- */
  --rp-bg:            #07111F;
  --rp-bg-2:          #0A1728;
  --rp-surface:       #0D1B2E;
  --rp-surface-hi:    #11243B;
  --rp-surface-deep:  #081321;
  --rp-shadow-dark:   #030914;
  --rp-navy-shadow:   rgba(0, 20, 45, 0.75);
  --rp-hi:            rgba(255, 255, 255, 0.07);
  --rp-text:          #FFFFFF;
  --rp-text-2:        #000;
  --rp-text-3:        #FFF;
  --rp-accent:        #3B82F6;
  --rp-accent-2:      #60A5FA;
  --rp-accent-soft:   #93C5FD;
  --rp-accent-glow:   rgba(59, 130, 246, 0.35);
  --rp-border-hi:     rgba(147, 197, 253, 0.10);

  --rp-gap: clamp(22px, 2.6vw, 40px);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 40px 20px;
  /* background:
    radial-gradient( 130% 90% at 50% 0%, #1c3041 0%, #1c3550 55%, #1c3141 100% ); */
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--rp-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  border-radius: 30px;
  margin: 20px;
}

.resonance-process *,
.resonance-process *::before,
.resonance-process *::after { box-sizing: border-box; }

/* ==========================================================================
   DECORATIVE ENVIRONMENT
   ========================================================================== */
.resonance-process__decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.resonance-process__grid {
  position: absolute;
  inset: -12%;
  background-image:
    linear-gradient(rgba(147, 197, 253, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147, 197, 253, 0.045) 1px, transparent 1px);
  background-size: 74px 74px;
  -webkit-mask-image: radial-gradient(ellipse 68% 58% at 50% 42%, #000 0%, transparent 78%);
          mask-image: radial-gradient(ellipse 68% 58% at 50% 42%, #000 0%, transparent 78%);
  opacity: 0.55;
}

.resonance-process__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(59, 130, 246, 0.12);
  box-shadow: inset 0 0 40px rgba(59, 130, 246, 0.05);
}
.resonance-process__ring--1 { width: 340px; height: 340px; top: -90px;  right: -70px; }
.resonance-process__ring--2 { width: 190px; height: 190px; bottom: -50px; left: -40px; }

.resonance-process__orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #1B3350, #0A1728 62%, #07111F 100%);
  box-shadow:
    10px 10px 22px rgba(0, 0, 0, 0.60),
    -6px -6px 16px rgba(40, 80, 120, 0.08),
    inset 1px 1px 2px rgba(255, 255, 255, 0.06);
  opacity: 0.7;
}
.resonance-process__orb--1 { width: 78px; height: 78px; top: 15%; left: 6%;  }
.resonance-process__orb--2 { width: 44px; height: 44px; top: 70%; left: 89%; }
.resonance-process__orb--3 { width: 24px; height: 24px; top: 26%; left: 93%; }

.resonance-process__dot {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--rp-accent);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.9);
  opacity: 0.35;
}
.resonance-process__dot--1 { top: 38%; left: 3%;  }
.resonance-process__dot--2 { top: 12%; left: 78%; }
.resonance-process__dot--3 { top: 86%; left: 46%; }

/* ==========================================================================
   CONTAINER
   ========================================================================== */
.resonance-process__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.resonance-process__header {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: end;
  margin-bottom: 50px;
}

.resonance-process__intro { min-width: 0; }

/* ---- Section label ---- */
.resonance-process__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 14px;
  margin-bottom: 22px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rp-accent-soft);
  background: linear-gradient(160deg, #11243B, #0A1728);
  box-shadow:
    8px 8px 18px rgba(0, 0, 0, 0.55),
    -6px -6px 14px rgba(40, 80, 120, 0.07),
    inset 0 0 0 1px rgba(147, 197, 253, 0.09);
}

.resonance-process__label-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #BFDBFE, #3B82F6 65%, #1D4ED8);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.85);
}

/* ---- Heading ---- */
.resonance-process__heading {
  margin: 0;
  font-size: 36px;
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #000;
 
}

/* ---- Description ---- */
.resonance-process__lede { min-width: 0; }

.resonance-process__description {
  margin: 0 0 24px;
  max-width: 52ch;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.85;
  color: var(--rp-text-2);
  font-weight: 300;
}

/* ---- Decorative readout meter ---- */
.resonance-process__readout {
  display: flex;
  align-items: center;
  gap: 14px;
}

.resonance-process__readout-bar {
  position: relative;
  flex: 1 1 auto;
  max-width: 260px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #061020, #0A1728);
  box-shadow:
    inset 4px 4px 8px rgba(0, 0, 0, 0.70),
    inset -3px -3px 6px rgba(70, 110, 150, 0.06);
  overflow: hidden;
}

.resonance-process__readout-fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #1D4ED8, #3B82F6 50%, #60A5FA);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.30);
  transform: scaleX(0);
  transform-origin: left center;
}

.resonance-process__readout-marks {
  display: flex;
  gap: 6px;
  flex: 0 0 auto;
}
.resonance-process__readout-marks i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #1B3350;
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.80);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.resonance-process__readout-marks i.is-active {
  background: var(--rp-accent-2);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.9);
}

/* ==========================================================================
   TIMELINE + EMBEDDED 3D RAIL
   ========================================================================== */
.resonance-process__timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--rp-gap);
  align-items: start;
}

.resonance-process__rail {
  grid-column: 1 / -1;
  position: relative;
  display: flex;
  align-items: center;
  height: 84px;
  margin-bottom: clamp(6px, 1vw, 16px);
}

/* Recessed navy channel */
.resonance-process__rail-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 8px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, #061020, #0A1728 60%, #0D1B2E);
  box-shadow:
    inset 5px 5px 10px rgba(0, 0, 0, 0.75),
    inset -4px -4px 9px rgba(70, 110, 150, 0.07),
    0 1px 0 rgba(147, 197, 253, 0.06);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

/* Active glowing indicator */
.resonance-process__rail-fill {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #1D4ED8, #3B82F6 45%, #60A5FA 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transform: scaleX(0);
  transform-origin: left center;
}

/* Connection nodes */
.resonance-process__rail-nodes {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--rp-gap);
  align-items: center;
}

.resonance-process__node {
  justify-self: center;
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #11243B, #081321);
  box-shadow:
    7px 7px 15px rgba(0, 0, 0, 0.70),
    -5px -5px 12px rgba(40, 80, 120, 0.09),
    inset 1px 1px 2px rgba(255, 255, 255, 0.06);
}

.resonance-process__node-core {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #16293F;
  box-shadow:
    inset 2px 2px 4px rgba(0, 0, 0, 0.75),
    inset -1px -1px 3px rgba(147, 197, 253, 0.10);
  transition: background 0.5s ease, box-shadow 0.5s ease;
}

.resonance-process__node.is-active .resonance-process__node-core {
  background: radial-gradient(circle at 35% 30%, #DBEAFE, #60A5FA 40%, #2563EB 100%);
  box-shadow:
    0 0 12px rgba(59, 130, 246, 0.90),
    0 0 28px rgba(59, 130, 246, 0.45);
}

/* ==========================================================================
   PROCESS CARDS
   ========================================================================== */
.resonance-process__card {
  position: relative;
  min-width: 0;
}

/* subtle positional rhythm */
.resonance-process__card--02 { margin-top: clamp(10px, 2.2vw, 30px); }
.resonance-process__card--03 { margin-top: clamp(4px, 1vw, 12px); }

/* soft ground shadow */
.resonance-process__card::after {
  content: '';
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -16px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.70) 0%, rgba(0, 0, 0, 0) 72%);
  filter: blur(6px);
  pointer-events: none;
  z-index: 0;
}

.resonance-process__card-parallax {
  position: relative;
  perspective: 1400px;
}

/* ---- The physical 3D panel ---- */
.resonance-process__card-shell {
  position: relative;
  z-index: 1;
  padding: clamp(26px, 2.4vw, 38px) clamp(20px, 2vw, 30px) clamp(22px, 2vw, 30px);
  border-radius: 30px 30px 30px 74px;
  background:
    radial-gradient(280px 220px at var(--rp-mx, 50%) var(--rp-my, 0%), rgba(59, 130, 246, 0.10), transparent 70%),
    linear-gradient(163deg, #11243B 0%, #0D1B2E 46%, #0A1728 100%);
  box-shadow:
    18px 18px 35px rgba(0, 0, 0, 0.65),
    -12px -12px 25px rgba(40, 80, 120, 0.08),
    inset 1px 1px 2px rgba(255, 255, 255, 0.05);
  transform-style: preserve-3d;
  will-change: transform;
  transition:
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s ease;
}

/* thin illuminated blue edge */
.resonance-process__card-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg,
    rgba(147, 197, 253, 0.22) 0%,
    rgba(147, 197, 253, 0.00) 38%,
    rgba(59, 130, 246, 0.14) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
}

/* ---- Oversized embossed number ---- */
.resonance-process__number {
  position: absolute;
  top: -34px;
  right: 6px;
  z-index: 0;
  font-size: clamp(70px, 7.4vw, 104px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(96, 165, 250, 0.12);
  text-shadow:
    3px 3px 6px rgba(0, 0, 0, 0.60),
    -2px -2px 4px rgba(255, 255, 255, 0.04);
  pointer-events: none;
  user-select: none;
  transform-origin: 50% 100%;
}

/* ---- Tiny physical rivets ---- */
.resonance-process__rivet {
  position: absolute;
  z-index: 4;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #223A57, #0A1728 72%);
  box-shadow:
    inset 0 0 0 1px rgba(147, 197, 253, 0.10),
    1px 1px 3px rgba(0, 0, 0, 0.70),
    -1px -1px 2px rgba(255, 255, 255, 0.04);
  opacity: 0.85;
}
.resonance-process__rivet--tl { top: 16px; left: 16px; }
.resonance-process__rivet--br { bottom: 16px; right: 16px; }

/* ---- Icon area ---- */
.resonance-process__card-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 10px 0 28px;
}

/* recessed circular cavity */
.resonance-process__icon-cavity {
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #081321, #0A1728);
  box-shadow:
    inset 9px 9px 20px rgba(0, 0, 0, 0.60),
    inset -7px -7px 16px rgba(70, 110, 150, 0.06),
    0 0 0 1px rgba(147, 197, 253, 0.05);
}

/* thin blue accent ring */
.resonance-process__icon-cavity::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(59, 130, 246, 0.16);
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

/* raised metallic ring */
.resonance-process__icon-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #17293F 0%, #11243B 50%, #0D1B2E 100%);
  box-shadow:
    12px 12px 25px rgba(0, 0, 0, 0.60),
    -8px -8px 18px rgba(75, 120, 170, 0.09),
    inset 0 0 0 1px rgba(147, 197, 253, 0.10),
    inset 0 2px 3px rgba(255, 255, 255, 0.06);
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.55s ease;
}

.resonance-process__icon {
  font-size: 27px;
  line-height: 1;
  color: #EAF2FF;
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.50));
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.4s ease,
    filter 0.4s ease;
}

/* icon hover response */
.resonance-process__card-shell:hover .resonance-process__icon-ring,
.resonance-process__card-shell:focus-within .resonance-process__icon-ring {
  transform: translateY(-5px);
  box-shadow:
    16px 18px 30px rgba(0, 0, 0, 0.66),
    -8px -8px 18px rgba(75, 120, 170, 0.11),
    inset 0 0 0 1px rgba(147, 197, 253, 0.22),
    0 0 26px rgba(59, 130, 246, 0.18);
}

.resonance-process__card-shell:hover .resonance-process__icon,
.resonance-process__card-shell:focus-within .resonance-process__icon {
  transform: rotate(8deg) scale(1.06);
  color: #FFFFFF;
  filter: drop-shadow(0 0 16px rgba(59, 130, 246, 0.85));
}

.resonance-process__card-shell:hover .resonance-process__icon-cavity::before,
.resonance-process__card-shell:focus-within .resonance-process__icon-cavity::before {
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 0 22px rgba(59, 130, 246, 0.25);
}

/* ---- Recessed content area ---- */
.resonance-process__card-body {
  position: relative;
  z-index: 2;
  padding: clamp(20px, 1.8vw, 26px) clamp(18px, 1.6vw, 24px);
  border-radius: 18px 18px 18px 46px;
  background: linear-gradient(160deg, #0A1728 0%, #081321 100%);
  box-shadow:
    inset 7px 7px 16px rgba(0, 0, 0, 0.60),
    inset -5px -5px 13px rgba(70, 110, 150, 0.055),
    0 1px 0 rgba(147, 197, 253, 0.05);
}

.resonance-process__card-title {
  margin: 0 0 10px;
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}

.resonance-process__card-text {
  margin: 0 0 24px;
  font-size: 13.5px;
  line-height: 1.75;
  font-weight: 300;
  color: var(--rp-text-3);
}

/* ==========================================================================
   CTA — 3D NAVY PILL BUTTON
   ========================================================================== */
.resonance-process__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px 8px 8px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #EAF2FF;
  background: linear-gradient(160deg, #12263E 0%, #0A1728 100%);
  box-shadow:
    9px 9px 20px rgba(0, 0, 0, 0.55),
    -6px -6px 14px rgba(75, 120, 170, 0.07),
    inset 0 0 0 1px rgba(147, 197, 253, 0.08);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    background 0.35s ease,
    color 0.35s ease;
}

.resonance-process__cta:hover,
.resonance-process__cta:focus-visible {
  transform: translateY(-2px);
  color: #FFFFFF;
  background: linear-gradient(160deg, #17304C 0%, #0D1B2E 100%);
  box-shadow:
    12px 14px 26px rgba(0, 0, 0, 0.60),
    -6px -6px 14px rgba(75, 120, 170, 0.09),
    inset 0 0 0 1px rgba(59, 130, 246, 0.35),
    0 0 22px rgba(59, 130, 246, 0.18);
}

.resonance-process__cta:focus-visible {
  outline: 2px solid rgba(96, 165, 250, 0.75);
  outline-offset: 4px;
}

.resonance-process__cta-icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--rp-accent-soft);
  background: linear-gradient(160deg, #17293F, #0D1B2E);
  box-shadow:
    inset 0 0 0 1px rgba(147, 197, 253, 0.14),
    3px 3px 8px rgba(0, 0, 0, 0.55),
    -2px -2px 5px rgba(75, 120, 170, 0.06);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.3s ease,
    box-shadow 0.3s ease;
}

.resonance-process__cta:hover .resonance-process__cta-icon,
.resonance-process__cta:focus-visible .resonance-process__cta-icon {
  transform: translateX(2px) rotate(6deg);
  color: #FFFFFF;
  box-shadow:
    inset 0 0 0 1px rgba(59, 130, 246, 0.50),
    0 0 16px rgba(59, 130, 246, 0.35);
}

.resonance-process__cta-label { white-space: nowrap; }

/* ==========================================================================
   RESPONSIVE — TABLET & MOBILE (vertical rail)
   ========================================================================== */
@media (max-width: 991px) {

  .resonance-process__header {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }

  .resonance-process__timeline {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    padding-left: 54px;
  }

  .resonance-process__rail {
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 30px;
    height: auto;
    margin: 0;
    display: block;
  }

  .resonance-process__rail-track {
    left: 50%;
    right: auto;
    top: 0;
    bottom: 0;
    width: 8px;
    height: auto;
    transform: translateX(-50%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 5%, #000 95%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  }

  .resonance-process__rail-fill {
    transform: scaleY(0);
    transform-origin: center top;
  }

  .resonance-process__rail-nodes {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    gap: 0;
  }

  .resonance-process__card--02,
  .resonance-process__card--03 { margin-top: 0; }

  .resonance-process__card-shell { border-radius: 26px 26px 26px 58px; }

  .resonance-process__number {
    top: -26px;
    right: 4px;
    font-size: clamp(56px, 13vw, 82px);
  }

  .resonance-process__orb--2,
  .resonance-process__ring--2 { display: none; }
}

/* ==========================================================================
   RESPONSIVE — SMALL MOBILE
   ========================================================================== */
@media (max-width: 480px) {

  .resonance-process { padding: 56px 14px; }

  .resonance-process__timeline {
    padding-left: 42px;
    gap: 28px;
  }

  .resonance-process__rail { width: 24px; }

  .resonance-process__card-shell {
    padding: 22px 16px 18px;
    border-radius: 22px 22px 22px 48px;
    box-shadow:
      12px 12px 24px rgba(0, 0, 0, 0.60),
      -8px -8px 18px rgba(40, 80, 120, 0.07),
      inset 1px 1px 2px rgba(255, 255, 255, 0.05);
  }

  .resonance-process__card-body {
    padding: 18px 15px;
    border-radius: 16px 16px 16px 36px;
  }

  .resonance-process__icon-cavity { width: 92px; height: 92px; }
  .resonance-process__icon-ring   { width: 66px; height: 66px; }
  .resonance-process__icon        { font-size: 22px; }

  .resonance-process__cta {
    padding: 9px 18px 9px 9px;
    min-height: 46px;
  }

  .resonance-process__orb--1,
  .resonance-process__ring--1,
  .resonance-process__dot--2 { display: none; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {

  .resonance-process__rail-fill,
  .resonance-process__readout-fill {
    transform: none !important;
  }

  .resonance-process__card-shell,
  .resonance-process__cta,
  .resonance-process__cta-icon,
  .resonance-process__icon-ring,
  .resonance-process__icon,
  .resonance-process__node-core {
    transition: none !important;
  }
}



.resonance-process__orb,
.resonance-process__orb--1,
.resonance-process__orb--2,
.resonance-process__orb--3,
.resonance-process__ring,
.resonance-process__ring--1,
.resonance-process__ring--2 {
    display: none !important;
}