/* ORBIT-X Exploration — My Projects (MVP). Reuses tokens from css/style.css. */
.exploration-page {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 56px 24px 40px; background: var(--paper); color: var(--ink);
}
.exploration-container { position: relative; z-index: 1; width: 100%; max-width: 1120px; margin-inline: auto; }
.exp-deco { position: absolute; z-index: 0; pointer-events: none; }
.exp-web { top: 0; width: clamp(100px, 12vw, 170px); height: auto; opacity: .68; }
.exp-web-left { left: 0; }
.exp-web-right { right: 0; transform: scaleX(-1); }
.exp-spider { top: 0; left: 19%; width: 32px; }
.exp-spider-swing { position: relative; display: block; padding-top: 64px; transform-origin: 50% 0; animation: exp-sway 5.5s ease-in-out 1.2s infinite; }
.exp-spider-swing::before { content: ""; position: absolute; top: 0; left: 50%; width: 1.5px; height: 100%; background: linear-gradient(#c3aee6, #a98fd4); transform: translateX(-50%); }
.exp-spider-swing img { display: block; width: 100%; height: auto; filter: drop-shadow(0 3px 5px rgba(101,72,163,.2)); }
.exp-ghost { top: 520px; right: 1%; width: clamp(100px, 12vw, 156px); height: auto; animation: exp-float 6.5s ease-in-out .6s infinite; filter: drop-shadow(0 10px 18px rgba(101,72,163,.18)); }
.exp-bat { width: clamp(64px, 7vw, 96px); }
.exp-bat img { display: block; width: 100%; height: auto; }
.exp-bat-left { top: 820px; left: 1.5%; animation: exp-float 5.4s ease-in-out -.8s infinite; }
.exp-bat-right { top: 470px; right: 1.5%; animation: exp-float 6s ease-in-out -2.5s infinite; }
.exp-sparkle { width: clamp(20px, 3vw, 32px); animation: exp-twinkle 3s ease-in-out infinite; }
.exp-sparkle img { display: block; width: 100%; height: auto; }
.exp-sparkle-one { top: 90px; left: 32%; }
.exp-sparkle-two { top: 210px; right: 14%; animation-delay: 1.2s; }
.exp-pumpkin { bottom: 100px; left: 1%; width: clamp(78px, 9vw, 118px); height: auto; animation: exp-float 7s ease-in-out 1.8s infinite; filter: drop-shadow(0 6px 10px rgba(102,75,131,.12)); }
.exp-heading { text-align: center; margin: 0 auto 44px; max-width: 720px; }
.exp-heading .section-kicker { margin: 0 0 8px; color: #9774cf; font-size: 13px; font-weight: 900; letter-spacing: 3px; }
.exp-heading h1 { margin: 0 0 12px; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.05; letter-spacing: -1.8px; }
.exp-heading h1 .accent { background: linear-gradient(100deg, #9b7de0 8%, #7651b7 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.exp-subtitle { margin: 0 auto; max-width: 560px; color: var(--muted); font-size: clamp(15px, 1.7vw, 19px); font-weight: 600; line-height: 1.6; }
.projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.project-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 2px solid rgba(130, 104, 170, 0.55); border-top: 7px solid var(--purple); border-radius: 26px; box-shadow: 0 14px 34px var(--shadow-soft); transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
.project-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px var(--shadow-strong); border-color: rgba(152, 113, 221, 0.8); }
.project-card:focus-within { outline: 3px solid rgba(152,113,221,.5); outline-offset: 3px; }
.project-halloween { border-top-color: #f0a35e; }
.project-dream { border-top-color: #8d65cf; }
.project-ghost { border-top-color: #6fb3e0; }
.project-visual { position: relative; display: grid; place-items: center; min-height: 220px; padding: 26px 22px 18px; overflow: hidden; }
.project-halloween .project-visual { background: linear-gradient(135deg, #FFF3D1 0%, #FFE2D2 60%, #FFDCE8 100%); }
.project-dream .project-visual { background: linear-gradient(135deg, #F0E9FF 0%, #D5D9FF 55%, #CFE2FF 100%); }
.project-ghost .project-visual { background: linear-gradient(135deg, #E4EEFF 0%, #F0E9FF 60%, #FFF8F2 100%); }
.project-halo { position: absolute; width: 170px; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.65); }
.project-halloween .project-halo { background: radial-gradient(circle, #FFE8A3 0%, rgba(255,232,163,0) 70%); width: 210px; }
.project-dream .project-halo { background: radial-gradient(circle, #fff 0%, rgba(220,207,255,0) 70%); width: 230px; }
.project-ghost .project-halo { background: radial-gradient(circle, #fff 0%, rgba(207,226,255,0) 70%); width: 210px; }
.project-image { position: relative; z-index: 1; width: 100%; max-width: 240px; height: 170px; object-fit: contain; object-position: center; filter: drop-shadow(0 10px 14px rgba(57,38,81,.16)); transition: transform 240ms ease; }
.project-card:hover .project-image { transform: scale(1.05) rotate(-1deg); }
.project-visual .mini { position: absolute; z-index: 2; width: 30px; height: 30px; animation: exp-twinkle 3s ease-in-out infinite; }
.mini-one { top: 16px; right: 18px; }
.mini-two { bottom: 18px; left: 18px; animation-delay: 1.4s; width: 24px; height: 24px; }
.project-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.project-meta { display: flex; align-items: center; gap: 10px; }
.project-no { display: grid; place-items: center; min-width: 44px; height: 30px; padding: 0 10px; color: #fff; font-size: 13px; font-weight: 900; letter-spacing: 1px; background: linear-gradient(110deg, #a27ee5, #8d65cf); border-radius: 999px; }
.project-halloween .project-no { background: linear-gradient(110deg, #f2a65a, #d97a2b); }
.project-ghost .project-no { background: linear-gradient(110deg, #6fb3e0, #4a7fb5); }
.project-tag { font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--purple-deep); background: var(--paper-mist); padding: 6px 12px; border-radius: 999px; }
.project-body h2 { margin: 2px 0 0; font-size: 24px; letter-spacing: -.6px; line-height: 1.15; }
.project-body > p { margin: 0; color: var(--muted); font-size: 15.5px; font-weight: 600; line-height: 1.65; }
.project-points { margin: 2px 0 4px; padding-left: 19px; color: var(--ink-soft); font-size: 14px; font-weight: 600; line-height: 1.6; }
.project-points li { margin-bottom: 4px; }
.project-points li::marker { color: var(--purple-strong); }
.project-action { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 10px 18px; font-size: 14px; font-weight: 800; color: var(--ink); border: 1.5px solid var(--line); border-radius: 999px; background: rgba(245,239,255,.6); transition: background 180ms ease, transform 180ms ease; }
.project-card:hover .project-action { background: #fff; transform: translateX(2px); }
.exp-ending { margin-top: 40px; position: relative; overflow: hidden; text-align: center; padding: 44px 24px 36px; border-radius: 26px; background: linear-gradient(115deg, #FFE2D2, #FFC9C9, #FFDCE8); }
.exp-ending h2 { margin: 0 0 8px; font-size: clamp(20px, 2.8vw, 30px); letter-spacing: -.6px; }
.exp-ending p { margin: 0 0 18px; color: #5b4a5e; font-weight: 600; }
.back-home-button { display: inline-flex; align-items: center; gap: 8px; padding: 11px 23px; min-height: 42px; border-radius: 999px; border: 1.5px solid #39364F; background: rgba(255,248,242,.75); color: #39364F; text-decoration: none; font-size: 14px; font-weight: 700; transition: background 180ms ease, transform 180ms ease; }
.back-home-button:hover { background: #fff; transform: translateY(-2px); }
@supports (animation-timeline: view()) { .exp-heading, .project-card, .exp-ending { animation: exp-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; } }
@keyframes exp-rise { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
@keyframes exp-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes exp-twinkle { 0%,100% { opacity: .65; scale: .92; rotate: 0deg; } 50% { opacity: 1; scale: 1.08; rotate: 12deg; } }
@keyframes exp-sway { 0%,100% { rotate: -1.4deg; } 50% { rotate: 1.4deg; } }
@media (max-width: 960px) { .projects-grid { grid-template-columns: minmax(0, 560px); justify-content: center; } .exp-ghost { width: 112px; top: 500px; } .exp-bat { width: 62px; } .exp-bat-left { top: 820px; } .exp-bat-right { top: 650px; } .exp-pumpkin { width: 82px; } }
@media (max-width: 560px) { .exploration-page { padding: 40px 14px 28px; } .exp-web { width: 68px; } .exp-spider { left: 18%; width: 23px; } .exp-spider-swing { padding-top: 52px; } .exp-ghost { width: 76px; top: 490px; right: 0; } .exp-bat { width: 42px; } .exp-bat-left { top: 820px; left: 0; } .exp-bat-right { top: 980px; right: 0; } .exp-pumpkin { display: block; width: 62px; bottom: 36px; left: 0; } .project-body h2 { font-size: 21px; } .project-body > p { font-size: 14.5px; } }
@media (prefers-reduced-motion: reduce) { .exploration-page *, .exploration-page *::before, .exploration-page *::after { animation: none !important; transition: none !important; } .project-card:hover, .project-card:hover .project-image, .back-home-button:hover { transform: none !important; } }

.project-deco, .story-deco { position: absolute; z-index: 3; width: clamp(38px, 5vw, 52px); height: auto; pointer-events: none; filter: drop-shadow(0 4px 8px rgba(57,38,81,.2)); animation: exp-float 6s ease-in-out infinite; }
.project-deco-pumpkin { left: 10px; bottom: 8px; }
.project-deco-bat { right: 12px; bottom: 8px; width: clamp(44px, 5.5vw, 64px); animation-delay: -.9s; }
.project-deco-ghost { right: 10px; bottom: 8px; }
.project-deco-web { top: 0; left: 0; width: clamp(54px, 7vw, 76px); opacity: .68; filter: none; animation: none; }
.story-deco-pumpkin { right: 12px; bottom: 10px; }
.story-deco-bat { left: 12px; bottom: 10px; width: clamp(42px, 5vw, 56px); animation-delay: -1.2s; }
.story-deco-ghost { right: 12px; bottom: 10px; }
.story-deco-web { top: 0; left: 0; width: clamp(54px, 7vw, 76px); opacity: .68; filter: none; animation: none; }

@media (max-width: 560px) {
  .project-deco, .story-deco { width: 38px; }
  .project-deco-bat, .story-deco-bat { width: 44px; }
  .project-deco-web, .story-deco-web { width: 56px; }
}


/* ==============================
   FOOTER
============================== */

.about-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 100px;
  padding: 18px max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid rgba(130, 104, 170, 0.16);
  background: rgba(255, 250, 245, 0.82);
}

.about-footer .brand {
  gap: 8px;
}

.about-footer .brand-planet {
  width: 55px;
}

.about-footer .brand span {
  font-size: 1.2rem;
}

.about-footer p {
  margin-bottom: 0;
  color: #777187;
  font-size: 0.82rem;
  font-weight: 700;
}

.about-footer > a:last-child {
  color: #73618f;
  font-size: 0.78rem;
  font-weight: 900;
}

@media (max-width: 768px) {
  .about-footer {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    padding: 21px 16px;
    text-align: center;
  }

  .about-footer .brand {
    width: 100%;
    justify-content: center;
  }

  .about-footer > a:last-child {
    min-height: 38px;
    padding: 8px;
  }
}