body.intro-active { overflow-x: hidden; }
body.intro-active > .screen { display: none; }

#intro-stage {
  --ink: #223c35;
  --tone: #68be8a;
  --wash: #e3f1e7;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: max(100svh, 760px);
  overflow: hidden;
  color: var(--ink);
  isolation: isolate;
  background: radial-gradient(ellipse at 50% 66%, color-mix(in srgb, var(--wash) 75%, white), transparent 55%), #f6f5f0;
}
.intro-grain { position: absolute; inset: 0; z-index: -1; opacity: .18; background-image: linear-gradient(rgba(34,60,53,.08) 1px, transparent 1px); background-size: 100% 80px; mask-image: linear-gradient(transparent, black); pointer-events: none; }
.topline { align-self: stretch; display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 1.7rem clamp(22px, 4vw, 64px) 0; font-size: 11px; font-weight: 600; letter-spacing: .12em; }
.topline .brand { display: flex; align-items: center; gap: 10px; }
.topline .brand::before { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); content: ""; }
.topline span:last-child { color: #76817a; text-transform: none; font-size: 10px; }

#intro-stage .intro-copy { position: relative; z-index: 3; width: min(90%, 720px); margin-top: clamp(2rem, 5vh, 3.5rem); text-align: center; }
.intro-eyebrow { margin: 0 0 1rem; color: #667d72; font-size: 10px; font-weight: 600; letter-spacing: .22em; }
#intro-stage .intro-copy h1 { margin: 0; font-size: clamp(34px, 4.5vw, 58px); line-height: 1.18; letter-spacing: -.04em; }
#intro-stage .intro-copy h1 span { display: block; color: #647b6f; font-weight: 500; }
#intro-stage .intro-copy > p:last-child { margin: 1rem auto 0; color: #65726a; font-size: 14px; line-height: 1.7; }

.career-overview { position: relative; z-index: 3; display: grid; justify-items: center; gap: 12px; width: min(calc(100% - 44px), 580px); margin: 1.6rem 0 0; text-align: center; }
#career-label { display: inline-flex; align-items: center; gap: 9px; min-height: 32px; max-width: 100%; padding: 6px 14px; border: 1px solid #d8e1d8; border-radius: 999px; color: #385c4c; background: rgba(255,255,255,.8); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
#career-label::before { width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--tone); content: ""; }
#career-preview { min-height: 3.4em; margin: 0; color: #627268; font-size: 14px; line-height: 1.7; text-wrap: pretty; }

.orbit-scene { --radius: min(43vw, 560px); position: relative; z-index: 2; flex: 1; width: min(96vw, 1440px); min-height: 400px; perspective: 1600px; touch-action: pan-y; user-select: none; }
.orbit-scene.is-draggable { cursor: grab; }
.orbit-scene.is-draggable:active { cursor: grabbing; }
.orbit { position: absolute; top: 50%; left: 50%; width: 1px; height: 1px; transform-style: preserve-3d; }
.orbit-card { position: absolute; top: 0; left: 0; width: clamp(88px, 10vw, 176px); aspect-ratio: .78; opacity: 1; transform: translate(-50%, -50%) rotateY(var(--angle)) translateZ(var(--radius)); transform-style: preserve-3d; }
.card-face { position: absolute; inset: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.9); border-radius: 18px; background: white; box-shadow: 0 18px 36px rgba(35,54,44,.09); backface-visibility: hidden; }
.orbit-card img { width: 100%; height: 100%; object-fit: contain; object-position: center; -webkit-user-drag: none; }
.orbit-card.is-selected .card-face { border-color: color-mix(in srgb, var(--tone) 50%, white); box-shadow: 0 20px 44px rgba(35,54,44,.13); }
#intro-stage[data-state="interactive"] .orbit-card:not(.is-nearby) { opacity: 0; pointer-events: none; }
.orbit-floor { display: none; }
.career-decor { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.career-decor span { position: absolute; top: 51%; left: 8%; display: grid; place-items: center; width: 48px; aspect-ratio: 1; font-size: 25px; color: var(--ink); opacity: .10; }
.career-decor span:nth-child(2) { top: 46%; left: auto; right: 8%; }
.career-decor span:nth-child(3) { top: 54%; left: 14%; }
.career-decor span:nth-child(4) { top: 64%; left: auto; right: 13%; }
.career-decor span:nth-child(5) { top: 77%; left: 7%; }

.intro-controls { position: relative; z-index: 6; display: flex; align-items: center; gap: 14px; margin: 1.25rem 0 2rem; }
.intro-controls #enter-test { display: grid; place-items: center; width: min(52vw, 220px); min-height: 48px; padding: 0 22px; border-radius: 12px; color: white; background: var(--ink); }
.intro-controls .orbit-step { display: grid; place-items: center; width: 44px; min-height: 44px; padding: 0; border: 1px solid #d5ded4; border-radius: 50%; color: var(--ink); background: rgba(255,255,255,.6); font-size: 20px; }
.intro-progress { position: absolute; left: clamp(22px, 4vw, 64px); bottom: 2.9rem; color: #76817a; font-size: 10px; letter-spacing: .06em; }

@media (max-width: 640px) {
  #intro-stage { min-height: 100svh; justify-content: space-between; background: radial-gradient(ellipse at 50% 46%, var(--wash), transparent 58%), #f6f5f0; }
  .topline { margin-top: 1.25rem; font-size: 10px; letter-spacing: .04em; }
  .topline span:last-child { font-size: 8px; }
  #intro-stage .intro-copy { order: 1; width: calc(100% - 40px); margin-top: clamp(24px, 4svh, 36px); }
  .intro-eyebrow { display: none; }
  #intro-stage .intro-copy h1 { font-size: clamp(30px, 8.4vw, 38px); line-height: 1.2; }
  #intro-stage .intro-copy > p:last-child { max-width: 320px; margin-top: .75rem; font-size: 13px; }
  .career-overview { order: 3; width: min(calc(100% - 48px), 360px); margin-top: 0; gap: 10px; }
  #career-label { padding: 7px 16px; font-size: 13px; background: rgba(255,255,255,.85); }
  #career-preview { min-height: 3.4em; font-size: 13px; line-height: 1.75; }
  .orbit-scene { order: 2; display: flex; align-items: center; flex: 1 0 auto; width: 100%; min-height: clamp(280px, 78vw, 352px); max-height: 400px; margin: 14px 0 8px; perspective: none; }
  .orbit { position: static; display: flex; justify-content: center; width: 100%; height: auto; transform: none !important; transform-style: flat; will-change: auto; }
  .orbit-card { display: none; position: relative; inset: auto; flex: none; width: min(64vw, 264px); opacity: 1; transform: none; transform-style: flat; transition: none; }
  .orbit-card.is-selected { display: block; }
  .card-face { border-radius: 28px; background: linear-gradient(145deg, #fffefa, color-mix(in srgb, var(--tone) 14%, white) 58%, color-mix(in srgb, var(--tone) 30%, white)); box-shadow: 0 16px 30px rgba(35,54,44,.08); }
  .orbit-card img { mix-blend-mode: multiply; }
  .career-decor { display: none; }
  .intro-grain { opacity: .08; }
  .intro-progress { display: none; }
  .intro-controls { order: 4; margin: 1.2rem 0 max(24px, env(safe-area-inset-bottom)); gap: 12px; }
  .intro-controls #enter-test { width: min(56vw, 240px); min-height: 52px; border-radius: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  #intro-stage *, #intro-stage *::before, #intro-stage *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.intro-directory-link { order: 5; width: auto; min-height: 40px; margin: 0 0 1rem; padding: .4rem .9rem; font-size: .85rem; color: var(--ink); background: rgba(255,255,255,.7); }
.intro-controls { margin-bottom: .65rem; }

@media (min-width: 641px) and (max-height: 800px) {
  #intro-stage { min-height: 100svh; }
  .topline { margin-top: 1rem; }
  #intro-stage .intro-copy { margin-top: 1.25rem; }
  .intro-eyebrow { margin-bottom: .5rem; }
  #intro-stage .intro-copy h1 { font-size: clamp(32px, 5.5svh, 44px); }
  #intro-stage .intro-copy > p:last-child { margin-top: .6rem; }
  .career-overview { margin-top: 1rem; gap: 8px; }
  #career-preview { min-height: 0; }
  .orbit-scene { min-height: clamp(280px, 42svh, 336px); }
  .orbit { top: 40%; }
}
