:root {
  --exp-bg: #06040f;
  --exp-panel: rgba(24, 13, 45, 0.92);
  --exp-border: rgba(255, 94, 0, 0.25);
  --exp-text: rgb(255, 232, 188);
  --exp-muted: rgba(255, 232, 188, 0.72);
  --exp-highlight: rgb(255, 94, 0);
}

.experience-page {
  position: relative;
  min-height: 100vh;
  padding: 8rem 10vw 5rem;
  margin-top: -70px;
 
}

.experience-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(255, 94, 0, 0.06), transparent 46%);
}

.exp-intro {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 10rem;
}

.exp-intro .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.2rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--exp-highlight);
}

.exp-intro .eyebrow span {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--exp-highlight);
  box-shadow: 0 0 20px rgba(255, 94, 0, 0.5);
}

.exp-intro h1 {
  font-size: clamp(3rem, 4vw, 5rem);
  margin: 1.5rem 0 1rem;
  color: var(--exp-text);
  text-shadow: 0 0 30px rgba(255, 94, 0, 0.2);
}

.exp-intro p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--exp-muted);
  font-size: 1.55rem;
  line-height: 1.9;
}

.exp-purpose {
  margin: 3rem auto 0;
  width: min(100%, 1180px);
  display: block;
}

.exp-purpose .purpose-text {
  background: transparent;
  border: 2px solid rgba(252, 150, 91, 0.7);;
  border-radius: 32px;
  padding: 3rem 2.5rem;
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.exp-purpose .purpose-text:hover {
  background: transparent;
  transform: translateY(-5px);
  box-shadow: 0 36px 130px rgba(0, 0, 0, 0.18);
  border:4px solid rgba(255, 94, 0, 0.7);
}

.purpose-text h2 {
  font-size: clamp(2.4rem, 3vw, 3.4rem);
  text-align: center;
  margin-bottom: 1.5rem;
  color: rgb(255, 94, 0);


}

.purpose-text p {
  font-size: 1.4rem;
  text-align: center;
  line-height: 2.1;
}

.experience-layout {
  display: grid;
  grid-template-columns: minmax(340px, 1fr) minmax(560px, 2fr);
  gap: 2rem;
  align-items: start;

}

.brain-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}



.exp-purpose .purpose-text,
.exp-purpose .purpose-card {
  background: transparent;
  border: 2px solid rgba(255, 94, 0, 0.45);
  border-radius: 28px;
  padding: 2.3rem;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.15);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.exp-purpose .purpose-text:hover,
.exp-purpose .purpose-card:hover {
  border-color: rgba(255, 94, 0, 0.8);
  box-shadow: 0 32px 110px rgba(0, 0, 0, 0.18);
  transform: translateY(-4px);
}

.purpose-text h2,
.purpose-card h2 {
  font-size: 2.1rem;
  margin-bottom: 1rem;
  color: var(--exp-text);
}

.purpose-text p,
.purpose-card p {
  color: var(--exp-muted);
  font-size: 1.25rem;
  line-height: 1.9;
  margin-bottom: 1.4rem;
}

.purpose-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.95rem;
}

.purpose-card li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  color: var(--exp-text);
}

.purpose-card li::before {
  content: "";
  margin-top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--exp-highlight);
  box-shadow: 0 0 16px rgba(255, 94, 0, 0.35);
}

.skill-network {
  position: relative;
  margin: 3rem auto 0;
  max-width: 1100px;
  padding: 3rem;
  background: rgba(18, 11, 33, 0.95);
  border: 1px solid rgba(255, 94, 0, 0.12);
  border-radius: 36px;
  box-shadow: 0 35px 120px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.network-line {
  position: absolute;
  width: 4px;
  background: linear-gradient(180deg, rgba(255, 94, 0, 0), rgba(255, 94, 0, 0.9));
  opacity: 0.85;
  animation: glowLine 4s ease-in-out infinite alternate;
}

.network-line.line1 { top: 18%; left: 50%; height: 180px; transform: translateX(-50%); }
.network-line.line2 { top: 35%; left: 20%; height: 180px; transform: rotate(22deg); transform-origin: top; }
.network-line.line3 { top: 35%; right: 20%; height: 180px; transform: rotate(-22deg); transform-origin: top; }
.network-line.line4 { bottom: 28%; left: 20%; height: 180px; transform: rotate(-38deg); transform-origin: top; }
.network-line.line5 { bottom: 28%; right: 20%; height: 180px; transform: rotate(38deg); transform-origin: top; }

@keyframes glowLine {
  from { opacity: 0.6; transform: scaleY(0.98); }
  to { opacity: 1; transform: scaleY(1.02); }
}

.goal-node {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 260px;
  height: 260px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at top left, rgba(255, 94, 0, 0.95), rgba(255, 180, 90, 0.2));
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: 0 0 50px rgba(255, 94, 0, 0.28), inset 0 0 40px rgba(255, 255, 255, 0.08);
}

.goal-node h3 {
  font-size: 1.7rem;
  color: #070513;
  margin-bottom: 1rem;
}

.goal-node .goal-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  border: 2px solid rgba(7, 5, 19, 0.12);
  background: #fff;
  color: #070513;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.goal-node .goal-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.22);
}

.skill-node {
  position: absolute;
  width: 240px;
  padding: 1.7rem 1.6rem;
  border-radius: 28px;
  background: rgba(12, 7, 22, 0.97);
  border: 1px solid rgba(255, 94, 0, 0.14);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  animation: drift 9s ease-in-out infinite alternate;
}

.skill-node:hover {
  transform: translateY(-10px);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.6);
}

.skill-node h4 {
  margin: 0 0 0.9rem;
  color: var(--exp-text);
  font-size: 1.4rem;
}

.skill-node p {
  margin: 0;
  color: var(--exp-muted);
  font-size: 1.2rem;
  line-height: 1.8;
}

.skill-node ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.skill-node li {
  font-size: 0.98rem;
  color: var(--exp-text);
  display: flex;
  gap: 0.7rem;
}

.skill-node li::before {
  content: "•";
  color: var(--exp-highlight);
}

.node-micalwisher { top: 5%; left: 8%; }
.node-eastbridge { top: 10%; right: 8%; }
.node-offtowork { bottom: 20%; left: 10%; }
.node-compass { bottom: 20%; right: 10%; }
.node-fiverr { right: 44%; bottom: 8%; }

@keyframes drift {
  from { transform: translateY(0); }
  to { transform: translateY(-12px); }
}

.experience-layout {
  display: grid;
  grid-template-columns: minmax(340px, 1fr) minmax(560px, 2fr);
  gap: 2rem;
  align-items: start;
  margin-top: 1.5rem;
}

.brain-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}



.agency-summary {
  margin: 1.6rem 0 0;
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  padding-top: 1rem;
}

.edu-card {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.04);
  border-left: 6px solid transparent;
  border-radius: 32px;
  padding: 2.2rem;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.15);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  transform-style: preserve-3d;
  overflow: hidden;
}

.edu-card:hover {
  transform: translateY(-12px) rotateX(4deg) rotateY(-3deg);
  border-color: rgba(255, 94, 0, 0.7);
  border-left-color: var(--exp-highlight);
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.6), 0 0 50px rgba(255, 94, 0, 0.22);
}

.edu-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 35%);
  pointer-events: none;
}

.edu-card img {
  transition: transform 0.45s ease;
}

.edu-card:hover img {
  transform: scale(1.05) rotate(-0.2deg);
}

.edu-card h4 {
  margin: 0 0 0.75rem;
  color: var(--exp-text);
  font-size: 1.8rem;
}

.edu-card .edu-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: var(--exp-highlight);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.edu-card .edu-meta span {
  background: rgba(255, 255, 255, 0.03);
  color: var(--exp-text);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255,94,0,0.08);
}

.edu-card p {
  color: var(--exp-text);
  font-size: 1.18rem;
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

.skill-chip {
  cursor: grab;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.agency-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;              
  width: 100%;                 
  max-width: 100%;
  margin: 10rem auto 3rem;
  color: var(--exp-highlight);
  font-size: clamp(1.2rem, 3vw, 1.8rem);  
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  position: relative;
}

.agency-heading::before,
.agency-heading::after {
  content: "";
  display: block;
  width: 4rem;
  height: 1px;
  background: rgba(255, 94, 0, 0.45);
}

.agency-heading::before {
  margin-right: 5rem;
}

.agency-heading::after {
  margin-left: 5rem;
}

.agency-heading span {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--exp-highlight);
  box-shadow: 0 0 20px rgba(255, 94, 0, 0.45);
}

.agency-headingpara {
  max-width: 600px;
  margin: 1.5rem auto 0;
  color: var(--exp-muted);
  font-size: 1.25rem;
  line-height: 1.1;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 5rem;
  margin-top: -2rem;
}

.edu-card .skill-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.edu-card .skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.edu-card .skill-list li {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  background: var(--chip-color, rgba(255, 94, 0, 0.16));
  color: #111;
  font-weight: 700;
  cursor: grab;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.edu-card .skill-list li:hover {
  transform: translateY(-2px) scale(1.12);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
  background: var(--chip-color, rgba(255, 94, 0, 0.16));
}

.edu-card .skill-list li.dragging {
  opacity: 1;
  transform: translateY(-4px) scale(1.18);
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.4);
  background: var(--chip-color, rgba(255, 94, 0, 0.16));
  z-index: 1000;
}

.edu-card .skill-list li.skill-eaten {
  transform: scale(1.08);
  box-shadow: 0 0 26px rgba(255, 255, 255, 0.32);
}

.brain-zone {
  position: sticky;
  top: 6rem;
  margin: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.brain-shell {
  position: relative;
  width: 280px;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  --brain-x: 0px;
  --brain-y: 0px;
  --brain-scale: 1;
  transform: translate(var(--brain-x), var(--brain-y)) scale(var(--brain-scale));
  transition: transform 0.12s ease;
}

.brain-shell.fixed {
  position: fixed;
  z-index: 999;
  /* top is set from JS to match `--brain-y` behaviour; keep transform disabled when fixed */
  transform: none !important;
}

.brain-shell.stuck {
  position: absolute;
  z-index: 2;
}

.brain-shell.brain-hover {
  --brain-scale: 1.08;
}

.brain-shell.brain-active {
  --brain-scale: 1.1;
}

.brain-core {
  text-align: center;
  color: #fff;
  z-index: 2;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.brain-eyes {
  position: absolute;
  top: 100px;
  left: 50%;
  width: 200px;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  z-index: 10;
  pointer-events: none;
}

.brain-eye {
  width: 70px;
  height: 70px;
  background: var(--brain-color, #ffffff);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5), 0 0 24px var(--brain-color, rgba(255, 255, 255, 0.35)), inset 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  --pupil-x: 0px;
  --pupil-y: 0px;
}

.brain-eye::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background: #000;
  border-radius: 50%;
  transition: transform 0.08s ease;
  transform: translate(var(--pupil-x), var(--pupil-y));
}

.brain-mouth {
  position: absolute;
  top: 160px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 60px;
  background: #ffffff;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  z-index: 11;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  box-shadow: inset 0 -8px 15px rgba(0, 0, 0, 0.3);
}

.brain-shell.brain-active .brain-mouth {
  opacity: 1;
  animation: brainSmile 0.6s ease-in-out;
}

@keyframes brainSmile {
  0% { transform: translateX(-50%) scaleY(0.3); opacity: 0; }
  50% { transform: translateX(-50%) scaleY(1.1); opacity: 1; }
  100% { transform: translateX(-50%) scaleY(1); opacity: 1; }
}

.brain-icon {
  position: relative;
  z-index: 2;
  display: block;
  width: 350px;
  height: 350px;
  object-fit: contain;
  filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.25));
  transition: filter 0.35s ease;
}

.brain-shell.brain-active .brain-icon {
    filter: drop-shadow(0 0 60px var(--brain-color, rgba(255, 255, 255, 0.35))) 
      brightness(1.8) 
      contrast(1.3)
      saturate(2.5);
}

.brain-status {
  display: block;
  font-size: 2.2rem;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  margin-top: -1rem;
}



.brain-glow {
  display: none;
}

* {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

@media (max-width: 768px) {

  /* =========================
     STOP ALL OVERFLOW
  ========================= */
  html, body {
    overflow-x: hidden;
  }

  .experience-page {
    padding: 6rem 1rem 4rem;
    overflow-x: hidden;
  }

  /* =========================
     FORCE SINGLE COLUMN LAYOUT
  ========================= */
  .experience-layout {
    display: flex ;
    flex-direction: column;
    gap: 2rem;
  }

  /* =========================
     ORDER CONTROL (THIS IS KEY)
  ========================= */

  .agency-heading {
    order: 1;
  }

  .agency-headingpara {
    order: 2;
  }

  .brain-column {
    order: 3;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .agency-summary {
    order: 4;
  }

  /* =========================
     🧠 BRAIN CENTER TOP (AFTER PARA)
  ========================= */
  .brain-zone {
    position: sticky;
    top: 5rem;
    display: flex;
    justify-content: center;
  }

  .brain-shell {
    width: 160px;
    transform: none ;
  }

  .brain-icon {
    width: 170px ;
    height: 170px ;
  }

  .brain-eyes {
    top: 55px;
    width: 100px;
  }

  .brain-eye {
    width: 38px;
    height: 38px;
  }

  .brain-mouth {
    top: 90px;
    width: 60px;
    height: 35px;
  }

  .brain-status {
    font-size: 0.9rem;
  }
 

  /* =========================
     🧩 SKILLS STACK FIX
  ========================= */
  .agency-summary {
    width: 100%;
    padding: 0;
  }

  .edu-card {
    width: 100%;
    box-sizing: border-box;
  }

  /* =========================
     FIX BIG HEADINGS
  ========================= */
  .agency-heading h2 {
    font-size: 1.3rem ;
    text-align: center;
  }

  .agency-headingpara {
    font-size: 0.95rem;
    line-height: 1.4;
    text-align: center;
  }
}