/* =========================================================
   1020 INC.
   SECTION 08 — THE 1020 THINKING SYSTEM™
   ---------------------------------------------------------
   Dedicated Section 8 stylesheet
   Pure HTML + CSS
   No JavaScript
   No external libraries
   No wireframes
   No literal 3D transforms
   ========================================================= */


/* =========================================================
   SECTION 08 TOKENS
   ========================================================= */

.s8 {
  --s8-bg: #02070d;
  --s8-panel: #050c16;
  --s8-panel-2: #07111d;

  --s8-white: #f4f7fb;
  --s8-muted: #8795a8;
  --s8-muted-2: #637286;

  --s8-cyan: #00d9ff;
  --s8-blue: #268fff;
  --s8-purple: #9a61ff;
  --s8-pink: #ff2c9d;
  --s8-redpink: #ff3366;
  --s8-gold: #ffb52b;

  position: relative;
  width: 100%;
  min-height: 100vh;

  padding: 0 0 28px 0 !important;

  overflow: hidden;
  isolation: isolate;

  color: var(--s8-white);

  background:
    radial-gradient(
      circle at 18% 48%,
      rgba(0, 170, 255, .045),
      transparent 31%
    ),
    radial-gradient(
      circle at 82% 52%,
      rgba(137, 72, 255, .035),
      transparent 30%
    ),
    linear-gradient(
      180deg,
      #02060b 0%,
      #02070d 100%
    );
}


/* =========================================================
   SUBTLE BLUEPRINT FIELD
   ========================================================= */

.s8::before {
  content: "";

  position: absolute;
  inset: 58px 0 0;

  pointer-events: none;
  z-index: 0;

  opacity: .16;

  background-image:
    radial-gradient(
      circle,
      rgba(255,255,255,.32) .5px,
      transparent .8px
    );

  background-size: 105px 91px;

  -webkit-mask-image:
    linear-gradient(
      180deg,
      transparent 0%,
      #000 14%,
      #000 82%,
      transparent 100%
    );

  mask-image:
    linear-gradient(
      180deg,
      transparent 0%,
      #000 14%,
      #000 82%,
      transparent 100%
    );
}


/* =========================================================
   TOP SECTION INDEX
   ========================================================= */

.s8-index {
  position: relative;
  z-index: 10;

  width: 100%;
  height: 58px;

  display: grid;
  grid-template-columns: repeat(9, 1fr);
  align-items: center;

  border-bottom: 1px solid rgba(118,143,176,.14);

  color: rgba(160,171,190,.28);

  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;

  text-align: center;
}

.s8-index .active {
  position: relative;

  color: var(--s8-cyan);
  font-weight: 700;
}

.s8-index .active::before {
  content: "";

  position: absolute;
  left: 50%;
  bottom: -19px;

  width: 62px;
  height: 2px;

  transform: translateX(-50%);

  background: var(--s8-cyan);

  box-shadow:
    0 0 10px rgba(0,217,255,.75);
}

.s8-index .active::after {
  content: "";

  position: absolute;
  left: 50%;
  bottom: -21px;

  width: 5px;
  height: 5px;

  transform: translateX(-50%);

  border-radius: 50%;

  background: var(--s8-cyan);

  box-shadow:
    0 0 8px var(--s8-cyan);
}


/* =========================================================
   MAIN SECTION ENVELOPE
   ---------------------------------------------------------
   Matches the site's 1440px content system.
   ========================================================= */

.s8-main {
  position: relative;
  z-index: 2;

  width: min(1440px, calc(100% - 64px)) !important;
  max-width: 1440px !important;

  margin: 0 auto !important;

  display: grid;

  grid-template-columns:
    minmax(310px, .78fr)
    minmax(230px, .48fr)
    minmax(540px, 1.42fr);

  column-gap: clamp(24px, 3vw, 52px);

  align-items: start;

  padding-top: 72px;
}


/* =========================================================
   LEFT STORY
   ========================================================= */

.s8-story {
  padding-top: 5px;
}

.s8-eyebrow {
  margin-bottom: 10px;

  color: var(--s8-cyan);

  font-size: 11px;
  font-weight: 700;

  letter-spacing: .18em;
}

.s8-system {
  margin-bottom: 30px;

  color: #e9edf4;

  font-size: 10px;
  font-weight: 500;

  letter-spacing: .08em;
}

.s8-story h1 {
  margin: 0;

  color: var(--s8-white);

  font-size: clamp(44px, 4.1vw, 68px);
  line-height: .99;

  font-weight: 600;

  letter-spacing: -.055em;
}

.s8-story h1 span {
  background:
    linear-gradient(
      100deg,
      #00d9ff 0%,
      #2b91ff 42%,
      #9a62ff 72%,
      #ff2b9d 100%
    );

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
}

.s8-story h2 {
  margin: 31px 0 13px;

  color: #f3f5f8;

  font-size: 20px;
  line-height: 1.35;

  font-weight: 500;

  letter-spacing: -.015em;
}

.s8-story h2 span {
  color: var(--s8-cyan);
}

.s8-description {
  max-width: 400px;

  margin: 0;

  color: var(--s8-muted);

  font-size: 11px;
  line-height: 1.75;
}


/* =========================================================
   1020 DIFFERENCE
   ========================================================= */

.s8-difference {
  width: min(100%, 380px);

  margin-top: 38px;

  padding: 25px 26px 23px;

  border:
    1px solid rgba(105,131,163,.20);

  border-radius: 11px;

  background:
    linear-gradient(
      145deg,
      rgba(7,15,26,.90),
      rgba(4,10,18,.72)
    );

  box-shadow:
    inset 0 0 28px rgba(32,80,130,.025);
}

.difference-title {
  margin-bottom: 18px;

  color: var(--s8-cyan);

  font-size: 9px;
  font-weight: 700;

  letter-spacing: .18em;
}

.difference-item {
  display: flex;
  align-items: center;

  gap: 13px;

  margin-top: 13px;

  color: #aab5c4;

  font-size: 10px;
}

.mini-icon {
  position: relative;

  display: grid;
  place-items: center;

  width: 27px;
  height: 27px;

  flex: 0 0 27px;

  border:
    1px solid rgba(0,217,255,.52);

  border-radius: 50%;

  color: var(--s8-cyan);
}

.mini-icon.clock::before {
  content: "";

  width: 8px;
  height: 8px;

  border:
    1px solid currentColor;

  border-radius: 50%;
}

.mini-icon.clock::after {
  content: "";

  position: absolute;

  width: 1px;
  height: 5px;

  background: currentColor;

  transform: translateY(-2px);
}

.mini-icon.ring::before {
  content: "";

  width: 8px;
  height: 8px;

  border:
    1px dotted currentColor;

  border-radius: 50%;
}

.mini-icon.bars::before {
  content: "▥";

  font-size: 13px;
}


/* =========================================================
   =========================================================
   SECTION 08 — LAYERED DIAMOND SPINE
   =========================================================
   =========================================================

   IMPORTANT:
   These are NOT literal 3D objects.

   The depth illusion is created through:
   1. rear depth plane
   2. primary translucent plane
   3. luminous perimeter
   4. controlled glow
   5. central structural axis
   6. luminous intersection nodes

   NO wireframe.
   ========================================================= */


/* =========================================================
   SPINE CONTAINER
   ========================================================= */

.s8-spine {
  position: relative;

  width: 100%;
  min-height: 820px;

  display: flex;
  flex-direction: column;
  align-items: center;

  padding-top: 10px;
}


/* =========================================================
   CENTRAL STRUCTURAL AXIS
   ---------------------------------------------------------
   Thin architectural line — NOT a glowing beam.
   ========================================================= */

.s8-spine .spine-line {
  position: absolute;

  top: 39px;
  bottom: 82px;
  left: 50%;

  width: 1px;

  transform: translateX(-50%);

  background:
    linear-gradient(
      180deg,
      rgba(0,217,255,.82) 0%,
      rgba(38,143,255,.72) 28%,
      rgba(154,97,255,.72) 58%,
      rgba(255,44,157,.78) 86%,
      rgba(255,44,157,.92) 100%
    );

  box-shadow:
    0 0 5px rgba(0,217,255,.35),
    0 0 7px rgba(255,44,157,.18);

  z-index: 1;

  pointer-events: none;
}


/* =========================================================
   DIAMOND PLANE
   ========================================================= */

.s8-spine .diamond {
  --dc: var(--s8-cyan);
  --dc-rgb: 0,217,255;

  position: relative;

  width: 240px;
  height: 94px;

  flex: 0 0 94px;

  margin-top: -16px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: transparent;

  border: none;

  box-shadow: none;

  z-index: var(--layer-z, 3);

  isolation: isolate;
}

.s8-spine .diamond:first-of-type {
  margin-top: 0;
}


/* =========================================================
   REAR DEPTH PLANE
   ---------------------------------------------------------
   This is the subtle second layer that creates the
   dimensional/layered impression.

   It is deliberately offset.
   ========================================================= */

.s8-spine .diamond::before {
  content: "";

  position: absolute;

  inset: 3px -7px -3px 7px;

  clip-path:
    polygon(
      50% 0%,
      100% 50%,
      50% 100%,
      0% 50%
    );

  background:
    linear-gradient(
      135deg,
      rgba(var(--dc-rgb),.025),
      rgba(var(--dc-rgb),.055)
    );

  opacity: .82;

  filter:
    drop-shadow(
      0 0 4px rgba(var(--dc-rgb),.22)
    );

  z-index: 1;

  pointer-events: none;
}


/* =========================================================
   PRIMARY DIAMOND FACE
   ========================================================= */

.s8-spine .diamond::after {
  content: "";

  position: absolute;

  inset: 0;

  clip-path:
    polygon(
      50% 0%,
      100% 50%,
      50% 100%,
      0% 50%
    );

  background:
    radial-gradient(
      ellipse at 50% 48%,
      rgba(var(--dc-rgb),.115) 0%,
      rgba(var(--dc-rgb),.065) 34%,
      rgba(4,10,20,.18) 68%,
      rgba(2,7,13,.02) 100%
    );

  z-index: 2;

  pointer-events: none;

  filter:
    drop-shadow(
      0 0 7px rgba(var(--dc-rgb),.18)
    );
}


/* =========================================================
   DIAMOND PERIMETER
   ---------------------------------------------------------
   A separate inset perimeter gives us the clean
   architectural edge without creating a wireframe.
   ========================================================= */

.s8-spine .diamond {
  background:
    linear-gradient(
      135deg,
      rgba(var(--dc-rgb),.88),
      rgba(var(--dc-rgb),.88)
    );

  clip-path:
    polygon(
      50% 0%,
      100% 50%,
      50% 100%,
      0% 50%
    );
}


/*
   Inner face overlays the solid clipped diamond,
   leaving a precise 1px luminous perimeter.
*/

.s8-spine .diamond::after {
  inset: 1px;

  clip-path:
    polygon(
      50% 0%,
      100% 50%,
      50% 100%,
      0% 50%
    );

  background:
    radial-gradient(
      ellipse at 50% 48%,
      rgba(var(--dc-rgb),.105) 0%,
      rgba(var(--dc-rgb),.055) 38%,
      rgba(3,9,17,.46) 78%,
      rgba(2,7,13,.72) 100%
    );

  filter: none;
}


/* =========================================================
   VERY SUBTLE INTERNAL LIGHT
   ========================================================= */

.s8-spine .diamond::selection {
  background: transparent;
}


/* =========================================================
   DIAMOND NUMBER
   ========================================================= */

.s8-spine .diamond-number {
  position: absolute;

  left: 39px;
  top: 50%;

  transform: translateY(-50%);

  z-index: 20;

  color: var(--dc);

  font-size: 13.5px;
  font-weight: 500;

  letter-spacing: .04em;

  text-shadow:
    0 0 7px rgba(var(--dc-rgb),.65);

  user-select: none;
}


/* =========================================================
   DIAMOND ICON HOLDER
   ========================================================= */

.s8-spine .diamond-icon {
  position: absolute;

  left: 50%;
  top: 50%;

  width: 34px;
  height: 34px;

  transform:
    translate(-50%, -50%);

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 25;

  border: none !important;

  background: transparent !important;

  box-shadow: none !important;

  pointer-events: none;
}


/* =========================================================
   ICON SVG
   ========================================================= */

.s8-spine .diamond-icon svg {
  width: 27px;
  height: 27px;

  overflow: visible;

  stroke: var(--dc);

  fill: none;

  stroke-width: 1.45;

  stroke-linecap: round;
  stroke-linejoin: round;

  filter:
    drop-shadow(
      0 0 4px rgba(var(--dc-rgb),.55)
    );
}


/* =========================================================
   CENTRAL NODE
   ---------------------------------------------------------
   Each diamond has one controlled luminous point
   where it intersects the spine.
   ========================================================= */

.s8-spine .diamond .spine-node {
  position: absolute;

  left: 50%;
  top: 50%;

  width: 5px;
  height: 5px;

  transform:
    translate(-50%, -50%);

  border-radius: 50%;

  background: #ffffff;

  box-shadow:
    0 0 4px rgba(255,255,255,.95),
    0 0 8px rgba(var(--dc-rgb),.72);

  z-index: 30;

  pointer-events: none;
}


/* =========================================================
   DEPTH ACCENT
   ---------------------------------------------------------
   Small luminous continuation behind the central node.
   ========================================================= */

.s8-spine .diamond .spine-node::after {
  content: "";

  position: absolute;

  left: 50%;
  top: 50%;

  width: 1px;
  height: 22px;

  transform:
    translate(-50%, -50%);

  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(var(--dc-rgb),.55),
      transparent
    );

  opacity: .7;
}


/* =========================================================
   DIAMOND COLOUR SYSTEM (Matched to Creative)
   ========================================================= */

.s8-spine .d1 {
  --dc: #00f0ff;
  --dc-rgb: 0, 240, 255;
  --layer-z: 8;
}

.s8-spine .d2 {
  --dc: #00aaff;
  --dc-rgb: 0, 170, 255;
  --layer-z: 7;
}

.s8-spine .d3 {
  --dc: #1a75ff;
  --dc-rgb: 26, 117, 255;
  --layer-z: 6;
}

.s8-spine .d4 {
  --dc: #683bfd;
  --dc-rgb: 104, 59, 253;
  --layer-z: 5;
}

.s8-spine .d5 {
  --dc: #8a3ffc;
  --dc-rgb: 138, 63, 252;
  --layer-z: 4;
}

.s8-spine .d6 {
  --dc: #c42df0;
  --dc-rgb: 196, 45, 240;
  --layer-z: 3;
}

.s8-spine .d7 {
  --dc: #f0259e;
  --dc-rgb: 240, 37, 158;
  --layer-z: 2;
}

.s8-spine .d8 {
  --dc: #e0205c;
  --dc-rgb: 224, 32, 92;
  --layer-z: 1;
}


/* =========================================================
   OUTCOMES
   ========================================================= */

.s8-spine .outcome-mark {
  position: relative;

  z-index: 30;

  display: flex;
  flex-direction: column;
  align-items: center;

  margin-top: 17px;
}

.s8-spine .outcome-arrow {
  position: relative;

  width: 13px;
  height: 13px;

  margin-bottom: 9px;

  border-right:
    1.5px solid var(--s8-pink);

  border-bottom:
    1.5px solid var(--s8-pink);

  transform: rotate(45deg);

  box-shadow:
    2px 2px 7px rgba(255,44,157,.38);
}

.s8-spine .outcome-mark strong {
  color: #ffffff;

  font-size: 9px;
  font-weight: 700;

  letter-spacing: .34em;

  text-transform: uppercase;

  text-shadow:
    0 0 8px rgba(255,255,255,.25);
}


/* =========================================================
   RIGHT THINKING SYSTEM
   ========================================================= */

.s8-layers {
  display: grid;

  gap: 9px;
}


/* =========================================================
   LAYER CARD
   ========================================================= */

.s8 .layer {
  overflow: hidden;

  border:
    1px solid rgba(102,129,163,.17);

  border-left:
    2px solid var(--s8-cyan);

  border-radius: 10px;

  background:
    linear-gradient(
      90deg,
      rgba(6,14,25,.94),
      rgba(5,11,20,.78)
    );

  transition:
    border-color .2s ease,
    background .2s ease;
}

.s8 .layer.l2,
.s8 .layer.l3 {
  border-left-color: var(--s8-blue);
}

.s8 .layer.l4,
.s8 .layer.l5 {
  border-left-color: var(--s8-purple);
}

.s8 .layer.l6,
.s8 .layer.l7,
.s8 .layer.l8 {
  border-left-color: var(--s8-pink);
}

.s8 .layer[open] {
  border-color:
    rgba(0,217,255,.48);
}

.s8 .layer.l4[open],
.s8 .layer.l5[open] {
  border-color:
    rgba(154,97,255,.45);
}

.s8 .layer.l6[open],
.s8 .layer.l7[open],
.s8 .layer.l8[open] {
  border-color:
    rgba(255,44,157,.45);
}


/* =========================================================
   LAYER SUMMARY
   ========================================================= */

.s8 .layer summary {
  display: grid;

  grid-template-columns:
    54px
    max-content
    1fr
    20px;

  align-items: center;

  min-height: 57px;

  padding:
    0 20px;

  cursor: pointer;

  list-style: none;
}

.s8 .layer summary::-webkit-details-marker {
  display: none;
}

.s8 .layer-no {
  color: var(--s8-cyan);

  font-size: 19px;
}

.s8 .l2 .layer-no,
.s8 .l3 .layer-no {
  color: var(--s8-blue);
}

.s8 .l4 .layer-no,
.s8 .l5 .layer-no {
  color: var(--s8-purple);
}

.s8 .l6 .layer-no,
.s8 .l7 .layer-no,
.s8 .l8 .layer-no {
  color: var(--s8-pink);
}

.s8 .layer-name {
  color: #eef2f6;

  font-size: 10px;
  font-weight: 700;

  white-space: nowrap;
}

.s8 .layer-question {
  margin-left: 15px;

  color: var(--s8-cyan);

  font-size: 9px;
}

.s8 .l2 .layer-question,
.s8 .l3 .layer-question {
  color: var(--s8-blue);
}

.s8 .l4 .layer-question,
.s8 .l5 .layer-question {
  color: var(--s8-purple);
}

.s8 .l6 .layer-question,
.s8 .l7 .layer-question,
.s8 .l8 .layer-question {
  color: var(--s8-pink);
}


/* =========================================================
   ACCORDION TOGGLE
   ========================================================= */

.s8 .layer-toggle {
  position: relative;

  width: 15px;
  height: 15px;

  justify-self: end;

  color: var(--s8-cyan);
}

.s8 .l2 .layer-toggle,
.s8 .l3 .layer-toggle {
  color: var(--s8-blue);
}

.s8 .l4 .layer-toggle,
.s8 .l5 .layer-toggle {
  color: var(--s8-purple);
}

.s8 .l6 .layer-toggle,
.s8 .l7 .layer-toggle,
.s8 .l8 .layer-toggle {
  color: var(--s8-pink);
}

.s8 .layer-toggle::before,
.s8 .layer-toggle::after {
  content: "";

  position: absolute;

  left: 50%;
  top: 50%;

  width: 13px;
  height: 1px;

  transform:
    translate(-50%, -50%);

  background: currentColor;
}

.s8 .layer-toggle::after {
  transform:
    translate(-50%, -50%)
    rotate(90deg);

  transition:
    transform .2s ease;
}

.s8 .layer[open] .layer-toggle::after {
  transform:
    translate(-50%, -50%)
    rotate(0);
}


/* =========================================================
   EXPANDED CONTENT
   ========================================================= */

.s8 .layer-content {
  display: grid;

  grid-template-columns:
    145px
    1fr;

  gap: 28px;

  align-items: center;

  margin:
    0 20px
    14px
    54px;

  padding:
    18px 20px;

  border:
    1px solid rgba(105,130,161,.14);

  border-radius: 8px;

  background:
    rgba(2,7,13,.55);

  animation:
    s8LayerOpen .22s ease both;
}

@keyframes s8LayerOpen {

  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

.s8 .layer-content p {
  margin: 0;

  color: #aeb9c8;

  font-size: 10px;
  line-height: 1.7;
}


/* =========================================================
   ENTERPRISE REALITY DOT FIELD
   ========================================================= */

.s8 .content-dots {
  width: 70px;

  display: grid;

  grid-template-columns:
    repeat(5, 4px);

  gap: 8px;

  justify-content: center;

  margin: auto;
}

.s8 .content-dots i {
  width: 4px;
  height: 4px;

  border-radius: 50%;

  background: var(--s8-cyan);

  box-shadow:
    0 0 6px rgba(0,217,255,.7);
}

.s8 .content-dots i:nth-child(3n) {
  opacity: .55;
}

.s8 .content-dots i:nth-child(5n) {
  transform: translateY(4px);
}


/* =========================================================
   JOURNEY FOOTER
   ========================================================= */

.s8-journey {
  position: relative;
  z-index: 4;

  width: min(1440px, calc(100% - 64px)) !important;
  max-width: 1440px !important;

  margin:
    22px auto 0 !important;

  min-height: 96px;

  display: grid;

  grid-template-columns:
    180px
    1fr;

  align-items: center;

  gap: 28px;

  padding:
    18px 28px;

  border:
    1px solid rgba(106,132,165,.19);

  border-radius: 10px;

  background:
    rgba(6,13,23,.78);
}


/* =========================================================
   JOURNEY TITLE
   ========================================================= */

.journey-title span,
.journey-title strong {
  display: block;

  color: #e8edf3;

  font-size: 12px;
  line-height: 1.2;
}

.journey-title strong {
  font-weight: 700;
}


/* =========================================================
   JOURNEY TRACK
   ========================================================= */

.journey-track {
  min-width: 0;

  display: flex;
  align-items: center;
}

.journey-track > i {
  flex: 1 1 30px;

  min-width: 16px;

  height: 1px;

  margin:
    0 8px;

  background:
    linear-gradient(
      90deg,
      rgba(0,217,255,.55),
      rgba(154,97,255,.65),
      rgba(255,44,157,.65)
    );

  box-shadow:
    0 0 4px rgba(80,140,255,.18);
}


/* =========================================================
   JOURNEY STEP
   ========================================================= */

.journey-step {
  flex:
    0 0 auto;

  min-width: 74px;

  text-align: center;
}

.journey-step .journey-icon {
  position: relative;

  display: block;

  width: 40px;
  height: 40px;

  margin:
    0 auto 7px;

  color: var(--s8-cyan);
}

.journey-step label {
  display: block;

  color: #e5eaf0;

  font-size: 11px;
font-weight: 400;

  white-space: nowrap;
}

.journey-step.blue .journey-icon {
  color: var(--s8-blue);
}

.journey-step.purple .journey-icon {
  color: var(--s8-purple);
}

.journey-step.pink .journey-icon {
  color: var(--s8-pink);
}

.journey-step.outcome .journey-icon {
  color: var(--s8-gold);
}


/* =========================================================
   FOOTER ICON — UNDERSTAND
   ========================================================= */

.journey-step .diamond-icon {
  border:
    2px solid currentColor;

  transform:
    rotate(45deg)
    scale(.68);
}

.journey-step .diamond-icon::after {
  content: "";

  position: absolute;
  inset: 6px;

  border:
    1px solid currentColor;
}


/* =========================================================
   FOOTER ICON — ABSTRACT
   ========================================================= */

.journey-step .abstract-icon::before {
  content: "✦";

  position: absolute;

  left: 50%;
  top: 50%;

  transform:
    translate(-50%, -50%);

  font-size: 29px;
}


/* =========================================================
   FOOTER ICON — ARCHITECT
   ========================================================= */

.journey-step .architect-icon {
  border:
    2px solid currentColor;

  border-radius: 50%;
}

.journey-step .architect-icon::before {
  content: "";

  position: absolute;
  inset: 6px;

  border:
    1px solid currentColor;

  border-radius: 50%;
}

.journey-step .architect-icon::after {
  content: "";

  position: absolute;

  left: 50%;
  top: -3px;

  width: 1px;
  height: 35px;

  transform:
    translateX(-50%);

  background: currentColor;
}


/* =========================================================
   FOOTER ICON — ENGINEER / RUN
   ========================================================= */

.journey-step .engineer-icon::before,
.journey-step .engineer-icon::after,
.journey-step .run-icon::before,
.journey-step .run-icon::after {
  content: "";

  position: absolute;

  left: 50%;

  width: 22px;
  height: 13px;

  transform:
    translateX(-50%)
    rotate(45deg);

  border:
    2px solid currentColor;
}

.journey-step .engineer-icon::before,
.journey-step .run-icon::before {
  top: 4px;
}

.journey-step .engineer-icon::after,
.journey-step .run-icon::after {
  top: 11px;
}

.journey-step .engineer-icon {
  border-bottom:
    2px solid currentColor;
}


/* =========================================================
   FOOTER ICON — INTELLIGENTLY EVOLVE
   ========================================================= */

.journey-step .evolve-icon::before {
  content: "✣";

  position: absolute;

  left: 50%;
  top: 50%;

  transform:
    translate(-50%, -50%);

  font-size: 32px;
}


/* =========================================================
   FOOTER ICON — OWN IP
   ========================================================= */

.journey-step .own-icon::before {
  content: "⌁";

  position: absolute;

  left: 50%;
  top: 50%;

  transform:
    translate(-50%, -50%)
    rotate(-20deg);

  font-size: 38px;
  font-weight: 500;
}


/* =========================================================
   FOOTER ICON — OUTCOMES
   ========================================================= */

.journey-step .outcome-icon {
  border:
    2px solid currentColor;

  border-radius: 50%;
}

.journey-step .outcome-icon::before {
  content: "";

  position: absolute;
  inset: 7px;

  border:
    1px solid currentColor;

  border-radius: 50%;
}

.journey-step .outcome-icon::after {
  content: "";

  position: absolute;

  left: 50%;
  top: -4px;

  width: 1px;
  height: 39px;

  transform:
    translateX(-50%);

  background: currentColor;

  opacity: .35;
}


/* =========================================================
   LARGE SCREEN REFINEMENT
   ========================================================= */

@media (min-width: 1441px) {

  .s8-main {
    width: min(1440px, calc(100% - 64px)) !important;
  }

  .s8-journey {
    width: min(1440px, calc(100% - 64px)) !important;
  }

}


/* =========================================================
   1280px
   ========================================================= */

@media (max-width: 1280px) {

  .s8-main {
    grid-template-columns:
      minmax(275px, .75fr)
      minmax(190px, .45fr)
      minmax(455px, 1.35fr);

    column-gap: 24px;
  }

  .s8-spine .diamond {
    width: 210px;
    height: 82px;

    flex-basis: 82px;

    margin-top: -14px;
  }

  .s8 .layer summary {
    grid-template-columns:
      43px
      max-content
      1fr
      18px;
  }

  .s8 .layer-name {
    font-size: 9px;
  }

  .s8 .layer-question {
    margin-left: 10px;
    font-size: 8px;
  }

}


/* =========================================================
   1100px
   ========================================================= */

@media (max-width: 1100px) {

  .s8-main {
    grid-template-columns:
      minmax(250px, .72fr)
      minmax(180px, .44fr)
      minmax(410px, 1.30fr);

    column-gap: 18px;
  }

  .s8-spine .diamond {
    width: 190px;
    height: 76px;

    flex-basis: 76px;
  }

  .s8-spine .diamond-number {
    left: 30px;
  }

}


/* =========================================================
   1000px
   ========================================================= */

@media (max-width: 1000px) {

  .s8-main {
    grid-template-columns:
      minmax(235px, .70fr)
      minmax(155px, .42fr)
      minmax(380px, 1.30fr);

    column-gap: 14px;

    padding-top: 48px;
  }

  .s8-story h1 {
    font-size: 45px;
  }

  .s8-story h2 {
    font-size: 16px;
  }

  .s8-spine .diamond {
    width: 175px;
    height: 69px;

    flex-basis: 69px;

    margin-top: -10px;
  }

  .s8-spine .diamond-number {
    left: 25px;
    font-size: 12px;
  }

  .s8-spine .diamond-icon svg {
    width: 23px;
    height: 23px;
  }

  .s8 .layer summary {
    min-height: 54px;
    padding: 0 13px;
  }

  .s8 .layer-name {
    font-size: 8px;
  }

  .s8 .layer-question {
    font-size: 7px;
  }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 760px) {

  .s8 {
    padding:
      0 16px 24px 16px !important;
  }

  .s8-index {
    height: 50px;
  }

  .s8-index span {
    display: none;
  }

  .s8-index span:nth-child(7),
  .s8-index span:nth-child(8),
  .s8-index span:nth-child(9) {
    display: block;
  }

  .s8-main {
    display: flex;
    flex-direction: column;

    gap: 24px;

    padding-top: 38px;
  }

  .s8-story {
    width: 100%;
  }

  .s8-story h1 {
    font-size:
      clamp(42px, 13vw, 62px);
  }

  .s8-story h2 {
    font-size: 18px;
  }

  .s8-description {
    max-width: 100%;
  }

  .s8-difference {
    width: 100%;
  }


  /* -----------------------------------------
     MOBILE SPINE
     ----------------------------------------- */

  .s8-spine {
    width: 100%;

    min-height: 620px;

    transform:
      scale(.82);

    transform-origin:
      top center;

    margin-bottom: -105px;
  }


  .s8-spine .diamond {
    width: 210px;
    height: 82px;

    flex-basis: 82px;

    margin-top: -13px;
  }


  .s8-layers {
    width: 100%;
  }


  .s8 .layer summary {
    grid-template-columns:
      40px
      1fr
      18px;

    min-height: 64px;
  }

  .s8 .layer-name {
    display: block;

    font-size: 9px;
  }

  .s8 .layer-question {
    display: block;

    margin:
      4px 0 0;

    font-size: 8px;
  }

  .s8 .layer-content {
    grid-template-columns: 1fr;

    margin-left: 41px;
  }


  /* -----------------------------------------
     MOBILE FOOTER
     ----------------------------------------- */

  .s8-journey {
    display: block;

    width: 100% !important;

    padding: 18px;
  }

  .journey-title {
    margin-bottom: 18px;
  }

  .journey-track {
    overflow-x: auto;

    padding-bottom: 8px;
  }

  .journey-track::-webkit-scrollbar {
    height: 2px;
  }

  .journey-track::-webkit-scrollbar-thumb {
    background:
      rgba(0,217,255,.5);
  }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .s8 *,
  .s8 *::before,
  .s8 *::after {
    animation: none !important;
    transition: none !important;
  }

}
/* SECTION 8 WIDTH TEST */
@media(min-width:1441px){

.s8-main{

width:min(1600px, calc(100% - 80px)) !important;
max-width:1600px !important;

grid-template-columns:
minmax(360px,.90fr)
minmax(260px,.55fr)
minmax(560px,1.35fr);

column-gap:60px;

}

}

/* =========================================================
   OVERRIDE: DIAMOND SPINE COLORING, NUMBERS & ICONS
   ========================================================= */

/* 1. Spine Axis Glow & Gradient */
.s8-spine .spine-line {
  background: linear-gradient(
    180deg,
    rgba(0, 240, 255, 0.85) 0%,
    rgba(0, 170, 255, 0.75) 25%,
    rgba(138, 63, 252, 0.75) 60%,
    rgba(240, 37, 158, 0.85) 85%,
    rgba(224, 32, 92, 0.95) 100%
  ) !important;
  box-shadow:
    0 0 6px rgba(0, 240, 255, 0.45),
    0 0 8px rgba(240, 37, 158, 0.35) !important;
}

/* 2. Diamond Luminous Outer Rim */
.s8-spine .diamond {
  background: linear-gradient(
    135deg,
    rgba(var(--dc-rgb), 0.95),
    rgba(var(--dc-rgb), 0.45)
  ) !important;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%) !important;
  filter: drop-shadow(0 0 10px rgba(var(--dc-rgb), 0.35)) !important;
}

/* 3. Translucent Luminous Glass Face (Even Illumination) */
.s8-spine .diamond::after {
  inset: 1.2px !important;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%) !important;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(var(--dc-rgb), 0.22) 0%,
    rgba(var(--dc-rgb), 0.12) 55%,
    rgba(var(--dc-rgb), 0.04) 100%
  ) !important;
  filter: none !important;
}

/* 4. Rear Layer Offset Glow */
.s8-spine .diamond::before {
  inset: 2px -4px -2px 4px !important;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%) !important;
  background: transparent !important;
  border: 1px solid rgba(var(--dc-rgb), 0.18) !important;
  opacity: 0.7 !important;
  filter: drop-shadow(0 0 6px rgba(var(--dc-rgb), 0.25)) !important;
}

/* 5. High-Contrast Luminous Numbers */
.s8-spine .diamond-number {
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-shadow:
    0 0 6px var(--dc),
    0 0 12px rgba(var(--dc-rgb), 0.8) !important;
  z-index: 40 !important;
}

/* 6. Sharp High-Visibility Center Icons */
.s8-spine .diamond-icon {
  width: 44px !important;
  height: 44px !important;
  z-index: 40 !important;
}

.s8-spine .diamond-icon svg {
  width: 32px !important;
  height: 32px !important;
  stroke: #ffffff !important;
  stroke-width: 1.8 !important;
  filter:
    drop-shadow(0 0 4px var(--dc))
    drop-shadow(0 0 8px rgba(var(--dc-rgb), 0.9)) !important;
}

/* 7. Spine Node Behind Icons */
.s8-spine .diamond .spine-node {
  z-index: 15 !important;
  opacity: 0.6 !important;
}

/* 8. Calibrated 8-Step Spectrum */
.s8-spine .d1 { --dc: #00f0ff; --dc-rgb: 0, 240, 255; --layer-z: 8; }
.s8-spine .d2 { --dc: #00aaff; --dc-rgb: 0, 170, 255; --layer-z: 7; }
.s8-spine .d3 { --dc: #1a75ff; --dc-rgb: 26, 117, 255; --layer-z: 6; }
.s8-spine .d4 { --dc: #683bfd; --dc-rgb: 104, 59, 253; --layer-z: 5; }
.s8-spine .d5 { --dc: #8a3ffc; --dc-rgb: 138, 63, 252; --layer-z: 4; }
.s8-spine .d6 { --dc: #c42df0; --dc-rgb: 196, 45, 240; --layer-z: 3; }
.s8-spine .d7 { --dc: #f0259e; --dc-rgb: 240, 37, 158; --layer-z: 2; }
.s8-spine .d8 { --dc: #e0205c; --dc-rgb: 224, 32, 92; --layer-z: 1; }

/* 9. Outcomes Indicator */
.s8-spine .outcome-arrow {
  border-right-color: #e0205c !important;
  border-bottom-color: #e0205c !important;
  box-shadow: 2px 2px 7px rgba(224, 32, 92, 0.38) !important;
}

/* =========================================================
   MONITOR VIEW SCALE: TYPOGRAPHY, ICONS & ACCORDION
   ========================================================= */

/* --- Left Column Elements --- */
.s8-eyebrow {
  font-size: 13px !important;
  letter-spacing: .2em !important;
  margin-bottom: 12px !important;
}

.s8-system {
  font-size: 12px !important;
  letter-spacing: .1em !important;
  margin-bottom: 34px !important;
}

.s8-story h1 {
  font-size: clamp(52px, 4.8vw, 76px) !important;
  line-height: 1.02 !important;
}

.s8-story h2 {
  font-size: 23px !important;
  margin: 34px 0 16px !important;
}

.s8-description {
  max-width: 440px !important;
  font-size: 13.5px !important;
  line-height: 1.8 !important;
}

/* Difference Card & Mini Icons */
.s8-difference {
  width: min(100%, 420px) !important;
  padding: 28px 30px 26px !important;
  margin-top: 42px !important;
}

.difference-title {
  font-size: 11px !important;
  letter-spacing: .2em !important;
  margin-bottom: 20px !important;
}

.difference-item {
  font-size: 12.5px !important;
  gap: 16px !important;
  margin-top: 16px !important;
}

.mini-icon {
  width: 32px !important;
  height: 32px !important;
  flex: 0 0 32px !important;
}

.mini-icon.clock::before,
.mini-icon.ring::before {
  width: 10px !important;
  height: 10px !important;
}

.mini-icon.clock::after {
  height: 6px !important;
}

.mini-icon.bars::before {
  font-size: 15px !important;
}

/* --- Right Column Accordion Layers --- */
.s8-layers {
  gap: 12px !important;
}

.s8 .layer summary {
  min-height: 64px !important;
  padding: 0 24px !important;
  grid-template-columns: 60px max-content 1fr 24px !important;
}

.s8 .layer-no {
  font-size: 22px !important;
  font-weight: 600 !important;
}

.s8 .layer-name {
  font-size: 12px !important;
  letter-spacing: .06em !important;
}

.s8 .layer-question {
  font-size: 11px !important;
  margin-left: 18px !important;
}

.s8 .layer-toggle {
  width: 18px !important;
  height: 18px !important;
}

.s8 .layer-toggle::before,
.s8 .layer-toggle::after {
  width: 16px !important;
}

/* Expanded Content Body & Dot Field */
.s8 .layer-content {
  grid-template-columns: 165px 1fr !important;
  gap: 32px !important;
  padding: 22px 24px !important;
  margin: 0 24px 18px 60px !important;
}

.s8 .layer-content p {
  font-size: 12.5px !important;
  line-height: 1.75 !important;
}

.s8 .content-dots {
  width: 90px !important;
  grid-template-columns: repeat(5, 6px) !important;
  gap: 11px !important;
}

.s8 .content-dots i {
  width: 6px !important;
  height: 6px !important;
  box-shadow: 0 0 8px rgba(0, 240, 255, .8) !important;
}
/* =========================================================
   ACCORDION QUESTION SUBTITLE FONT SIZE OVERRIDE
   ========================================================= */

.s8 .layer-question {
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
  opacity: 0.9 !important;
}
/* =========================================================
   ACCORDION LAYER TITLE SIZE OVERRIDE
   ========================================================= */

.s8 .layer-name {
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
}
/* =========================================================
   THE 1020 DIFFERENCE: CARD, ICONS & TEXT SIZE OVERRIDE
   ========================================================= */

/* 1. Outer Container & Padding */
.s8-difference {
  width: min(100%, 460px) !important;
  padding: 30px 32px 28px !important;
  margin-top: 40px !important;
}

/* 2. Header Title */
.difference-title {
  font-size: 13px !important;
  letter-spacing: 0.22em !important;
  margin-bottom: 22px !important;
}

/* 3. List Row Items & Text Size */
.difference-item {
  font-size: 13px !important;
  font-weight: 400 !important;
  gap: 18px !important;
  margin-top: 18px !important;
  line-height: 1.4 !important;
}

/* 4. Circular Icon Badge */
.mini-icon {
  width: 38px !important;
  height: 38px !important;
  flex: 0 0 38px !important;
  border-width: 1.5px !important;
}

/* 5. Inner Glyph Sizes */
.mini-icon.clock::before {
  width: 12px !important;
  height: 12px !important;
  border-width: 1.5px !important;
}

.mini-icon.clock::after {
  width: 1.5px !important;
  height: 7px !important;
}

.mini-icon.ring::before {
  width: 13px !important;
  height: 13px !important;
  border-width: 1.5px !important;
}

.mini-icon.bars::before {
  font-size: 18px !important;
}
/* =========================================================
   OUTCOMES & BUSINESS IMPACT SECTION
   ========================================================= */

.s8-outcomes-wrapper {
  grid-column: 1 / -1;
  width: min(1080px, 100%);
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 10;
}

/* Spine Arrow Terminus */
.s8-outcomes-wrapper .outcome-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 24px;
}

.s8-outcomes-wrapper .outcome-arrow {
  width: 11px;
  height: 11px;
  margin-bottom: 12px;
  border-right: 2px solid #e0205c;
  border-bottom: 2px solid #e0205c;
  transform: rotate(45deg);
  box-shadow: 2px 2px 8px rgba(224, 32, 92, 0.5);
}

.s8-outcomes-wrapper .outcome-title {
  margin: 0;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(224, 32, 92, 0.6);
}

.s8-outcomes-wrapper .outcome-subtitle {
  margin: 6px 0 0;
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 400;
}

/* Outer Bordered Panel */
.outcome-panel {
  width: 100%;
  padding: 32px 36px 36px;
  border: 1px solid rgba(118, 143, 176, 0.16);
  border-radius: 16px;
  background: linear-gradient(
    180deg,
    rgba(5, 12, 22, 0.85) 0%,
    rgba(2, 6, 12, 0.95) 100%
  );
  box-shadow: inset 0 0 40px rgba(0, 240, 255, 0.02);
}

/* 3 Cards Container */
.outcome-cards {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Compact Glass Cards */
.outcome-card {
  flex: 1 1 0;
  min-width: 0;
  padding: 24px 20px;
  border-radius: 12px;
  text-align: center;
  background: rgba(3, 8, 17, 0.7);
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.outcome-card:hover {
  transform: translateY(-2px);
}

.outcome-card h4 {
  margin: 14px 0 8px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.outcome-card p {
  margin: 0;
  color: #8fa0b5;
  font-size: 11.5px;
  line-height: 1.6;
}

/* Icon Badges */
.card-icon-badge {
  width: 44px;
  height: 44px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.card-icon-badge svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Card Variants (Border & Glow) */
.outcome-card.card-cyan {
  border: 1px solid rgba(0, 240, 255, 0.35);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.08);
}
.outcome-card.card-cyan .card-icon-badge {
  border: 1.5px solid #00f0ff;
  color: #00f0ff;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.35);
}
.outcome-card.card-cyan .card-icon-badge svg { stroke: #00f0ff; }

.outcome-card.card-purple {
  border: 1px solid rgba(138, 63, 252, 0.35);
  box-shadow: 0 0 16px rgba(138, 63, 252, 0.08);
}
.outcome-card.card-purple .card-icon-badge {
  border: 1.5px solid #8a3ffc;
  color: #8a3ffc;
  box-shadow: 0 0 12px rgba(138, 63, 252, 0.35);
}
.outcome-card.card-purple .card-icon-badge svg { stroke: #8a3ffc; }

.outcome-card.card-pink {
  border: 1px solid rgba(224, 32, 92, 0.35);
  box-shadow: 0 0 16px rgba(224, 32, 92, 0.08);
}
.outcome-card.card-pink .card-icon-badge {
  border: 1.5px solid #e0205c;
  color: #e0205c;
  box-shadow: 0 0 12px rgba(224, 32, 92, 0.35);
}
.outcome-card.card-pink .card-icon-badge svg { stroke: #e0205c; }

/* In-Between Dot Connectors */
.card-connector {
  flex: 0 0 28px;
  height: 1px;
  position: relative;
}

.card-connector i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.conn-cyan-purple {
  background: linear-gradient(90deg, #00f0ff, #8a3ffc);
}
.conn-cyan-purple i {
  background: #00f0ff;
  box-shadow: 0 0 8px #00f0ff;
}

.conn-purple-pink {
  background: linear-gradient(90deg, #8a3ffc, #e0205c);
}
.conn-purple-pink i {
  background: #e0205c;
  box-shadow: 0 0 8px #e0205c;
}

/* Convergence Circuit Lines */
.convergence-circuit {
  position: relative;
  height: 38px;
  margin-top: 18px;
}

.convergence-circuit .branch-line {
  position: absolute;
  top: 0;
  height: 28px;
}

.convergence-circuit .branch-line.left {
  left: calc(16.66% + 8px);
  right: 50%;
  border-left: 1px dashed rgba(0, 240, 255, 0.4);
  border-bottom: 1px dashed rgba(0, 240, 255, 0.4);
  border-bottom-left-radius: 12px;
}

.convergence-circuit .branch-line.center {
  left: 50%;
  width: 1px;
  border-left: 1px dashed rgba(138, 63, 252, 0.5);
}

.convergence-circuit .branch-line.right {
  right: calc(16.66% + 8px);
  left: 50%;
  border-right: 1px dashed rgba(224, 32, 92, 0.4);
  border-bottom: 1px dashed rgba(224, 32, 92, 0.4);
  border-bottom-right-radius: 12px;
}

.central-fusion-node {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow:
    0 0 8px #ffffff,
    0 0 16px #00f0ff,
    0 0 24px #e0205c;
}

/* Bottom Business Impact */
.business-impact {
  text-align: center;
  margin-top: 26px;
}

.impact-eyebrow {
  color: #00f0ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  margin-bottom: 10px;
}

.business-impact h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: linear-gradient(90deg, #00f0ff 0%, #8a3ffc 50%, #e0205c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.business-impact p {
  margin: 8px 0 0;
  color: #94a3b8;
  font-size: 12px;
}

/* Tablet & Mobile Responsive */
@media (max-width: 860px) {
  .outcome-cards {
    flex-direction: column;
    gap: 16px;
  }
  .card-connector,
  .convergence-circuit {
    display: none;
  }
  .outcome-card {
    width: 100%;
  }
  .business-impact h2 {
    font-size: 17px;
  }
}
/* =========================================================
   OUTCOMES FULL-WIDTH PANEL FIX
   ========================================================= */

.s8-outcomes-wrapper {
  position: relative !important;
  z-index: 10 !important;
  width: min(1440px, calc(100% - 64px)) !important;
  max-width: 1440px !important;
  margin: 40px auto 30px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.outcome-panel {
  width: 100% !important;
  max-width: 1080px !important;
  padding: 36px 40px !important;
  border: 1px solid rgba(118, 143, 176, 0.18) !important;
  border-radius: 16px !important;
  background: linear-gradient(
    180deg,
    rgba(5, 12, 22, 0.9) 0%,
    rgba(2, 6, 12, 0.98) 100%
  ) !important;
  box-sizing: border-box !important;
}

.outcome-cards {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  justify-content: space-between !important;
  gap: 16px !important;
  width: 100% !important;
}

.outcome-card {
  flex: 1 1 0 !important;
  min-width: 220px !important;
  padding: 24px 20px !important;
  box-sizing: border-box !important;
}

.outcome-card h4 {
  font-size: 15px !important;
  white-space: nowrap !important;
}

.outcome-card p {
  font-size: 12px !important;
  line-height: 1.6 !important;
}
/* =========================================================
   OUTCOMES: FULL-WIDTH, TIGHT GAP & CONNECTED SPUR LINE
   ========================================================= */

/* 1. Extend outer wrapper & panel to full container width */
.s8-outcomes-wrapper {
  width: min(1440px, calc(100% - 64px)) !important;
  max-width: 1440px !important;
  margin: 0 auto 30px !important;
  position: relative !important;
  z-index: 10 !important;
}

.outcome-panel {
  width: 100% !important;
  max-width: 100% !important;
  padding: 38px 42px !important;
  box-sizing: border-box !important;
}

/* 2. Extend connector line from diamond 08 down into the box */
.s8-outcomes-wrapper .outcome-mark {
  margin-top: -16px !important;
  margin-bottom: 0 !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  padding-bottom: 24px !important;
}

/* Spur line passing through Outcomes text to touch the panel border */
.s8-outcomes-wrapper .outcome-mark::after {
  content: "" !important;
  position: absolute !important;
  top: 14px !important;
  bottom: 0 !important;
  left: 50% !important;
  width: 1px !important;
  transform: translateX(-50%) !important;
  background: linear-gradient(
    180deg,
    #e0205c 0%,
    rgba(224, 32, 92, 0.8) 60%,
    rgba(118, 143, 176, 0.6) 100%
  ) !important;
  box-shadow: 0 0 6px rgba(224, 32, 92, 0.5) !important;
  z-index: -1 !important;
}

/* Keep text readable over the connecting line */
.s8-outcomes-wrapper .outcome-title {
  background: #02070d !important;
  padding: 2px 14px !important;
  border-radius: 4px !important;
  z-index: 2 !important;
}

.s8-outcomes-wrapper .outcome-subtitle {
  background: #02070d !important;
  padding: 2px 12px !important;
  border-radius: 4px !important;
  z-index: 2 !important;
}

/* 3. Cards fill full panel width with generous inner padding */
.outcome-cards {
  gap: 20px !important;
  width: 100% !important;
}

.outcome-card {
  padding: 30px 24px !important;
}

.outcome-card h4 {
  font-size: 16px !important;
}

.outcome-card p {
  font-size: 13px !important;
  line-height: 1.65 !important;
}
/* =========================================================
   OUTCOMES & BUSINESS IMPACT: FULL WIDTH & SPUR LINE ANCHOR
   ========================================================= */

/* 1. Full-Width Wrapper & Container Alignment */
.s8-outcomes-wrapper {
  position: relative !important;
  z-index: 10 !important;
  width: min(1440px, calc(100% - 64px)) !important;
  max-width: 1440px !important;
  margin: -10px auto 36px !important; /* Pulls closer to diamond 08 */
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

/* 2. Spur Line from Diamond 08 through OUTCOMES to Panel Border */
.s8-outcomes-wrapper .outcome-mark {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  margin-bottom: 0 !important;
  padding-bottom: 28px !important;
  z-index: 5 !important;
}

/* Downward arrow vertex */
.s8-outcomes-wrapper .outcome-arrow {
  width: 10px !important;
  height: 10px !important;
  margin-bottom: 10px !important;
  border-right: 2px solid #e0205c !important;
  border-bottom: 2px solid #e0205c !important;
  transform: rotate(45deg) !important;
  filter: drop-shadow(0 0 6px #e0205c) !important;
}

/* Vertical spur line passing through the text and hitting the top border */
.s8-outcomes-wrapper .outcome-mark::after {
  content: "" !important;
  position: absolute !important;
  top: 6px !important;
  bottom: 0 !important;
  left: 50% !important;
  width: 1.5px !important;
  transform: translateX(-50%) !important;
  background: linear-gradient(
    180deg,
    #e0205c 0%,
    rgba(224, 32, 92, 0.8) 50%,
    rgba(118, 143, 176, 0.4) 100%
  ) !important;
  box-shadow: 0 0 8px rgba(224, 32, 92, 0.6) !important;
  z-index: -1 !important;
}

/* Text pill backdrops to avoid line overlap */
.s8-outcomes-wrapper .outcome-title {
  margin: 0 !important;
  background: #02070d !important;
  padding: 2px 14px !important;
  border-radius: 4px !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.28em !important;
  text-shadow: 0 0 10px rgba(224, 32, 92, 0.6) !important;
  z-index: 2 !important;
}

.s8-outcomes-wrapper .outcome-subtitle {
  margin: 4px 0 0 !important;
  background: #02070d !important;
  padding: 2px 12px !important;
  border-radius: 4px !important;
  color: #94a3b8 !important;
  font-size: 12.5px !important;
  z-index: 2 !important;
}

/* 3. Full-Width Glass Panel */
.outcome-panel {
  width: 100% !important;
  max-width: 100% !important;
  padding: 38px 44px !important;
  border: 1px solid rgba(118, 143, 176, 0.2) !important;
  border-radius: 16px !important;
  background: linear-gradient(
    180deg,
    rgba(5, 12, 22, 0.88) 0%,
    rgba(2, 6, 12, 0.98) 100%
  ) !important;
  box-shadow: inset 0 0 35px rgba(0, 240, 255, 0.02) !important;
  box-sizing: border-box !important;
}

/* 4. Cards Row Distribution */
.outcome-cards {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  justify-content: space-between !important;
  gap: 20px !important;
  width: 100% !important;
}

.outcome-card {
  flex: 1 1 0 !important;
  min-width: 220px !important;
  padding: 30px 24px !important;
  box-sizing: border-box !important;
}

.outcome-card h4 {
  font-size: 16px !important;
  margin: 16px 0 10px !important;
}

.outcome-card p {
  font-size: 13px !important;
  line-height: 1.65 !important;
}

/* 5. Business Impact Footer Heading */
.business-impact h2 {
  font-size: 22px !important;
  letter-spacing: -0.01em !important;
}
/* =========================================================
   FULL-WIDTH ENVELOPE: OUTCOMES & JOURNEY TO HEADER EDGES
   ========================================================= */

/* 1. Outcomes Wrapper matches site boundary */
.s8-outcomes-wrapper {
  width: min(1440px, calc(100% - 64px)) !important;
  max-width: 1440px !important;
  margin: -14px auto 28px !important;
  position: relative !important;
  z-index: 10 !important;
}

/* 2. Outcomes Outer Box fills full width */
.s8-outcomes-wrapper .outcome-panel {
  width: 100% !important;
  max-width: 100% !important;
  padding: 36px 44px !important;
  box-sizing: border-box !important;
}

/* 3. The Journey Footer matches exact same width and margins */
.s8-journey {
  width: min(1440px, calc(100% - 64px)) !important;
  max-width: 1440px !important;
  margin: 0 auto 32px !important;
  box-sizing: border-box !important;
}

/* Ultra-wide support for screens >1440px */
@media (min-width: 1441px) {
  .s8-outcomes-wrapper,
  .s8-journey {
    width: min(1600px, calc(100% - 80px)) !important;
    max-width: 1600px !important;
  }
}
/* =========================================================
   STRETCH SECTION 08 TO MATCH NAVBAR HEADER BOUNDARIES
   ========================================================= */

/* 1. Main 3-Column Envelope */
.s8-main {
  width: calc(100% - 80px) !important; /* Matches 40px left/right navbar inset */
  max-width: none !important;          /* Removes artificial 1440px / 1600px ceiling */
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 
    minmax(320px, 0.85fr) 
    minmax(260px, 0.55fr) 
    minmax(580px, 1.45fr) !important;
  column-gap: clamp(28px, 3.5vw, 64px) !important;
  box-sizing: border-box !important;
}

/* 2. Lower Panels (Outcomes & Journey Footer) Match Same Outer Width */
.s8-outcomes-wrapper,
.s8-journey {
  width: calc(100% - 80px) !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* 3. Let The 1020 Difference Box Expand Naturally */
.s8-difference {
  width: 100% !important;
  max-width: 480px !important;
}
/* =========================================================
   REDUCE ACCORDION WIDTH & RE-CENTER SPINE
   ========================================================= */

/* 1. Re-balance Grid Columns: Shift Spine Rightward */
.s8-main {
  grid-template-columns: 
    minmax(340px, 1.15fr) 
    minmax(240px, 0.70fr) 
    minmax(420px, 1.0fr) !important;
  column-gap: clamp(24px, 3vw, 48px) !important;
}

/* 2. Narrow Accordion Width Bounds */
.s8-layers {
  width: 100% !important;
  max-width: 500px !important;
  justify-self: end !important; /* Locks accordion flush against the right boundary */
}

/* 3. Compact Layer Summary Padding & Proportions */
.s8 .layer summary {
  min-height: 48px !important;
  padding: 0 16px !important;
  grid-template-columns: 46px max-content 1fr 16px !important;
}

.s8 .layer-no {
  font-size: 16px !important;
}

.s8 .layer-name {
  font-size: 12px !important;
}

.s8 .layer-question {
  font-size: 10.5px !important;
  margin-left: 10px !important;
}

.s8 .layer-toggle {
  width: 14px !important;
  height: 14px !important;
}
/* =========================================================
   COMPACT OUTCOMES TUCK: PREVENT RESPONSIVE DRIFT
   ========================================================= */

/* 1. Stop the central spine line cleanly inside Diamond 08 */
.s8-spine .spine-line {
  bottom: 48px !important;
}

/* 2. Pull the entire Outcomes block up and remove stray spur pseudo-lines */
.s8-outcomes-wrapper {
  margin-top: -65px !important;
  margin-bottom: 24px !important;
}

.s8-outcomes-wrapper .outcome-mark {
  padding: 0 0 16px 0 !important;
  margin: 0 !important;
}

/* Disable artificial vertical spur pseudo-lines */
.s8-outcomes-wrapper .outcome-mark::before,
.s8-outcomes-wrapper .outcome-mark::after {
  display: none !important;
}

/* 3. Snug Chevron Arrow right below Diamond 08 */
.s8-outcomes-wrapper .outcome-arrow {
  width: 9px !important;
  height: 9px !important;
  margin-bottom: 6px !important;
  border-right: 2px solid #e0205c !important;
  border-bottom: 2px solid #e0205c !important;
  transform: rotate(45deg) !important;
  filter: drop-shadow(0 0 6px #e0205c) !important;
}

/* 4. Compact typography without background mask pills */
.s8-outcomes-wrapper .outcome-title {
  font-size: 12px !important;
  letter-spacing: 0.28em !important;
  margin: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}

.s8-outcomes-wrapper .outcome-subtitle {
  font-size: 11.5px !important;
  margin-top: 3px !important;
  background: transparent !important;
  padding: 0 !important;
}
/* =========================================================
   DIAMOND 08 SPINE TERMINATION & 3-LAYER BLINKING CHEVRON
   ========================================================= */

/* 1. Stop the spine-line strictly at the center of Diamond 08 */
.s8-spine .spine-line {
  bottom: 84px !important;
}

/* 2. Pull OUTCOMES directly under Diamond 08 and remove stray pseudo lines */
.s8-outcomes-wrapper {
  margin-top: -68px !important;
  margin-bottom: 24px !important;
}

.s8-outcomes-wrapper .outcome-mark {
  padding: 0 0 16px 0 !important;
  margin: 0 !important;
}

.s8-outcomes-wrapper .outcome-mark::before,
.s8-outcomes-wrapper .outcome-mark::after {
  display: none !important;
}

/* 3. 3-Layer Downward Blinking/Pulsing Chevrons */
.s8-outcomes-wrapper .outcome-arrow {
  position: relative !important;
  width: 14px !important;
  height: 14px !important;
  margin-bottom: 12px !important;
  border-right: 2.5px solid #e0205c !important;
  border-bottom: 2.5px solid #e0205c !important;
  transform: rotate(45deg) !important;
  filter: drop-shadow(0 0 8px #e0205c) !important;
  animation: chevronPulse 1.4s ease-in-out infinite alternate !important;
}

/* Layer 2 (Middle Chevron) */
.s8-outcomes-wrapper .outcome-arrow::before {
  content: "" !important;
  position: absolute !important;
  inset: -6px !important;
  border-right: 2px solid rgba(224, 32, 92, 0.75) !important;
  border-bottom: 2px solid rgba(224, 32, 92, 0.75) !important;
  filter: drop-shadow(0 0 6px rgba(224, 32, 92, 0.6)) !important;
}

/* Layer 3 (Outer Chevron) */
.s8-outcomes-wrapper .outcome-arrow::after {
  content: "" !important;
  position: absolute !important;
  inset: -12px !important;
  border-right: 1.5px solid rgba(224, 32, 92, 0.45) !important;
  border-bottom: 1.5px solid rgba(224, 32, 92, 0.45) !important;
  filter: drop-shadow(0 0 4px rgba(224, 32, 92, 0.4)) !important;
}

/* 4. Smooth Blinking / Glow Keyframes */
@keyframes chevronPulse {
  0% {
    opacity: 0.35;
    transform: rotate(45deg) translateY(-2px) scale(0.92);
    filter: drop-shadow(0 0 4px rgba(224, 32, 92, 0.4));
  }
  100% {
    opacity: 1;
    transform: rotate(45deg) translateY(3px) scale(1.08);
    filter: drop-shadow(0 0 14px rgba(224, 32, 92, 1)) drop-shadow(0 0 20px rgba(255, 44, 157, 0.8));
  }
}

/* 5. Typography Reset (Clean & Unmasked) */
.s8-outcomes-wrapper .outcome-title {
  font-size: 13px !important;
  letter-spacing: 0.3em !important;
  margin: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  text-shadow: 0 0 10px rgba(224, 32, 92, 0.7) !important;
}

.s8-outcomes-wrapper .outcome-subtitle {
  font-size: 12px !important;
  margin-top: 4px !important;
  background: transparent !important;
  padding: 0 !important;
}
/* =========================================================
   HIDE SPINE LINE BELOW 08 & SNUG CHEVRON FIT
   ========================================================= */

/* 1. Stop the spine-line strictly at the center node of Diamond 08 */
.s8-spine .spine-line {
  top: 39px !important;
  bottom: auto !important;
  height: calc(100% - 155px) !important;
}

/* 2. Pull OUTCOMES chevron directly below Diamond 08 */
.s8-outcomes-wrapper {
  margin-top: -120px !important;
  margin-bottom: 24px !important;
  position: relative !important;
  z-index: 20 !important;
}

.s8-outcomes-wrapper .outcome-mark {
  padding: 0 0 12px 0 !important;
  margin: 0 !important;
}
/* =========================================================
   SECTION 08: BALANCED 3-COLUMN LAYOUT & COMPACT OUTCOMES
   ========================================================= */

/* 1. Symmetric 3-Column Top Grid with Fixed Top Alignment */
/* =========================================================
   TRUE CENTER LOCK: 1FR - AUTO - 1FR SYMMETRIC GRID
   ========================================================= */

/* 1. Perfect 50% Center Alignment across 3 Columns */
/* =========================================================
   STRICT 50% CENTER SPINE + 01-09 EDGE-TO-EDGE EXPANSION
   ========================================================= */

/* 1. Symmetric 1fr-auto-1fr grid locks center spine at exact 50% */
/* =========================================================
   EDGE MAPPING: INSET TO MATCH 01 (LEFT) & 09 (RIGHT)
   ========================================================= */

/* 1. Inset Section 08 to match the 01–09 tracking rail */
.s8-main {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important; /* Locks spine strictly at horizontal 50% */
  column-gap: clamp(24px, 3.5vw, 56px) !important;
  align-items: start !important;
  width: calc(100% - 260px) !important; /* Insets outer bounds to align flush under 01 and 09 */
  max-width: 1400px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

/* 2. Left Story Column: Starts flush beneath '01' */
.s8-story {
  justify-self: start !important;
  width: 100% !important;
  max-width: 480px !important;
}

.s8-difference {
  width: 100% !important;
  max-width: 480px !important;
}

/* 3. Central Spine: Strict Center Anchor */
.s8-spine {
  justify-self: center !important;
  margin: 0 auto !important;
}

/* 4. Right Accordion Column: Ends flush beneath '09' */
.s8-layers {
  justify-self: end !important;
  width: 100% !important;
  max-width: 500px !important;
}

.s8-layers .layer,
.s8-layers summary {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* 5. Inset Lower Outcomes & Journey Bar to the exact same 01-09 bounds */
.s8-outcomes-wrapper,
.s8-journey {
  width: calc(100% - 260px) !important;
  max-width: 1400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.s8 .layer-no {
  font-size: 17px !important;
}

.s8 .layer-name {
  font-size: 13px !important;
}

.s8 .layer-question {
  font-size: 12px !important;
  margin-left: 12px !important;
}

/* 3. Snug Outcomes Docking: Connects Diamond 08 Directly to Chevron */
.s8-outcomes-wrapper {
  width: calc(100% - 80px) !important;
  max-width: none !important;
  margin: -10px auto 28px !important; /* Closes gap between top section and outcomes */
  position: relative !important;
  z-index: 10 !important;
}

.s8-outcomes-wrapper .outcome-mark {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  margin: 0 auto 16px !important;
  padding-top: 0 !important;
}

/* Blinking 3-Layer Outcomes Chevron */
.s8-outcomes-wrapper .outcome-arrow {
  position: relative !important;
  width: 14px !important;
  height: 14px !important;
  margin: 0 auto 10px !important;
  border-right: 2.5px solid #e0205c !important;
  border-bottom: 2.5px solid #e0205c !important;
  transform: rotate(45deg) !important;
  filter: drop-shadow(0 0 8px #e0205c) !important;
  animation: chevronPulse 1.3s ease-in-out infinite alternate !important;
}

.s8-outcomes-wrapper .outcome-arrow::before {
  content: "" !important;
  position: absolute !important;
  inset: -6px !important;
  border-right: 2px solid rgba(224, 32, 92, 0.75) !important;
  border-bottom: 2px solid rgba(224, 32, 92, 0.75) !important;
}

.s8-outcomes-wrapper .outcome-arrow::after {
  content: "" !important;
  position: absolute !important;
  inset: -12px !important;
  border-right: 1.5px solid rgba(224, 32, 92, 0.45) !important;
  border-bottom: 1.5px solid rgba(224, 32, 92, 0.45) !important;
}

@keyframes chevronPulse {
  0% {
    opacity: 0.35;
    transform: rotate(45deg) translateY(-2px) scale(0.92);
  }
  100% {
    opacity: 1;
    transform: rotate(45deg) translateY(3px) scale(1.1);
    filter: drop-shadow(0 0 14px rgba(224, 32, 92, 1));
  }
}
/* =========================================================
   DIRECT MAPPING TO TRACKER 01 (LEFT) AND 09 (RIGHT)
   ========================================================= */

/* 1. Remove width caps on Section 08 root containers */
#s8,
.s8,
.section-8 {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

/* 2. Set 3-column top grid to match top tracker margins */
.s8-main {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important; /* Center column stays locked at horizontal 50% */
  column-gap: clamp(24px, 3.5vw, 60px) !important;
  align-items: start !important;
  width: calc(100% - 96px) !important;           /* Matches outer edge of 01 and 09 */
  max-width: none !important;                    /* Prevents inward clamping on large screens */
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

/* 3. Left narrative wing stretches out to marker 01 */
.s8-story {
  justify-self: stretch !important;
  width: 100% !important;
  max-width: none !important;
}

.s8-difference {
  width: 100% !important;
  max-width: none !important;
}

/* 4. Center spine locked at exact 50% midpoint */
.s8-spine {
  justify-self: center !important;
  margin: 0 auto !important;
  padding: 0 !important;
  width: auto !important;
}

/* 5. Right accordion wing stretches out to marker 09 */
.s8-layers {
  justify-self: stretch !important;
  width: 100% !important;
  max-width: none !important; /* Uncapped to stretch flush with 09 */
  min-width: 0 !important;
}

.s8-layers .layer,
.s8-layers summary {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* 6. Middle Outcomes Cards & Journey Bar mapped to identical 01–09 bounds */
.s8-outcomes-wrapper,
.s8-outcomes,
.outcomes-container,
.s8-journey,
.journey-bar-container,
.s8-business-impact {
  width: calc(100% - 96px) !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}
/* =========================================================
   COLLAPSE VOID: DOCK OUTCOMES DIRECTLY TO DIAMOND 08
   ========================================================= */

/* 1. Eliminate trailing empty height on spine and main grid */
.s8-main {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.s8-spine {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* 2. Pull OUTCOMES wrapper up to meet Diamond 08 */
.s8-outcomes-wrapper {
  margin-top: -125px !important; /* Adjust by +/- 10px if needed */
  margin-bottom: 16px !important;
  padding-top: 0 !important;
  position: relative !important;
  z-index: 10 !important;
}

.s8-outcomes-wrapper .outcome-mark {
  margin-top: 0 !important;
  padding-top: 0 !important;
  gap: 4px !important;
}

/* 3. Shorten any remaining vertical line artifact */
.s8-spine-line,
.spine-line,
.s8-spine::after {
  bottom: 28px !important;
  height: auto !important;
}
/* =========================================================
   JOURNEY BAR TYPOGRAPHY (CONSOLIDATED & CONFLICT-FREE)
   ========================================================= */

/* 1. Base text & sub-elements inside Journey Bar */
.s8-journey,
.s8-journey *:not(.journey-title):not(.journey-heading):not(strong):not(svg):not(path):not(circle):not(rect) {
  line-height: 1.25 !important;
}

/* 2. Left Title Block: "The journey in one sentence" */
.s8-journey .journey-title,
.s8-journey .journey-heading,
.s8-journey .journey-label,
.s8-journey > div:first-child {
  font-size: 16px !important;
  line-height: 1.35 !important;
}

.s8-journey .journey-title span,
.s8-journey .journey-heading span,
.s8-journey strong {
  font-size: 17px !important;
  font-weight: 700 !important;
}

/* 3. Step Labels beneath Icons (Understand -> Outcomes) */
.s8-journey .journey-step span,
.s8-journey .step-label,
.s8-journey .step-name,
.s8-journey .journey-item p,
.s8-journey .journey-item span,
.s8-journey figcaption {
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  margin-top: 10px !important;
}
/* =========================================================
   SECTION 08 — L8 TOGGLE CURSOR FIX
   ========================================================= */

.s8 .layer-toggle,
.s8 .layer-toggle::before,
.s8 .layer-toggle::after {
  cursor: pointer !important;
}
/* =========================================================
   SECTION 08 — OUTCOMES PANEL WIDTH RESTORE
   ---------------------------------------------------------
   Restore the contained premium composition.
   Do NOT touch diamonds / spine / accordion.
   ========================================================= */

.s8-outcomes-wrapper {
  width: min(1080px, calc(100% - 64px)) !important;
  max-width: 1080px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.s8-outcomes-wrapper .outcome-panel {
  width: 100% !important;
  max-width: 100% !important;
}
/* =========================================================
   SECTION 08 — JOURNEY WIDTH RESTORE
   ---------------------------------------------------------
   Match Journey width to contained Outcomes composition.
   Do NOT touch journey content or icons.
   ========================================================= */

.s8-journey {
  width: min(1080px, calc(100% - 64px)) !important;
  max-width: 1080px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* =========================================================
   SECTION 08 — DIFFERENCE CARD WIDTH
   Keep card inside LEFT STORY COLUMN.
   Do NOT affect spine / diamonds / outcomes.
   ========================================================= */

.s8 .s8-difference {
    width: 380px !important;
    max-width: 380px !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}
/* =========================================================
   SECTION 08 — ACCORDION ROW HEIGHT
   ========================================================= */

.s8 .layer > summary {
    min-height: 58px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
/* =========================================================
   SECTION 08 — ACCORDION TITLE / QUESTION STACK
   Title stays white.
   Colored question moves below title.
   ========================================================= */

.s8 .layer > summary {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) 28px !important;
    grid-template-rows: auto auto !important;
    column-gap: 14px !important;
    align-items: center !important;
}

/* Number spans both text rows */
.s8 .layer-number {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: center !important;
}

/* White title */
.s8 .layer-title {
    grid-column: 2;
    grid-row: 1;
    align-self: end !important;
}

/* Colored question below title */
.s8 .layer-question {
    grid-column: 2;
    grid-row: 2;
    align-self: start !important;
    margin-top: 3px !important;
}

/* Plus / minus stays at the far right */
.s8 .layer-toggle {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: center !important;
}
/* =========================================================
   SECTION 08 — OUTCOME CARDS
   SUBTLE GLASS / RESTRAINED ICON GLOW
   ========================================================= */

/* Cards: dark first, glass second */
.s8 .outcome-card {
    background: rgba(5, 10, 18, 0.58) !important;
    backdrop-filter: blur(3px) !important;
    -webkit-backdrop-filter: blur(3px) !important;

    box-shadow: none !important;
}

/* Cyan card */
.s8 .outcome-card.card-cyan {
    border: 1px solid rgba(0, 240, 255, 0.30) !important;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.035) !important;
}

/* Purple card */
.s8 .outcome-card.card-purple {
    border: 1px solid rgba(138, 63, 252, 0.30) !important;
    box-shadow: 0 0 10px rgba(138, 63, 252, 0.035) !important;
}

/* Pink card */
.s8 .outcome-card.card-pink {
    border: 1px solid rgba(224, 32, 92, 0.30) !important;
    box-shadow: 0 0 10px rgba(224, 32, 92, 0.035) !important;
}


/* =========================================================
   ICONS — CLEANER, SMALLER HALO
   ========================================================= */

.s8 .card-icon-badge {
    background: rgba(2, 7, 14, 0.32) !important;
    box-shadow: none !important;
}

/* Cyan icon */
.s8 .outcome-card.card-cyan .card-icon-badge {
    border-color: rgba(0, 240, 255, 0.85) !important;
    box-shadow: 0 0 7px rgba(0, 240, 255, 0.16) !important;
}

/* Purple icon */
.s8 .outcome-card.card-purple .card-icon-badge {
    border-color: rgba(138, 63, 252, 0.85) !important;
    box-shadow: 0 0 7px rgba(138, 63, 252, 0.16) !important;
}

/* Pink icon */
.s8 .outcome-card.card-pink .card-icon-badge {
    border-color: rgba(224, 32, 92, 0.85) !important;
    box-shadow: 0 0 7px rgba(224, 32, 92, 0.16) !important;
}

/* Icon itself — crisp, restrained */
.s8 .card-icon-badge svg {
    filter: none !important;
}
/* =========================================================
   SECTION 08 — OUTCOME CARD FINAL GLOW
   Subtle inner color + mild outer glow
   ========================================================= */

.s8 .outcome-card.card-cyan {
    box-shadow:
        inset 0 0 28px rgba(0, 240, 255, 0.055),
        0 4px 18px rgba(0, 240, 255, 0.08) !important;
}

.s8 .outcome-card.card-purple {
    box-shadow:
        inset 0 0 28px rgba(138, 63, 252, 0.055),
        0 4px 18px rgba(138, 63, 252, 0.08) !important;
}

.s8 .outcome-card.card-pink {
    box-shadow:
        inset 0 0 28px rgba(224, 32, 92, 0.055),
        0 4px 18px rgba(224, 32, 92, 0.08) !important;
}
/* =========================================================
   OUTCOME ICON — MILD HALO
   ========================================================= */

.s8 .outcome-card.card-cyan .card-icon-badge {
    box-shadow:
        0 0 10px rgba(0, 240, 255, 0.22),
        inset 0 0 8px rgba(0, 240, 255, 0.05) !important;
}

.s8 .outcome-card.card-purple .card-icon-badge {
    box-shadow:
        0 0 10px rgba(138, 63, 252, 0.22),
        inset 0 0 8px rgba(138, 63, 252, 0.05) !important;
}

.s8 .outcome-card.card-pink .card-icon-badge {
    box-shadow:
        0 0 10px rgba(224, 32, 92, 0.22),
        inset 0 0 8px rgba(224, 32, 92, 0.05) !important;
}
/* =========================================================
   OUTCOME CARD CONNECTORS — MILD GLOW
   ========================================================= */

.s8 .card-connector {
    box-shadow: none !important;
    filter: drop-shadow(0 0 4px currentColor) !important;
}

.s8 .card-connector i {
    box-shadow:
        0 0 5px currentColor !important;
}
/* =========================================================
   SECTION 08 — OUTCOME CARD CONNECTORS
   CONNECT DIRECTLY TO CARD EDGES
   ========================================================= */

.s8 .outcome-cards {
    gap: 0 !important;
}

.s8 .card-connector {
    flex: 0 0 28px !important;
    width: 28px !important;
    height: 1px !important;
    align-self: center !important;
    position: relative !important;
}

.s8 .card-connector i {
    top: 50% !important;
    left: 50% !important;
}

/* =========================================================
   SECTION 08 — MOBILE COLUMN STACK
   Desktop remains a true three-column composition:
   story | thinking-system spine | layer cards.
   On narrow screens, present those columns in that order.
   ========================================================= */
@media (max-width: 760px) {
  /* Remove the decorative 01–09 section index strip. */
  .s8 > .s8-index {
    display: none !important;
  }

  .s8 {
    padding: 0 16px 32px !important;
    overflow: hidden !important;
  }

  .s8-main {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 28px !important;
    width: 100% !important;
    max-width: 680px !important;
    margin: 0 auto !important;
    padding: 28px 0 0 !important;
  }

  .s8-story,
  .s8-spine,
  .s8-layers {
    position: relative !important;
    inset: auto !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    transform: none !important;
    margin: 0 !important;
    justify-self: stretch !important;
  }

  .s8-story {
    order: 1 !important;
    padding: 22px 20px !important;
    border: 1px solid rgba(102,129,163,.22) !important;
    border-radius: 14px !important;
    background: linear-gradient(145deg, rgba(7,15,26,.88), rgba(4,10,18,.72)) !important;
    box-sizing: border-box !important;
  }

  .s8-story h1 {
    font-size: clamp(38px, 10.5vw, 48px) !important;
    line-height: 1.04 !important;
    overflow-wrap: normal !important;
  }

  .s8-story h2 {
    margin: 24px 0 12px !important;
    font-size: clamp(17px, 4.8vw, 20px) !important;
    line-height: 1.4 !important;
  }

  .s8-description {
    max-width: none !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
  }

  .s8-difference {
    width: 100% !important;
    max-width: none !important;
    margin-top: 24px !important;
    padding: 20px !important;
    box-sizing: border-box !important;
  }

  .s8-spine {
    order: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 8px 0 18px !important;
    overflow: visible !important;
  }

  .s8-spine .spine-line {
    top: 24px !important;
    bottom: 42px !important;
  }

  .s8-spine .diamond {
    width: min(250px, 78vw) !important;
    height: 88px !important;
    flex: 0 0 88px !important;
    margin: -10px 0 0 !important;
    transform: none !important;
  }

  .s8-spine .diamond:first-of-type {
    margin-top: 0 !important;
  }

  .s8-layers {
    order: 3 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  .s8 .layer {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .s8 .layer summary {
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr) 18px !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 68px !important;
    padding: 10px 14px !important;
  }

  .s8 .layer-no {
    font-size: 15px !important;
  }

  .s8 .layer-name {
    display: block !important;
    min-width: 0 !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere !important;
  }

  .s8 .layer-question {
    grid-column: 2 !important;
    margin: 3px 0 0 !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
  }

  .s8 .layer-toggle {
    grid-column: 3 !important;
    grid-row: 1 / span 2 !important;
  }

  .s8 .layer-content {
    display: block !important;
    margin: 0 !important;
    padding: 12px 16px 18px 60px !important;
  }

  .s8 .layer-content p {
    font-size: 13px !important;
    line-height: 1.65 !important;
  }

  .s8-outcomes-wrapper {
    width: 100% !important;
    max-width: 680px !important;
    margin: 30px auto 24px !important;
  }
}

@media (max-width: 380px) {
  .s8 {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .s8-story {
    padding: 18px 16px !important;
  }
  .s8-spine .diamond {
    width: min(230px, 76vw) !important;
  }
}


/* =========================================================
   SECTION 08 — OUTCOME CARDS: MOBILE VERTICAL ORDER
   Keep the desktop three-card row; stack cards 1, 2, 3
   vertically on narrow screens and hide row connectors.
   ========================================================= */
@media (max-width: 760px) {
  .s8-outcomes-wrapper .outcome-panel {
    width: 100% !important;
    max-width: 100% !important;
    padding: 22px 16px 28px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .s8-outcomes-wrapper .outcome-cards {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .s8-outcomes-wrapper .outcome-card {
    display: block !important;
    order: initial !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 24px 18px !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  .s8-outcomes-wrapper .card-connector {
    display: none !important;
  }

  .s8-outcomes-wrapper .outcome-card h4 {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  .s8-outcomes-wrapper .convergence-circuit {
    display: none !important;
  }
}


/* =========================================================
   SECTION 08 — MOBILE JOURNEY WIDTH ALIGNMENT
   Match the Journey card to the Outcomes card above it.
   Desktop sizing is intentionally untouched.
   ========================================================= */
@media (max-width: 760px) {
  .s8 .s8-journey {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 30px auto 24px !important;
    box-sizing: border-box !important;
  }
}
